Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
5b7a225f
Unverified
Commit
5b7a225f
authored
May 07, 2024
by
Zach Mueller
Committed by
GitHub
May 07, 2024
Browse files
Pin deepspeed (#30701)
pin ds
parent
cf7bed98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docker/transformers-pytorch-deepspeed-latest-gpu/Dockerfile
docker/transformers-pytorch-deepspeed-latest-gpu/Dockerfile
+1
-1
No files found.
docker/transformers-pytorch-deepspeed-latest-gpu/Dockerfile
View file @
5b7a225f
...
...
@@ -42,7 +42,7 @@ RUN python3 -m pip uninstall -y deepspeed
# This has to be run (again) inside the GPU VMs running the tests.
# The installation works here, but some tests fail, if we don't pre-build deepspeed again in the VMs running the tests.
# TODO: Find out why test fail.
RUN
DS_BUILD_CPU_ADAM
=
1
DS_BUILD_FUSED_ADAM
=
1 python3
-m
pip
install
deepspeed
--global-option
=
"build_ext"
--global-option
=
"-j8"
--no-cache
-v
--disable-pip-version-check
2>&1
RUN
DS_BUILD_CPU_ADAM
=
1
DS_BUILD_FUSED_ADAM
=
1 python3
-m
pip
install
"
deepspeed
<=0.14.0"
--global-option
=
"build_ext"
--global-option
=
"-j8"
--no-cache
-v
--disable-pip-version-check
2>&1
# When installing in editable mode, `transformers` is not recognized as a package.
# this line must be added in order for python to be aware of transformers.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment