Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
ydshieh committed May 29, 2024
1 parent 8a4e94a commit 6f2c686
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/self-scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,18 @@ jobs:
run: rm -rf /github/home/.cache/torch_extensions/

# To avoid unknown test failures
- name: Pre build DeepSpeed *again*
- name: Pre build DeepSpeed *again* (for daily CI)
if: ${{ inputs.docker == 'huggingface/transformers-pytorch-deepspeed-latest-gpu' }}
working-directory: /workspace
run: |
python3 -m pip uninstall -y deepspeed
rm -rf DeepSpeed
git clone https://github.com/microsoft/DeepSpeed && cd DeepSpeed && rm -rf build
DS_BUILD_CPU_ADAM=1 DS_BUILD_FUSED_ADAM=1 python3 -m pip install . --global-option="build_ext" --global-option="-j8" --no-cache -v --disable-pip-version-check
# To avoid unknown test failures
- name: Pre build DeepSpeed *again* (for nightly CI)
if: ${{ inputs.docker == 'huggingface/transformers-pytorch-deepspeed-nightly-gpu' }}
working-directory: /workspace
run: |
python3 -m pip uninstall -y deepspeed
Expand Down

0 comments on commit 6f2c686

Please sign in to comment.