mirror of
https://github.com/nod-ai/AMD-SHARK-Studio.git
synced 2026-04-03 03:00:17 -04:00
Set parallel work as manually configured option (#58)
This commit is contained in:
2
.github/workflows/test-models.yml
vendored
2
.github/workflows/test-models.yml
vendored
@@ -30,4 +30,4 @@ jobs:
|
||||
cd $GITHUB_WORKSPACE
|
||||
./setup_venv.sh
|
||||
source shark.venv/bin/activate
|
||||
pytest
|
||||
pytest --workers auto
|
||||
|
||||
@@ -32,8 +32,8 @@ python -m shark.examples.resnet50_script --device="cpu" # Use gpu | vulkan
|
||||
```shell
|
||||
pytest
|
||||
|
||||
# If on Mac OS:
|
||||
pytest -c pytest-mac.ini
|
||||
# If on Linux for quicker results:
|
||||
pytest --workers auto
|
||||
```
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
[pytest]
|
||||
addopts = --verbose -p no:warnings
|
||||
norecursedirs = inference
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[pytest]
|
||||
addopts = --workers auto --verbose -p no:warnings
|
||||
addopts = --verbose -p no:warnings
|
||||
norecursedirs = inference
|
||||
|
||||
|
||||
Reference in New Issue
Block a user