Skip to content

Commit d30d33c

Browse files
committed
Add a standalone e2e test, r3
1 parent 43e70d9 commit d30d33c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/build-test-reusable.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ jobs:
146146
run: |
147147
#FIXME move back test when ready
148148
scripts/test-inductor.sh
149-
exit 1
150149
151150
- name: Create test-triton command line
152151
run: |

scripts/test-inductor.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
#/bin/sh
1+
#!/bin/sh
2+
3+
set -e
4+
set -vx
25

36
test -d pytorch || {
47
git clone https://github.com/pytorch/pytorch
@@ -12,5 +15,7 @@ pip install pyyaml pandas scipy numpy psutil pyre_extensions torchrec
1215

1316
ZE_AFFINITY_MASK=0 python pytorch/benchmarks/dynamo/huggingface.py --accuracy --float32 -dxpu -n10 --no-skip --dashboard --inference --freezing --total-partitions 1 --partition-id 0 --only AlbertForMaskedLM --backend=inductor --timeout=4800 --output=inductor_log.csv
1417

18+
find .
19+
1520
cat inductor_log.csv
1621
grep AlbertForMaskedLM inductor_log.csv | grep -q ,pass,

0 commit comments

Comments
 (0)