mirror of
https://github.com/open-compass/opencompass.git
synced 2025-05-30 16:03:24 +08:00
update
This commit is contained in:
parent
a603625f19
commit
2f4dbfd1fe
4
.github/workflows/daily-run-test.yml
vendored
4
.github/workflows/daily-run-test.yml
vendored
@ -157,7 +157,9 @@ jobs:
|
|||||||
pip install opencompass*.whl --cache-dir ${{env.PIP_CACHE_PATH}}
|
pip install opencompass*.whl --cache-dir ${{env.PIP_CACHE_PATH}}
|
||||||
pip install opencompass[lmdeploy] --cache-dir ${{env.PIP_CACHE_PATH}}
|
pip install opencompass[lmdeploy] --cache-dir ${{env.PIP_CACHE_PATH}}
|
||||||
pip install opencompass[vllm] --cache-dir ${{env.PIP_CACHE_PATH}}
|
pip install opencompass[vllm] --cache-dir ${{env.PIP_CACHE_PATH}}
|
||||||
pip install torch==2.5.1 torchvision==0.20.1 torchaudio==2.5.1 --cache-dir ${{env.PIP_CACHE_PATH}}
|
pip install opencompass[full] --cache-dir ${{env.PIP_CACHE_PATH}}
|
||||||
|
pip install opencompass[api] --cache-dir ${{env.PIP_CACHE_PATH}}
|
||||||
|
pip install torch==2.6.0 torchvision==0.21.0 torchaudio==2.6.0 --cache-dir ${{env.PIP_CACHE_PATH}}
|
||||||
FLASH_ATTENTION_FORCE_BUILD=TRUE pip install /fs-computility/llm/qa-llm-cicd/packages/flash_attn-2.7.0.post2+cu12torch2.5cxx11abiFALSE-cp310-cp310-linux_x86_64.whl
|
FLASH_ATTENTION_FORCE_BUILD=TRUE pip install /fs-computility/llm/qa-llm-cicd/packages/flash_attn-2.7.0.post2+cu12torch2.5cxx11abiFALSE-cp310-cp310-linux_x86_64.whl
|
||||||
pip install xformers --index-url https://download.pytorch.org/whl/cu121 --cache-dir ${{env.PIP_CACHE_PATH}}
|
pip install xformers --index-url https://download.pytorch.org/whl/cu121 --cache-dir ${{env.PIP_CACHE_PATH}}
|
||||||
cp -r /root/nltk_data ${{env.CONDA_PATH}}/envs/${{env.CONDA_ENV}}/nltk_data
|
cp -r /root/nltk_data ${{env.CONDA_PATH}}/envs/${{env.CONDA_ENV}}/nltk_data
|
||||||
|
2
.github/workflows/pr-run-test.yml
vendored
2
.github/workflows/pr-run-test.yml
vendored
@ -45,7 +45,7 @@ jobs:
|
|||||||
. ${{env.CONDA_PATH}}/bin/activate
|
. ${{env.CONDA_PATH}}/bin/activate
|
||||||
conda activate ${{env.CONDA_ENV}}
|
conda activate ${{env.CONDA_ENV}}
|
||||||
python3 -m pip uninstall opencompass -y
|
python3 -m pip uninstall opencompass -y
|
||||||
python3 -m pip install -e . --cache-dir ${{env.PIP_CACHE_PATH}}
|
python3 -m pip install -e ".[full]" --cache-dir ${{env.PIP_CACHE_PATH}}
|
||||||
conda info --envs
|
conda info --envs
|
||||||
- name: conda env
|
- name: conda env
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user