Skip to content

Commit

Permalink
Fix issue in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandropalla committed Jul 25, 2024
1 parent 86e4e1e commit e0805f1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ permissions: read-all

on:
workflow_dispatch:
push:
branches:
- main

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion test/python/test_compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e0805f1

Please sign in to comment.