File tree Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -45,19 +45,40 @@ jobs:
4545 needs :
4646 - list-test-files
4747 container :
48- image : 10.0.13.31:5000/modelcloud/gptqmodel:github-ci-v7
48+ image : 10.0.13.31:5000/nvidia/cuda:128-ubuntu22.04_0822
4949 volumes :
5050 - /home/ci/models:/monster/data/model
5151 - /home/ci/models/huggingface:/github/home/.cache/huggingface
52+ - /home/ci/models/pyenv:/opt/pyenv
5253 strategy :
5354 fail-fast : false
5455 matrix :
5556 test_script : ${{ fromJSON(needs.list-test-files.outputs.test-files) }}
5657 steps :
5758 - uses : actions/checkout@v4
5859
60+ - name : Print Env
61+ run : |
62+ env_name="cu128_torch2.8.0_py3.12_tokenicer_${{ matrix.test_script }}"
63+
64+ echo "env name: $env_name"
65+
66+ if [ -d "$(pyenv root)/versions/$env_name" ]; then
67+ echo "env exists, skip"
68+ pyenv activate $env_name
69+ pyenv local $env_name
70+ else
71+ echo "creating venv..."
72+ pyenv virtualenv 3.12 "$env_name"
73+ pyenv activate $env_name
74+ pyenv local $env_name
75+ bash -c "$(curl -L http://10.0.13.31/scripts/env/init_compiler_no_env.sh)" @ 128 2.8.0 3.12
76+ fi
77+
5978 - name : install requirements
60- run : pip install parameterized pytest pytest-xdist
79+ run : |
80+ pip install uv
81+ uv pip install parameterized pytest pytest-xdist transformers -U
6182
6283 - name : install
6384 run : pip install .
You can’t perform that action at this time.
0 commit comments