text: 
  
  TITLE
  Bump numpy from 1.19.2 to 1.21.0 in /examples/research_projects/visual_bert
  
  COMMENTS
  1
  
  REACTIONS
  +1: 0
  -1: 0
  laugh: 0
  hooray: 0
  heart: 0
  rocket: 0
  eyes: 0
  
  BODY
  Bumps [numpy](https://github.com/numpy/numpy) from 1.19.2 to 1.21.0.
  <details>
  <summary>Release notes</summary>
  <p><em>Sourced from <a href="https://github.com/numpy/numpy/releases">numpy's releases</a>.</em></p>
  <blockquote>
  <h2>v1.21.0</h2>
  <h1>NumPy 1.21.0 Release Notes</h1>
  <p>The NumPy 1.21.0 release highlights are</p>
  <ul>
  <li>continued SIMD work covering more functions and platforms,</li>
  <li>initial work on the new dtype infrastructure and casting,</li>
  <li>universal2 wheels for Python 3.8 and Python 3.9 on Mac,</li>
  <li>improved documentation,</li>
  <li>improved annotations,</li>
  <li>new <code>PCG64DXSM</code> bitgenerator for random numbers.</li>
  </ul>
  <p>In addition there are the usual large number of bug fixes and other
  improvements.</p>
  <p>The Python versions supported for this release are 3.7-3.9. Official
  support for Python 3.10 will be added when it is released.</p>
  <p>:warning:  Warning: there are unresolved problems compiling NumPy 1.21.0 with gcc-11.1 .</p>
  <ul>
  <li>Optimization level <code>-O3</code> results in many wrong warnings when running the tests.</li>
  <li>On some hardware NumPy will hang in an infinite loop.</li>
  </ul>
  <h2>New functions</h2>
  <h3>Add PCG64DXSM BitGenerator</h3>
  <p>Uses of the PCG64 BitGenerator in a massively-parallel context have
  been shown to have statistical weaknesses that were not apparent at the
  first release in numpy 1.17. Most users will never observe this weakness
  and are safe to continue to use PCG64. We have introduced a new
  PCG64DXSM BitGenerator that will eventually become the new default
  BitGenerator implementation used by <code>default_rng</code> in future releases.
  PCG64DXSM solves the statistical weakness while preserving the
  performance and the features of PCG64.</p>
  <p>See <code>upgrading-pcg64</code> for more details.</p>
  <p>(<a href="https://github-redirect.dependabot.com/numpy/numpy/pull/18906">gh-18906</a>)</p>
  <h2>Expired deprecations</h2>
  <ul>
  <li>The <code>shape</code> argument <code>numpy.unravel_index</code> cannot be
  passed as <code>dims</code> keyword argument anymore. (Was deprecated in NumPy
  1.16.)</li>
  </ul>
  <!-- raw HTML omitted -->
  </blockquote>
  <p>... (truncated)</p>
  </details>
  <details>
  <summary>Commits</summary>
  <ul>
  <li><a href="https://github.com/numpy/numpy/commit/b235f9e701e14ed6f6f6dcba885f7986a833743f"><code>b235f9e</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/numpy/numpy/issues/19283">#19283</a> from charris/prepare-1.21.0-release</li>
  <li><a href="https://github.com/numpy/numpy/commit/34aebc2824cf8c2bdbe19040b82f98f18557c8ba"><code>34aebc2</code></a> MAINT: Update 1.21.0-notes.rst</li>
  <li><a href="https://github.com/numpy/numpy/commit/493b64bfe9c5396498325b87e5e80e1917555c41"><code>493b64b</code></a> MAINT: Update 1.21.0-changelog.rst</li>
  <li><a href="https://github.com/numpy/numpy/commit/07d7e72ab6880c05b5fdd98482cf88982e778393"><code>07d7e72</code></a> MAINT: Remove accidentally created directory.</li>
  <li><a href="https://github.com/numpy/numpy/commit/032fca5e2e9749b152ec56153f476e05efdff287"><code>032fca5</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/numpy/numpy/issues/19280">#19280</a> from charris/backport-19277</li>
  <li><a href="https://github.com/numpy/numpy/commit/7d25b81025a50cc0368f5727c65e875ca769469a"><code>7d25b81</code></a> BUG: Fix refcount leak in ResultType</li>
  <li><a href="https://github.com/numpy/numpy/commit/fa5754e8c159a37fcd9345df261cf82821088ea0"><code>fa5754e</code></a> BUG: Add missing DECREF in new path</li>
  <li><a href="https://github.com/numpy/numpy/commit/61127bb4d46d523b699da1b63abaa5035670da27"><code>61127bb</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/numpy/numpy/issues/19268">#19268</a> from charris/backport-19264</li>
  <li><a href="https://github.com/numpy/numpy/commit/143d45fff3ed9e051bdeef7bdb4df38025ea7d1c"><code>143d45f</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/numpy/numpy/issues/19269">#19269</a> from charris/backport-19228</li>
  <li><a href="https://github.com/numpy/numpy/commit/d80e4738f781a1d206bbc04a2e863299e5f2e104"><code>d80e473</code></a> BUG: Removed typing for == and != in dtypes</li>
  <li>Additional commits viewable in <a href="https://github.com/numpy/numpy/compare/v1.19.2...v1.21.0">compare view</a></li>
  </ul>
  </details>
  <br />
  
  
  [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=numpy&package-manager=pip&previous-version=1.19.2&new-version=1.21.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
  
  Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
  
  [//]: # (dependabot-automerge-start)
  [//]: # (dependabot-automerge-end)
  
  ---
  
  <details>
  <summary>Dependabot commands and options</summary>
  <br />
  
  You can trigger Dependabot actions by commenting on this PR:
  - `@dependabot rebase` will rebase this PR
  - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
  - `@dependabot merge` will merge this PR after your CI passes on it
  - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
  - `@dependabot cancel merge` will cancel a previously requested merge and block automerging
  - `@dependabot reopen` will reopen this PR if it is closed
  - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
  - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
  - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
  - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
  
  You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/huggingface/transformers/network/alerts).
  
  </details>