Force TensorFlow to use CPU when generating model and golden values. (#199)

Split up gpu pytest runs temporarily
This commit is contained in:
Ean Garvey
2022-07-22 22:21:16 -05:00
committed by GitHub
parent 49fc6d2f4b
commit 921ccdc40b
22 changed files with 92 additions and 336 deletions

View File

@@ -85,7 +85,8 @@ jobs:
cd $GITHUB_WORKSPACE
PYTHON=python${{ matrix.python-version }} IMPORTER=1 ./setup_venv.sh
source shark.venv/bin/activate
pytest -k 'gpu' --ignore=shark/tests/test_shark_importer.py --ignore=benchmarks/tests/test_hf_benchmark.py --ignore=benchmarks/tests/test_benchmark.py
chmod u+rx tank/gpu_suite.sh
./tank/gpu_suite.sh
- name: Validate Vulkan Models
if: matrix.suite == 'vulkan'