Skip to content

Commit c67c814

Browse files
Bordat-vi
andauthored
ci: force sanity check to be strict (#65)
Co-authored-by: Thomas Viehmann <tv.code@beamnet.de>
1 parent 8470859 commit c67c814

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.azure/gpu-tests.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,7 @@ jobs:
7777
python setup.py develop
7878
displayName: 'Install package & ...'
7979
80-
- bash: |
81-
set -ex
82-
bash .azure/sanity-check.sh
80+
- bash: bash .azure/sanity-check.sh
8381
displayName: 'Sanity check / details'
8482

8583
- bash: |

.azure/sanity-check.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!/bin/bash
22

3+
set -ex
34
pip list
45
python -c "import torch ; assert torch.cuda.is_available(), 'missing GPU support!'"
56
python -c "import torch ; v = torch.__version__ ; assert str(v).startswith('2'), v"
6-
python -c "from thunder.executors.utils import nvfuser_available ; assert nvfuser_available(), 'nvFuser is missing!'"
7+
python -c "from thunder.executors import nvfuser_available ; assert nvfuser_available(), 'nvFuser is missing!'"
78
python -c "from thunder.executors.triton_utils import triton_version ; assert triton_version() is not None, 'triton is missing!'"

0 commit comments

Comments
 (0)