Skip to content

Commit f8cb236

Browse files
committed
debugging debug unittest
1 parent 01bde07 commit f8cb236

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/unit_tests_common.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ jobs:
4242
fail-fast: false
4343
matrix:
4444
test_group:
45-
# - name: pytorch_debug
46-
# path: "qa/L0_pytorch_debug_unittest/test.sh"
47-
# test_type: "debug"
48-
- name: pytorch_unittest
49-
path: "qa/L0_pytorch_unittest/test.sh"
50-
test_type: "unittest"
45+
- name: pytorch_debug
46+
path: "qa/L0_pytorch_debug_unittest/test.sh"
47+
test_type: "debug"
48+
# - name: pytorch_unittest
49+
# path: "qa/L0_pytorch_unittest/test.sh"
50+
# test_type: "unittest"
5151
# - name: pytorch_distributed_unittest
5252
# path: "qa/L1_pytorch_distributed_unittest/test.sh"
5353
# test_type: "unittest"

qa/L0_pytorch_debug_unittest/test.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ run_test_step "test_log.xml" "$TE_PATH/tests/pytorch/debug/test_log.py" \
7777

7878
# Step 5: API Features
7979
run_test_step "test_api_features.xml" "$TE_PATH/tests/pytorch/debug/test_api_features.py" \
80-
"NVTE_TORCH_COMPILE=0 pytest -v -s --junitxml=$XML_LOG_DIR/test_api_features.xml $TE_PATH/tests/pytorch/debug/test_api_features.py -k \"not (test_per_tensor_scaling or test_fake_quant or test_statistics_collection or test_statistics_multi_run)\" --no-header --feature_dirs=$NVTE_TEST_NVINSPECT_FEATURE_DIRS --configs_dir=$NVTE_TEST_NVINSPECT_CONFIGS_DIR"
80+
"NVTE_TORCH_COMPILE=0 pytest -v -s --junitxml=$XML_LOG_DIR/test_api_features.xml $TE_PATH/tests/pytorch/debug/test_api_features.py --no-header --feature_dirs=$NVTE_TEST_NVINSPECT_FEATURE_DIRS --configs_dir=$NVTE_TEST_NVINSPECT_CONFIGS_DIR"
8181

8282
# Step 6: Performance
8383
run_test_step "test_perf.xml" "$TE_PATH/tests/pytorch/debug/test_perf.py" \
@@ -87,11 +87,11 @@ run_test_step "test_perf.xml" "$TE_PATH/tests/pytorch/debug/test_perf.py" \
8787
# Step 7: Sanity 2
8888
run_test_step "test_sanity_2.xml" "$TE_PATH/tests/pytorch/test_sanity.py" \
8989
"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 \
90-
pytest -v -s --junitxml=$XML_LOG_DIR/test_sanity_2.xml $TE_PATH/tests/pytorch/test_sanity.py -k \"not (test_sanity_grouped_linear or test_inference_mode)\" --no-header"
90+
pytest -v -s --junitxml=$XML_LOG_DIR/test_sanity_2.xml $TE_PATH/tests/pytorch/test_sanity.py --no-header"
9191

9292
# Step 8: Numerics 2
9393
run_test_step "test_numerics_2.xml" "$TE_PATH/tests/pytorch/test_numerics.py" \
9494
"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 \
95-
pytest -v -s --junitxml=$XML_LOG_DIR/test_numerics_2.xml $TE_PATH/tests/pytorch/test_numerics.py -k \"not (test_linear_accuracy or test_layernorm_linear_accuracy or test_layernorm_mlp_accuracy or test_grouped_linear_accuracy or test_transformer_layer_hidden_states_format or test_grouped_gemm)\" --no-header"
95+
pytest -v -s --junitxml=$XML_LOG_DIR/test_numerics_2.xml $TE_PATH/tests/pytorch/test_numerics.py --no-header"
9696

9797
exit $FAIL

0 commit comments

Comments
 (0)