From e0805f1cd32502bca99f4bb8a2463f01f300bbf7 Mon Sep 17 00:00:00 2001 From: Alessandro Palla Date: Thu, 25 Jul 2024 10:28:16 +0100 Subject: [PATCH] Fix issue in CI --- .github/workflows/documentation.yml | 3 --- test/python/test_compile.py | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 3669aa7..ea952a1 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -3,9 +3,6 @@ permissions: read-all on: workflow_dispatch: - push: - branches: - - main jobs: build: diff --git a/test/python/test_compile.py b/test/python/test_compile.py index faf3d28..63ce124 100644 --- a/test/python/test_compile.py +++ b/test/python/test_compile.py @@ -94,7 +94,7 @@ def test_torch_compile(): ) or sys.version_info >= (3, 12): with pytest.raises(RuntimeError) as e: compiled_model = torch.compile(model, backend="npu") - assert str(e.value) == "Windows not yet supported for torch.compile" + assert str(e.value) == "Windows not yet supported for torch.compile" else: compiled_model = torch.compile(model, backend="npu") y = compiled_model(x).detach()