Skip to content

Commit

Permalink
Update daily_for_test.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
zhulinJulia24 authored Jan 29, 2024
1 parent b2f2032 commit 100b48e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/daily_for_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ env:
jobs:
HF_model:
runs-on: self-hosted
continue-on-error: true
strategy:
matrix:
transformers-version: [4.34.0, 4.36.0, 4.37.1]
transformers-version: [4.34.0, 4.35.2, 4.36.2, 4.37.1]
steps:
- name: mask env
run: |
Expand All @@ -26,7 +27,7 @@ jobs:
conda create -n internlm-model-latest --clone ${CONDA_BASE_ENV}
source activate internlm-model-latest
# TODO:test other version of transformers
pip install transformers== ${{ matrix.transformers-version }}
pip install transformers==${{ matrix.transformers-version }}
pip install sentencepiece
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
Expand Down

0 comments on commit 100b48e

Please sign in to comment.