Skip to content

Commit a3fa59c

Browse files
committed
add TE_LIB_PATH
1 parent 5fae5cd commit a3fa59c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/unit_tests_common.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ jobs:
249249
")
250250
251251
export TE_PATH=$GITHUB_WORKSPACE
252+
export TE_LIB_PATH=$(python3 -c "from pathlib import Path; import importlib; print(Path(importlib.util.find_spec('transformer_engine').origin).parent.parent)")
252253
export PYTHONPATH=$GITHUB_WORKSPACE:${PYTHONPATH:-}
253254
export PATH=${CUDA_HOME:-/usr/local/cuda}/bin:$PATH
254255
export LD_LIBRARY_PATH=${CUDA_HOME:-/usr/local/cuda}/lib:${LD_LIBRARY_PATH:-}
@@ -257,6 +258,7 @@ jobs:
257258
258259
# check envs before running tests
259260
echo "TE_PATH=$TE_PATH"
261+
echo "TE_LIB_PATH=$TE_LIB_PATH"
260262
echo "PYTHONPATH=$PYTHONPATH"
261263
echo "PATH=$PATH"
262264
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH"

0 commit comments

Comments
 (0)