@@ -28,16 +28,16 @@ mkdir -p "$XML_LOG_DIR"
2828
2929pip install pytest==8.2.1 || error_exit " Failed to install pytest"
3030
31- pytest -s --junitxml=$XML_LOG_DIR /test_sanity.xml $TE_PATH /tests/pytorch/debug/test_sanity.py --feature_dirs=$NVTE_TEST_NVINSPECT_FEATURE_DIRS || test_fail " test_sanity.py"
32- pytest -s --junitxml=$XML_LOG_DIR /test_config.xml $TE_PATH /tests/pytorch/debug/test_config.py --feature_dirs=$NVTE_TEST_NVINSPECT_FEATURE_DIRS || test_fail " test_config.py"
33- pytest -s --junitxml=$XML_LOG_DIR /test_numerics.xml $TE_PATH /tests/pytorch/debug/test_numerics.py --feature_dirs=$NVTE_TEST_NVINSPECT_FEATURE_DIRS || test_fail " test_numerics.py"
34- pytest -s --junitxml=$XML_LOG_DIR /test_log.xml $TE_PATH /tests/pytorch/debug/test_log.py --feature_dirs=$NVTE_TEST_NVINSPECT_FEATURE_DIRS --configs_dir=$NVTE_TEST_NVINSPECT_CONFIGS_DIR || test_fail " test_log.py"
35- NVTE_TORCH_COMPILE=0 pytest -s --junitxml=$XML_LOG_DIR /test_api_features.xml $TE_PATH /tests/pytorch/debug/test_api_features.py --feature_dirs=$NVTE_TEST_NVINSPECT_FEATURE_DIRS --configs_dir=$NVTE_TEST_NVINSPECT_CONFIGS_DIR || test_fail " test_api_features.py"
36- pytest -s --junitxml=$XML_LOG_DIR /test_perf.xml $TE_PATH /tests/pytorch/debug/test_perf.py --feature_dirs=$NVTE_TEST_NVINSPECT_FEATURE_DIRS --configs_dir=$NVTE_TEST_NVINSPECT_CONFIGS_DIR || test_fail " test_perf.py"
31+ pytest -v -s --junitxml=$XML_LOG_DIR /test_sanity.xml $TE_PATH /tests/pytorch/debug/test_sanity.py --feature_dirs=$NVTE_TEST_NVINSPECT_FEATURE_DIRS || test_fail " test_sanity.py"
32+ pytest -v -s --junitxml=$XML_LOG_DIR /test_config.xml $TE_PATH /tests/pytorch/debug/test_config.py --feature_dirs=$NVTE_TEST_NVINSPECT_FEATURE_DIRS || test_fail " test_config.py"
33+ pytest -v -s --junitxml=$XML_LOG_DIR /test_numerics.xml $TE_PATH /tests/pytorch/debug/test_numerics.py --feature_dirs=$NVTE_TEST_NVINSPECT_FEATURE_DIRS || test_fail " test_numerics.py"
34+ pytest -v -s --junitxml=$XML_LOG_DIR /test_log.xml $TE_PATH /tests/pytorch/debug/test_log.py --feature_dirs=$NVTE_TEST_NVINSPECT_FEATURE_DIRS --configs_dir=$NVTE_TEST_NVINSPECT_CONFIGS_DIR || test_fail " test_log.py"
35+ NVTE_TORCH_COMPILE=0 pytest -v -s --junitxml=$XML_LOG_DIR /test_api_features.xml $TE_PATH /tests/pytorch/debug/test_api_features.py --feature_dirs=$NVTE_TEST_NVINSPECT_FEATURE_DIRS --configs_dir=$NVTE_TEST_NVINSPECT_CONFIGS_DIR || test_fail " test_api_features.py"
36+ pytest -v -s --junitxml=$XML_LOG_DIR /test_perf.xml $TE_PATH /tests/pytorch/debug/test_perf.py --feature_dirs=$NVTE_TEST_NVINSPECT_FEATURE_DIRS --configs_dir=$NVTE_TEST_NVINSPECT_CONFIGS_DIR || test_fail " test_perf.py"
3737
3838# standard sanity and numerics tests with initialized debug
39- NVTE_TEST_NVINSPECT_ENABLED=1 NVTE_TEST_NVINSPECT_CONFIG_FILE=$NVTE_TEST_NVINSPECT_DUMMY_CONFIG_FILE NVTE_TEST_NVINSPECT_FEATURE_DIRS=$NVTE_TEST_NVINSPECT_FEATURE_DIRS PYTORCH_JIT=0 NVTE_TORCH_COMPILE=0 NVTE_ALLOW_NONDETERMINISTIC_ALGO=0 pytest -s --junitxml=$XML_LOG_DIR /test_sanity_2.xml $TE_PATH /tests/pytorch/test_sanity.py || test_fail " debug test_sanity.py"
40- NVTE_TEST_NVINSPECT_ENABLED=1 NVTE_TEST_NVINSPECT_CONFIG_FILE=$NVTE_TEST_NVINSPECT_DUMMY_CONFIG_FILE NVTE_TEST_NVINSPECT_FEATURE_DIRS=$NVTE_TEST_NVINSPECT_FEATURE_DIRS PYTORCH_JIT=0 NVTE_TORCH_COMPILE=0 NVTE_ALLOW_NONDETERMINISTIC_ALGO=0 NVTE_FUSED_ATTN=0 pytest -s --junitxml=$XML_LOG_DIR /test_numerics_2.xml $TE_PATH /tests/pytorch/test_numerics.py || test_fail " debug test_numerics.py"
39+ NVTE_TEST_NVINSPECT_ENABLED=1 NVTE_TEST_NVINSPECT_CONFIG_FILE=$NVTE_TEST_NVINSPECT_DUMMY_CONFIG_FILE NVTE_TEST_NVINSPECT_FEATURE_DIRS=$NVTE_TEST_NVINSPECT_FEATURE_DIRS PYTORCH_JIT=0 NVTE_TORCH_COMPILE=0 NVTE_ALLOW_NONDETERMINISTIC_ALGO=0 pytest -v -s --junitxml=$XML_LOG_DIR /test_sanity_2.xml $TE_PATH /tests/pytorch/test_sanity.py || test_fail " debug test_sanity.py"
40+ NVTE_TEST_NVINSPECT_ENABLED=1 NVTE_TEST_NVINSPECT_CONFIG_FILE=$NVTE_TEST_NVINSPECT_DUMMY_CONFIG_FILE NVTE_TEST_NVINSPECT_FEATURE_DIRS=$NVTE_TEST_NVINSPECT_FEATURE_DIRS PYTORCH_JIT=0 NVTE_TORCH_COMPILE=0 NVTE_ALLOW_NONDETERMINISTIC_ALGO=0 NVTE_FUSED_ATTN=0 pytest -v -s --junitxml=$XML_LOG_DIR /test_numerics_2.xml $TE_PATH /tests/pytorch/test_numerics.py || test_fail " debug test_numerics.py"
4141
4242if [ " $RET " -ne 0 ]; then
4343 echo " Error in the following test cases:$FAILED_CASES "
0 commit comments