@@ -89,16 +89,24 @@ jobs:
8989 id : pytorch_cpplint
9090 env :
9191 CPP_ONLY : 1
92- TE_PATH : ./
93- run : bash ./qa/L0_pytorch_lint/test.sh
92+ TE_PATH : .
93+ run : |
94+ bash ./qa/L0_pytorch_lint/test.sh
95+ echo "\n-----------------------------------------------------"
96+ echo "Note: Pylint check ignores errors C0411 (incorrect import position) and W0611 (unused import), which can be achieved by adding the parameter --disable=C0411,W0611"
97+ echo "-----------------------------------------------------"
9498 continue-on-error : true
9599
96100 - name : PyTorch Python Lint
97101 id : pytorch_pylint
98102 env :
99103 PYTHON_ONLY : 1
100- TE_PATH : ./
101- run : bash ./qa/L0_pytorch_lint/test.sh
104+ TE_PATH : .
105+ run : |
106+ bash ./qa/L0_pytorch_lint/test.sh
107+ echo "\n-----------------------------------------------------"
108+ echo "Note: Pylint check ignores errors C0411 (incorrect import position) and W0611 (unused import), which can be achieved by adding the parameter --disable=C0411,W0611"
109+ echo "-----------------------------------------------------"
102110 continue-on-error : true
103111
104112 - name : GPU Usage Check / Verification
@@ -120,7 +128,7 @@ jobs:
120128 # -Bbuild \
121129 # -DTE_LIB="${TE_LIB_FULL_PATH}" \
122130 # .
123- # cmake --build build --verbose | tee test.log
131+ # cmake --build build --verbose
124132 # export OMP_NUM_THREADS=$((NUM_PHYSICAL_CORES / NUM_PARALLEL_JOBS))
125133 # ctest --test-dir build -j$NUM_PARALLEL_JOBS
126134
@@ -131,35 +139,37 @@ jobs:
131139 continue-on-error : true
132140 env :
133141 XML_LOG_DIR : " /logs/pytorch/debug"
134- TE_PATH : ./
142+ TE_PATH : .
135143 run : |
136144 ignore_files=("test_api_features.py" "test_numerics.py")
137145
138146 for file in "${ignore_files[@]}"; do
139147 sed -i 's/^.*${file}.*$/#&/' ./qa/L0_pytorch_debug_unittest/test.sh
140148 done
141149
150+ cat ./qa/L0_pytorch_debug_unittest/test.sh
151+
142152 bash ./qa/L0_pytorch_debug_unittest/test.sh
143153
144154 - name : L0 Pytorch Unittest
145155 id : L0_pytorch_unittest
146156 continue-on-error : true
147157 env :
148158 XML_LOG_DIR : " /logs/pytorch"
149- TE_PATH : ./
159+ TE_PATH : .
150160 run : |
151161 ignore_files=("test_numerics.py" "test_permutation.py" "test_attention.py" "test_checkpoint.py")
152162
153163 for file in "${ignore_files[@]}"; do
154164 sed -i 's/^.*${file}.*$/#&/' ./qa/L0_pytorch_unittest/test.sh
155165 done
156166
167+ cat ./qa/L0_pytorch_unittest/test.sh
168+
157169 bash ./qa/L0_pytorch_unittest/test.sh
158170
159171 - name : Upload Installation Logs
160- if : |
161- (steps.L0_pytorch_debug_unittest.outcome == 'failure' || steps.L0_pytorch_unittest.outcome == 'failure')
162- && failure()
172+ if : failure()
163173 uses : actions/upload-artifact@v4
164174 with :
165175 name : L0_pytorch-logs-${{ github.run_id }}
0 commit comments