diff --git a/.github/workflows/ci-tests-fabric.yml b/.github/workflows/ci-tests-fabric.yml index c9f2a87fe06e3..73733156ee7f0 100644 --- a/.github/workflows/ci-tests-fabric.yml +++ b/.github/workflows/ci-tests-fabric.yml @@ -52,6 +52,7 @@ jobs: - { pkg-name: "fabric", python-version: "3.12", pytorch-version: "2.7" } - { pkg-name: "fabric", python-version: "3.12", pytorch-version: "2.8" } - { pkg-name: "fabric", python-version: "3.12", pytorch-version: "2.9" } + - { pkg-name: "fabric", python-version: "3.13", pytorch-version: "2.8" } # Test minimum supported versions (oldest) - { pkg-name: "fabric", pytorch-version: "2.1", requires: "oldest" } diff --git a/.github/workflows/ci-tests-pytorch.yml b/.github/workflows/ci-tests-pytorch.yml index a64c83a8a4b68..18b48b91f8491 100644 --- a/.github/workflows/ci-tests-pytorch.yml +++ b/.github/workflows/ci-tests-pytorch.yml @@ -56,6 +56,7 @@ jobs: - { pkg-name: "pytorch", python-version: "3.12", pytorch-version: "2.7" } - { pkg-name: "pytorch", python-version: "3.12", pytorch-version: "2.8" } - { pkg-name: "pytorch", python-version: "3.12", pytorch-version: "2.9" } + - { pkg-name: "pytorch", python-version: "3.13", pytorch-version: "2.8" } # Test minimum supported versions (oldest) - { pkg-name: "pytorch", pytorch-version: "2.1", requires: "oldest" } diff --git a/pyproject.toml b/pyproject.toml index 078738d21111d..fffcca54dcf41 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -173,6 +173,7 @@ filterwarnings = [ "error::FutureWarning", "ignore::FutureWarning:onnxscript", # Temporary ignore until onnxscript is updated "ignore:You are using `torch.load` with `weights_only=False`.*:FutureWarning", + "ignore::FutureWarning:torch.distributed.algorithms.ddp_comm_hooks", ] xfail_strict = true junit_duration_report = "call" diff --git a/requirements/fabric/test.txt b/requirements/fabric/test.txt index 1363d85775c76..219f0f08e99e5 100644 --- a/requirements/fabric/test.txt +++ b/requirements/fabric/test.txt @@ -1,6 +1,7 @@ coverage ==7.11.0; python_version >= "3.10" coverage ==7.10.7; python_version < "3.10" -numpy >=1.21.0, <1.27.0 +numpy >1.21.0, <1.27.0; python_version < "3.12" +numpy >2.1.0, <2.3.5; python_version >= "3.12" pytest ==8.4.2 pytest-cov ==7.0.0 pytest-timeout ==2.4.0 diff --git a/requirements/pytorch/test.txt b/requirements/pytorch/test.txt index 077086e2050d9..9b6b9b857f290 100644 --- a/requirements/pytorch/test.txt +++ b/requirements/pytorch/test.txt @@ -10,7 +10,8 @@ pytest-random-order ==1.2.0 # needed in tests cloudpickle >=1.3, <3.2.0 scikit-learn >0.22.1, <1.8.0 -numpy >1.20.0, <1.27.0 +numpy >1.21.0, <1.27.0; python_version < "3.12" +numpy >2.1.0, <2.3.5; python_version >= "3.12" onnx >1.12.0, <1.20.0 onnxruntime >=1.12.0, <1.24.0 onnxscript >= 0.1.0, < 0.6.0