Skip to content

Commit cb5c50a

Browse files
author
zhoujiamei
committed
no-build-isolation
1 parent 315cbf2 commit cb5c50a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/unit_tests_common.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,13 @@ jobs:
126126
127127
#! setup_commands from all_tests_xxx.yml(like all_tests_metax.yml)
128128
${{ inputs.setup_commands }}
129+
which python3
130+
python3 -c "import torch; print(f'Native Torch Version: {torch.__version__}')"
131+
129132
python3 -m pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
130133
# 2. Universal dependency sync using the activated python environment
131134
python3 -m pip install --no-cache-dir transformers expecttest boto3==1.42.1 --no-deps || true
132-
python3 -m pip install -v -e . --no-deps
135+
python3 -m pip install -v -e . --no-deps --no-build-isolation
133136
# more time needed...
134137
timeout-minutes: 120
135138

0 commit comments

Comments
 (0)