From fe75871aca2e15d1d72d60fb79a227e6c7268204 Mon Sep 17 00:00:00 2001 From: zhulinJulia24 <145004780+zhulinJulia24@users.noreply.github.com> Date: Wed, 17 Jul 2024 13:39:50 +0800 Subject: [PATCH] Update daily_tests.yaml --- .github/workflows/daily_tests.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/daily_tests.yaml b/.github/workflows/daily_tests.yaml index 1762061..d722b60 100644 --- a/.github/workflows/daily_tests.yaml +++ b/.github/workflows/daily_tests.yaml @@ -42,7 +42,10 @@ jobs: pip install torch==2.2.2 torchvision==0.17.2 --index-url https://download.pytorch.org/whl/cu118 pip install /mnt/petrelfs/qa-caif-cicd/resource/flash_attn-2.5.8+cu118torch2.2cxx11abiFALSE-cp310-cp310-linux_x86_64.whl pip install sentencepiece auto-gptq==0.6.0 beautifulsoup4 decord lxml - pip install lmdeploy[all] --extra-index-url https://download.pytorch.org/whl/cu118 + export LMDEPLOY_VERSION=0.5.1 + export PYTHON_VERSION=310 + pip install https://github.com/InternLM/lmdeploy/releases/download/v${LMDEPLOY_VERSION}/lmdeploy-${LMDEPLOY_VERSION}+cu118-cp${PYTHON_VERSION}-cp${PYTHON_VERSION}-manylinux2014_x86_64.whl --extra-index-url https://download.pytorch.org/whl/cu118 + pip install lmdeploy[all] srun -p ${SLURM_PARTITION} --kill-on-bad-exit=1 --job-name=${GITHUB_RUN_ID}-${GITHUB_JOB} --gpus-per-task=2 pytest -s -v --color=yes ./tests/test_hf_model.py conda deactivate - name: remove_env