File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7373 fail-fast : false
7474 matrix :
7575 test_group :
76+ - name : pytorch_lint
77+ path : " qa/L0_pytorch_lint/test.sh"
78+ test_type : " sh"
7679 - name : pytorch_debug
7780 path : " qa/L0_pytorch_debug_unittest/test.sh"
7881 test_type : " sh"
@@ -109,9 +112,6 @@ jobs:
109112 CHANGED='${{ needs.detect_changes.outputs.core }}'
110113 fi
111114 # For debugging, you can force this to true
112- # echo "should_run=$CHANGED" >> $GITHUB_OUTPUT
113-
114- # Force Run
115115 echo "should_run=true" >> $GITHUB_OUTPUT
116116
117117 - name : Checkout source code
@@ -212,9 +212,19 @@ jobs:
212212 ")
213213
214214 export TE_PATH=$GITHUB_WORKSPACE
215+ export TE_LIB_PATH=$(python3 -c "import site; print(site.getsitepackages()[0])")
215216 export PYTHONPATH=$GITHUB_WORKSPACE:${PYTHONPATH:-}
216217 export PATH=${CUDA_HOME:-/usr/local/cuda}/bin:$PATH
217218 export LD_LIBRARY_PATH=${CUDA_HOME:-/usr/local/cuda}/lib:${LD_LIBRARY_PATH:-}
219+ # Ensure log directory exists regardless of volume mount state
220+ mkdir -p /logs
221+
222+ # check envs before running tests
223+ echo "TE_PATH=$TE_PATH"
224+ echo "TE_LIB_PATH=$TE_LIB_PATH"
225+ echo "PYTHONPATH=$PYTHONPATH"
226+ echo "PATH=$PATH"
227+ echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH"
218228
219229 if [[ "${{ matrix.test_group.name }}" == *"lint"* ]]; then
220230 export CPP_ONLY=0
You can’t perform that action at this time.
0 commit comments