Skip to content

Commit f876b21

Browse files
committed
ci: restore CI_ENV.sh PYTHONPATH and xtuner install
1 parent 63179e1 commit f876b21

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

ci/scripts/CI_ENV.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ export PYTEST_ADDOPTS='-o cache_dir=/tmp/.pytest_cache'
3333
# Some DDP test will cost more than 300s, set it to 600 avoid timeout error.
3434
export DISTRIBUTED_TESTS_DEFAULT_TIMEOUT=600
3535

36-
# proxy_off
37-
# pip install .[all]
36+
proxy_off
37+
pip install -e .[all]
3838

39-
# TORCH_VERSION=$(python -c "import torch;print(torch.__version__.split('+')[0])")
40-
# if [[ $TORCH_VERSION == "2.9.1" ]]; then
41-
# pip install nvidia-cudnn-cu12==9.15.1.9
42-
# fi
39+
TORCH_VERSION=$(python -c "import torch;print(torch.__version__.split('+')[0])")
40+
if [[ $TORCH_VERSION == "2.9.1" ]]; then
41+
pip install nvidia-cudnn-cu12==9.15.1.9
42+
fi
4343

44-
# export PYTHONPATH=${LM_DEPLOY}:$PYTHONPATH
44+
export PYTHONPATH=${LM_DEPLOY}:$PYTHONPATH

0 commit comments

Comments
 (0)