We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8bda5d commit af5d1e0Copy full SHA for af5d1e0
1 file changed
qa/L0_jax_unittest/test.sh
@@ -45,7 +45,7 @@ NVTE_JAX_CUSTOM_CALLS="false" python3 -m pytest -c $TE_PATH/tests/jax/pytest.ini
45
# Exercise the docs/examples/jax tutorials. The multi-GPU tests are
46
# skipped at runtime when fewer than 4 devices are visible, so this is safe on
47
# single-GPU runners.
48
-python3 -m pytest -c $TE_PATH/tests/jax/pytest.ini -v --junitxml=$XML_LOG_DIR/pytest_docs_examples_jax.xml $TE_PATH/docs/examples/jax/ || test_fail "docs/examples/jax"
+CUDA_VISIBLE_DEVICES=0 python3 -m pytest -c $TE_PATH/tests/jax/pytest.ini -v --junitxml=$XML_LOG_DIR/pytest_docs_examples_jax.xml $TE_PATH/docs/examples/jax/ || test_fail "docs/examples/jax"
49
50
if [ $RET -ne 0 ]; then
51
echo "Error: some sub-tests failed: $FAILED_CASES"
0 commit comments