Skip to content

Commit

Permalink
Decrease number of workers for ONNX Model tests to prevent OOM kills (#…
Browse files Browse the repository at this point in the history
…22243)

* Decrease number of workers for ONNX Model tests to prevent OOM kills

* Try to use "-n auto" also
  • Loading branch information
ababushk authored Jan 18, 2024
1 parent 9ca5b74 commit 8e251b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/job_onnx_models_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,4 @@ jobs:
python3 -m pip install pytest-xdist[psutil] pytest-forked
- name: ONNX Models Tests
run: python3 -m pytest --backend="CPU" --model_zoo_dir="${MODELS_SHARE_PATH}" ${INSTALL_TEST_DIR}/onnx/tests/tests_python/test_zoo_models.py -v -n 12 --forked -k 'not _cuda' --model_zoo_xfail
run: python3 -m pytest --backend="CPU" --model_zoo_dir="${MODELS_SHARE_PATH}" ${INSTALL_TEST_DIR}/onnx/tests/tests_python/test_zoo_models.py -v -n auto --forked -k 'not _cuda' --model_zoo_xfail

0 comments on commit 8e251b8

Please sign in to comment.