Run test_real_world in METAL test (#3760)

* clean up test_real_world

* skip that

* JIT=2 for metal

* all device
This commit is contained in:
chenyu
2024-03-15 13:56:52 -04:00
committed by GitHub
parent 4bd5535d72
commit 922f8319cb
2 changed files with 13 additions and 20 deletions

View File

@@ -300,6 +300,8 @@ jobs:
METAL=1 DEBUG=4 FORWARD_ONLY=1 python3 test/test_ops.py TestOps.test_add
- name: Run metal test
run: JIT=2 METAL=1 python -m pytest -n=auto test/ --ignore=test/external --ignore=test/models --durations=20
- name: Run real world test
run: JIT=2 METAL=1 python -m pytest -n=auto test/models/test_real_world.py --durations=20
- name: Run ONNX
run: JIT=2 METAL=1 python -m pytest -n=auto test/external/external_test_onnx_backend.py --durations=20
- name: Test tensor core ops (fake)