NumPy 2.0.1 is a maintenance release that fixes bugs and regressions
discovered after the 2.0.0 release. NumPy 2.0.1 is the last planned
release in the 2.0.x series, 2.1.0rc1 should be out shortly.
The Python versions supported by this release are 3.9-3.12.
NOTE: Do not use the GitHub generated "Source code" files listed in the "Assets", they are garbage.
Improvements
np.quantile with method closest_observation chooses nearest even order statistic
This changes the definition of nearest for border cases from the nearest
odd order statistic to nearest even order statistic. The numpy
implementation now matches other reference implementations.
PyTorch 2.4: Python 3.12, AOTInductor freezing, libuv backend for TCPStore
PyTorch 2.4 Release Notes
Highlights
Tracked Regressions
Backward incompatible changes
Deprecations
New features
Improvements
Bug Fixes
Performance
Documentation
Developers
Security
Highlights
We are excited to announce the release of PyTorch® 2.4!
PyTorch 2.4 adds support for the latest version of Python (3.12) for torch.compile.
AOTInductor freezing gives developers running AOTInductor more performance based optimizations by allowing the
serialization of MKLDNN weights. As well, a new default TCPStore server backend utilizing libuv has been introduced
which should significantly reduce initialization times for users running large-scale jobs.
Finally, a new Python Custom Operator API makes it easier than before to integrate custom kernels
into PyTorch, especially for torch.compile.
This release is composed of 3661 commits and 475 contributors since PyTorch 2.3. We want to sincerely thank our
dedicated community for your contributions. As always, we encourage you to try these out and report any issues as we
improve 2.4. More information about how to get started with the PyTorch 2-series can be found at our
Getting Started page.
... (truncated)
Commits
d990dad [CMAKE] Look for Development.Module instead of Development (#129729)
e4ee3be [Release only] use triton 3.0.x from pypi (#130336)
9afe4ec Update torchbench model expected accuracy values after pinning numpy (#129986)
[ruff] Mark RUF023 fix as unsafe if __slots__ is not a set and the binding is used elsewhere (#12692)
Rule changes
[refurb] Add autofix for implicit-cwd (FURB177) (#12708)
[ruff] Add autofix for zip-instead-of-pairwise (RUF007) (#12663)
[tryceratops] Add BaseException to raise-vanilla-class rule (TRY002) (#12620)
Server
Ignore non-file workspace URL; Ruff will display a warning notification in this case (#12725)
CLI
Fix cache invalidation for nested pyproject.toml files (#12727)
Bug fixes
[flake8-async] Fix false positives with multiple async with items (ASYNC100) (#12643)
[flake8-bandit] Avoid false-positives for list concatenations in SQL construction (S608) (#12720)
[flake8-bugbear] Treat return as equivalent to break (B909) (#12646)
[flake8-comprehensions] Set comprehensions not a violation for sum in unnecessary-comprehension-in-call (C419) (#12691)
[flake8-simplify] Parenthesize conditions based on precedence when merging if arms (SIM114) (#12737)
[pydoclint] Try both 'Raises' section styles when convention is unspecified (DOC501) (#12649)
0.5.6
Ruff 0.5.6 automatically enables linting and formatting of notebooks in preview mode.
You can opt-out of this behavior by adding *.ipynb to the extend-exclude setting.
- Support for running ``-e <major>.<minor>`` has been lost, fixing it - by :user:`gaborbernat`. (:issue:`2849`)
- ``base_python`` now accepts absolute paths to interpreter executable - by :user:`paveldikov`. (:issue:`3191`)
v4.17.0 (2024-08-05)
Features - 4.17.0
Add graalpy prefix as a supported base python (:issue:3312)
Add :ref:on_platform core configuration holding the tox platform and do not install package when exec an environment
by :user:gaborbernat. (:issue:3315)
Bugfixes - 4.17.0
- Add table with default environment variables per OS (:issue:`2753`)
v4.16.0 (2024-07-02)
Bugfixes - 4.16.0
Add windir to the default list of Windows pass_env environment variables. - by :user:kurtmckee (:issue:3302)
Improved Documentation - 4.16.0
- - Fix typo in configuration example and fix broken link to code style guide. - by :user:`srenfo` (:issue:`3297`)
Fix section substitution with setenv. (:issue:3262)
Allow ConfigSet.add_config to receive parameterized generics for of_type. (:issue:3288)
v4.15.0 (2024-04-26)
Features - 4.15.0
- Add support for multiple appending override options (-x, --override) on command line - by :user:`amitschang`. (:issue:`3261`)
</tr></table>
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/tox-dev/tox/commit/352a3dd778fa9ecb1ddb339c37536a79fef1c121"><code>352a3dd</code></a> release 4.17.1</li>
<li><a href="https://github.com/tox-dev/tox/commit/fafce99fcb3d9943a10b219c16de299a82e8d491"><code>fafce99</code></a> fix(tox_env.python): do not process absolute paths to interpreter as PythonSp...</li>
<li><a href="https://github.com/tox-dev/tox/commit/fdc9eb0355f3f58ca700147dc15e4c6894595bdf"><code>fdc9eb0</code></a> Restore limited <major>.<minor> environment name support (<a href="https://redirect.github.com/tox-dev/tox/issues/3319">#3319</a>)</li>
<li><a href="https://github.com/tox-dev/tox/commit/2f7c60ec71d47f4099394af11999a840bc97c9a9"><code>2f7c60e</code></a> release 4.17.0</li>
<li><a href="https://github.com/tox-dev/tox/commit/5425133459e9c0194c536eac332c06178ac0700e"><code>5425133</code></a> Add on platform constat to core (<a href="https://redirect.github.com/tox-dev/tox/issues/3315">#3315</a>)</li>
<li><a href="https://github.com/tox-dev/tox/commit/2cf190ae5acc83488a9daef45e51cf964190e66d"><code>2cf190a</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/tox-dev/tox/issues/3306">#3306</a>)</li>
<li><a href="https://github.com/tox-dev/tox/commit/17435df3c962576f72a2548a5c00ec133e9161f9"><code>17435df</code></a> Add GraalPy and test both GraalPy and Jython env identifiers (<a href="https://redirect.github.com/tox-dev/tox/issues/3312">#3312</a>)</li>
<li><a href="https://github.com/tox-dev/tox/commit/e6b9803d77c352aaf38e9d69c6d99d5d773b0617"><code>e6b9803</code></a> Table with list of default env vars per OS (<a href="https://redirect.github.com/tox-dev/tox/issues/3291">#3291</a>)</li>
<li><a href="https://github.com/tox-dev/tox/commit/33f6c23a19e42b449ea8afbeff29060c997e2010"><code>33f6c23</code></a> Fix user guide system overview so nodes don't overlap. (<a href="https://redirect.github.com/tox-dev/tox/issues/3307">#3307</a>)</li>
<li>See full diff in <a href="https://github.com/tox-dev/tox/compare/4.16.0...4.17.1">compare view</a></li>
</ul>
</details>
<br />
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)
---
Dependabot commands and options
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Updates the requirements on numpy, torch, horde-engine, pytest, mypy, black, ruff, tox and pre-commit to permit the latest version. Updates
numpy
from 1.26.4 to 2.0.1Release notes
Sourced from numpy's releases.
... (truncated)
Commits
4c9f431
Merge pull request #27000 from charris/prepare-2.0.10e70e00
REL: Prepare for the NumPy 2.0.1 release [wheel build]4d10ffc
Merge pull request #26995 from charris/backport-26985764b667
BUG: Add object cast to avoid warning with limited API9be6ad6
Merge pull request #26971 from charris/backport-269356d950e9
BUG: fix f2py tests to work with v2 API89630c0
Merge pull request #26962 from charris/backport-2691988fa840
TST: Apply test suggestion by Nathan for rlstrip fixesa9da01e
BUG,MAINT: Fix utf-8 character stripping memory access6afbbf8
Merge pull request #26963 from charris/backport-26930Updates
torch
from 2.3.1 to 2.4.0Release notes
Sourced from torch's releases.
... (truncated)
Commits
d990dad
[CMAKE] Look forDevelopment.Module
instead ofDevelopment
(#129729)e4ee3be
[Release only] use triton 3.0.x from pypi (#130336)9afe4ec
Update torchbench model expected accuracy values after pinning numpy (#129986)499621e
[CherryPick][FSDP2+TP] Disable 2D state_dict (#129519) (#129923)e5bda62
[CherryPick][DCP] Fix Optimizer Learning Rate not being loaded correctly (#12...705e3ae
Improve error message for weights_only load (#129783)b26cde4
[Windows] remove mkl shared library dependency. (#129740)12ad767
[distributed] NCCL result code update (#129704)1164d3c
Add threadfence to 2-stage reduction for correct writes visibility (#129701)9533637
Inductor to fail gracefully on Voltas for bf16 tensors (#129699)Updates
horde-engine
to 2.14.0Release notes
Sourced from horde-engine's releases.
Commits
bbc28a5
Merge pull request #299 from Haidra-Org/maine812f47
feat: use comfyui1c08bf35
bbcecff
Changed gen_metadata to work for requests with post_processors311d667
ci: update changelogUpdates
pytest
from 8.3.1 to 8.3.2Release notes
Sourced from pytest's releases.
Commits
bbcec9c
Prepare release version 8.3.278fe8b6
Merge pull request #12657 from pytest-dev/patchback/backports/8.3.x/6c806b499...238bad2
Merge pull request #12656 from RonnyPfannschmidt/fix-12652-detect-conda-envae6034a
Merge pull request #12641 from pytest-dev/patchback/backports/8.3.x/c03989cee...31337ab
Merge pull request #12640 from pytest-dev/update-userca3070b
Merge pull request #12637 from pytest-dev/release-8.3.1Updates
mypy
from 1.11.0 to 1.11.1Commits
570b90a
Bump version to 1.11b3a102e
FixRawExpressionType.accept
crash with--cache-fine-grained
(#17588)aec04c7
Fix PEP 604 isinstance caching (#17563)cb44e4d
Fixtyping.TypeAliasType
being undefined on python < 3.12 (#17558)6cf9180
Fix types.GenericAlias lookup crash (#17543)64c1ebf
Bump version to 1.11.1+devUpdates
black
from 24.4.2 to 24.8.0Release notes
Sourced from black's releases.
Changelog
Sourced from black's changelog.
Commits
b965c2a
Prepare release 24.8.0 (#4426)9ccf279
Documentfind_project_root
ignoringpyproject.toml
without[tool.black]
...14b6e61
fix: Enhace black efficiently to skip directories listed in .gitignore (#4415)b1c4dd9
fix: respect braces better in f-string parsing (#4422)4b4ae43
Fix incorrect linenos on fstring tokens with escaped newlines (#4423)7fa1faf
docs: fix the installation command of extra for blackd (#4413)8827acc
Bump sphinx from 7.3.7 to 7.4.0 in /docs (#4404)b0da11d
Bump furo from 2024.5.6 to 2024.7.18 in /docs (#4409)721dff5
fix: avoid formatting backslash strings inside f-strings (#4401)7e2afc9
Updateactions/checkout
to v4 to stop node deprecation warnings (#4379)Updates
ruff
from 0.5.4 to 0.5.7Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
221ea66
Bump version to 0.5.7 (#12756)d28c5af
[red-knot] Remove mentions of Ruff from the CLI help (#12752)f1de08c
[red-knot] Merge the semantic and module-resolver crates (#12751)33e9a6a
SIM110:any()
is ~3x slower than the code it replaces (#12746)f577e03
[ruff] Ignore empty tuples for `incorrectly-parenthesized-tuple-in-subscript ...f537335
Remove alluseEffect
usages (#12659)2daa914
Gracefully handle errors in CLI (#12747)6d9205e
[ruff_linter
] - Use LibCST inadjust_indentation
for mixed whitespace (#1...df7345e
Exit with an error if there are check failures (#12735)dc6aafe
Setup tracing and document tracing usage (#12730)Updates
tox
to 4.17.1Release notes
Sourced from tox's releases.
Changelog
Sourced from tox's changelog.