From e7eb57909a9fa56808d0c2ef4783fc62d5ad0024 Mon Sep 17 00:00:00 2001 From: Jirka B Date: Mon, 8 Sep 2025 07:58:20 +0200 Subject: [PATCH 1/3] fix using CPU torch with UV --- .github/workflows/ci-tests-fabric.yml | 1 + .github/workflows/ci-tests-pytorch.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/ci-tests-fabric.yml b/.github/workflows/ci-tests-fabric.yml index 615633c5311bf..ef1ce3aea089c 100644 --- a/.github/workflows/ci-tests-fabric.yml +++ b/.github/workflows/ci-tests-fabric.yml @@ -66,6 +66,7 @@ jobs: TORCH_URL_TEST: "https://download.pytorch.org/whl/test/cpu/" # TODO: Remove this - Enable running MPS tests on this platform DISABLE_MPS: ${{ matrix.os == 'macOS-14' && '1' || '0' }} + UV_TORCH_BACKEND: "cpu" steps: - uses: actions/checkout@v5 diff --git a/.github/workflows/ci-tests-pytorch.yml b/.github/workflows/ci-tests-pytorch.yml index e6ec0b3072d91..17f73aba3305d 100644 --- a/.github/workflows/ci-tests-pytorch.yml +++ b/.github/workflows/ci-tests-pytorch.yml @@ -71,6 +71,7 @@ jobs: FREEZE_REQUIREMENTS: ${{ ! (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release/')) }} # TODO: Remove this - Enable running MPS tests on this platform DISABLE_MPS: ${{ matrix.os == 'macOS-14' && '1' || '0' }} + UV_TORCH_BACKEND: "cpu" steps: - uses: actions/checkout@v5 From d3d1c50014631c9bbb848438f6070e421e270591 Mon Sep 17 00:00:00 2001 From: Jirka B Date: Mon, 8 Sep 2025 08:06:50 +0200 Subject: [PATCH 2/3] ignore --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index b4d5d0b1638f5..f43ca06976889 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -182,6 +182,7 @@ filterwarnings = [ # "error::DeprecationWarning", "error::FutureWarning", "ignore::FutureWarning:onnxscript", # Temporary ignore until onnxscript is updated + "ignore::FutureWarning:pynvml", # Ignore pynvml deprecation warning, since it is not installed by PL directly ] xfail_strict = true junit_duration_report = "call" From cb2219290b2af7b3208a8dcf10ab996cef29a310 Mon Sep 17 00:00:00 2001 From: Jirka B Date: Mon, 8 Sep 2025 08:12:07 +0200 Subject: [PATCH 3/3] ignore --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f43ca06976889..bec03d8164ad4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -182,7 +182,7 @@ filterwarnings = [ # "error::DeprecationWarning", "error::FutureWarning", "ignore::FutureWarning:onnxscript", # Temporary ignore until onnxscript is updated - "ignore::FutureWarning:pynvml", # Ignore pynvml deprecation warning, since it is not installed by PL directly + "ignore:The pynvml package is deprecated:FutureWarning", # Ignore pynvml deprecation warning, since it is not installed by PL directly ] xfail_strict = true junit_duration_report = "call"