Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for HF integrations CI #4769

Closed
wants to merge 21 commits into from
Closed
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
a57b3d3
update to newer version of cuda/torch
mrwyattii Dec 4, 2023
4e670ef
Update nv-accelerate-v100.yml
mrwyattii Dec 4, 2023
f49cce9
Update torch version
loadams Dec 4, 2023
91c1bcc
use latest transformers
mrwyattii Dec 13, 2023
2ebd7a9
fixes for user arg parsing
mrwyattii Dec 14, 2023
37d417a
add test for user args that have mixture of quotations
mrwyattii Dec 14, 2023
0e4ee49
skip when GPU not found
mrwyattii Dec 14, 2023
7369762
fix skip statement
mrwyattii Dec 14, 2023
5ccdfed
exclude failing tests
mrwyattii Dec 14, 2023
66c5656
Merge branch 'master' into mrwyattii/fix-accelerate-tests
mrwyattii Dec 14, 2023
0b524fe
Update deepspeed/launcher/runner.py
mrwyattii Dec 14, 2023
f9c19f8
Update .github/workflows/nv-transformers-v100.yml
mrwyattii Dec 15, 2023
9daa4c7
Merge branch 'master' into mrwyattii/fix-accelerate-tests
loadams Dec 18, 2023
cbefb40
Merge branch 'master' into mrwyattii/fix-accelerate-tests
loadams Jan 4, 2024
17287f8
Merge branch 'master' into mrwyattii/fix-accelerate-tests
loadams Jan 24, 2024
462d177
Merge branch 'master' into mrwyattii/fix-accelerate-tests
loadams Jan 25, 2024
10b563a
Merge branch 'master' into mrwyattii/fix-accelerate-tests
loadams Feb 15, 2024
598bf8f
Merge branch 'master' into mrwyattii/fix-accelerate-tests
loadams Aug 21, 2024
89ea5b6
Merge branch 'master' into mrwyattii/fix-accelerate-tests
loadams Aug 22, 2024
fe447d3
Merge branch 'master' into mrwyattii/fix-accelerate-tests
loadams Jan 7, 2025
5cd2934
Merge branch 'master' into mrwyattii/fix-accelerate-tests
loadams Jan 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions .github/workflows/nv-transformers-v100.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,13 @@ jobs:
git clone https://github.com/huggingface/transformers
cd transformers
# if needed switch to the last known good SHA until transformers@master is fixed
git checkout e7e9261a2
#git checkout e7e9261a2
git rev-parse --short HEAD
pip install .
pip install .[testing]
# find reqs used in ds integration tests
find examples/pytorch -regextype posix-egrep -regex '.*(language-modeling|question-answering|summarization|image-classification|text-classification|translation).*/requirements.txt' -exec grep -v 'torch' {} \; | xargs -I {} pip install --upgrade {}
# force protobuf version due to issues
pip install "protobuf<4.21.0"

- name: Install deepspeed
run: |
Expand All @@ -55,10 +59,4 @@ jobs:
run: |
unset TORCH_CUDA_ARCH_LIST # only jit compile for current arch
cd transformers
pip install .[testing]
# find reqs used in ds integration tests
find examples/pytorch -regextype posix-egrep -regex '.*(language-modeling|question-answering|summarization|image-classification|text-classification|translation).*/requirements.txt' -exec grep -v 'torch' {} \; | xargs -I {} pip install --upgrade {}
# force protobuf version due to issues
pip install "protobuf<4.21.0"
pip list
WANDB_DISABLED=true RUN_SLOW=1 pytest $PYTEST_OPTS tests/deepspeed
CUDA_LAUNCH_BLOCKING=1 WANDB_DISABLED=true RUN_SLOW=1 pytest $PYTEST_OPTS tests/deepspeed -k "not zero_to_fp32_zero3_qa_mpnet and not zero_to_fp32_zero3_mlm_funnel and not zero_to_fp32_zero3_trans_m2m_100 and not zero_to_fp32_zero3_mlm_flaubert and not zero_to_fp32_zero3_trans_marian and not zero_to_fp32_zero3_clm_prophetnet and not zero_to_fp32_zero3_clas_bert and not zero_to_fp32_zero3_trans_fsmt"