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

[CI] use latest transformers #4388

Closed
wants to merge 22 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
f0d0a1d
use latest transformers
jeffra Sep 22, 2023
8132105
Merge branch 'master' into jeffra/latest-hf
loadams Sep 25, 2023
b16ce3a
Merge branch 'master' into jeffra/latest-hf
loadams Sep 28, 2023
8d86edf
Merge branch 'master' into jeffra/latest-hf
loadams Oct 4, 2023
8e09b1f
Merge branch 'master' into jeffra/latest-hf
loadams Oct 10, 2023
adfec6c
Merge branch 'master' into jeffra/latest-hf
loadams Oct 10, 2023
47df4b7
Update torch version?
loadams Oct 11, 2023
f3b9c2d
Merge branch 'master' into jeffra/latest-hf
loadams Oct 11, 2023
0acd811
Merge branch 'master' into jeffra/latest-hf
loadams Oct 11, 2023
b1061c7
Merge branch 'master' into jeffra/latest-hf
loadams Oct 18, 2023
1ae3f70
Remove specifier?
loadams Oct 25, 2023
80e2bc3
Merge branch 'master' into jeffra/latest-hf
loadams Nov 9, 2023
fccaf07
Merge branch 'master' into jeffra/latest-hf
jeffra Nov 13, 2023
0b40a5e
Merge branch 'master' into jeffra/latest-hf
loadams Nov 14, 2023
c8c4683
Update transformers verison
loadams Nov 14, 2023
899f659
Merge branch 'master' into jeffra/latest-hf
loadams Nov 14, 2023
81a2bcd
Merge branch 'master' into jeffra/latest-hf
loadams Dec 11, 2023
39b3b3f
Disable checkout
loadams Dec 11, 2023
ff19bc5
Merge branch 'master' into jeffra/latest-hf
loadams Dec 11, 2023
9c2a2f4
Add workflow dispatch
loadams Dec 11, 2023
103c44c
Merge branch 'jeffra/latest-hf' of https://github.com/microsoft/DeepS…
loadams Dec 11, 2023
7ce69ce
Revert "Fix for when prompt contains an odd num of apostrophes (#4660)"
loadams Dec 11, 2023
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
5 changes: 3 additions & 2 deletions .github/workflows/nv-transformers-v100.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- 'blogs/**'
- 'deepspeed/inference/v2/**'
- "tests/unit/inference/v2/**"
workflow_dispatch:
merge_group:
branches: [ master ]
schedule:
Expand All @@ -29,7 +30,7 @@ jobs:
- name: Install pytorch
run: |
# use the same pytorch version as transformers CI
pip install -U --cache-dir $TORCH_CACHE torch==2.0.1+cu118 --index-url https://download.pytorch.org/whl/cu118
pip install -U --cache-dir $TORCH_CACHE torch==2.1.0 --index-url https://download.pytorch.org/whl/cu118
python -c "import torch; print('torch:', torch.__version__, torch)"
python -c "import torch; print('CUDA available:', torch.cuda.is_available())"

Expand All @@ -38,7 +39,7 @@ 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 f370bebdc
git rev-parse --short HEAD
pip install .

Expand Down
2 changes: 1 addition & 1 deletion deepspeed/launcher/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ def main(args=None):
args = parse_args(args)

# For when argparse interprets remaining args as a single string
args.user_args = shlex.split(" ".join(list(map(lambda x: x if x.startswith("-") else f'"{x}"', args.user_args))))
args.user_args = shlex.split(" ".join(list(map(lambda x: x if x.startswith("-") else f"'{x}'", args.user_args))))

if args.elastic_training:
assert args.master_addr != "", "Master Addr is required when elastic training is enabled"
Expand Down
Loading