Skip to content

Commit

Permalink
Update daily_tests.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
zhulinJulia24 authored Jan 29, 2024
1 parent 3ae6b42 commit 5624067
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/daily_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ env:
jobs:
HF_model:
runs-on: self-hosted
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
transformers-version: [4.34.0, latest]
Expand All @@ -22,7 +23,7 @@ jobs:
- uses: actions/checkout@v3

- name: load_hf_model
if: ${{ matrix.transformers-version }} != 'latest'
if: matrix.transformers-version != 'latest'
run: |
conda create -n internlm-model-latest --clone ${CONDA_BASE_ENV}
source activate internlm-model-latest
Expand All @@ -31,7 +32,7 @@ jobs:
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: load_latest_hf_model
if: ${{ matrix.transformers-version }} == 'latest'
if: matrix.transformers-version == 'latest'
run: |
conda create -n internlm-model-latest --clone ${CONDA_BASE_ENV}
source activate internlm-model-latest
Expand Down

0 comments on commit 5624067

Please sign in to comment.