Skip to content

Commit

Permalink
fix env step
Browse files Browse the repository at this point in the history
  • Loading branch information
kkscilife committed Jan 23, 2024
1 parent a92745e commit c85e2b6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/daily_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,20 @@ jobs:
pip install transformers
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
clear_env:
runs-on: [t_cluster]
timeout-minutes: 10
steps:
- name: mask env
run: |
echo "::add-mask::${{env.WORKSPACE_PREFIX}}"
needs: [HF_model]
if: ${{ !cancelled() }}
steps:
- name: remove_env
run: |
conda deactivate
conda env remove --name internlm-model-latest
notify_to_feishu:
Expand Down

0 comments on commit c85e2b6

Please sign in to comment.