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
66ded238
Commit
66ded238
authored
Jul 01, 2023
by
ydshieh
Browse files
fix pydantic install command
parent
d51aa48a
Changes
1
Show 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 @
66ded238
...
@@ -50,5 +50,5 @@ RUN DS_BUILD_CPU_ADAM=1 DS_BUILD_FUSED_ADAM=1 DS_BUILD_UTILS=1 python3 -m pip in
...
@@ -50,5 +50,5 @@ RUN DS_BUILD_CPU_ADAM=1 DS_BUILD_FUSED_ADAM=1 DS_BUILD_UTILS=1 python3 -m pip in
RUN
cd
transformers
&&
python3 setup.py develop
RUN
cd
transformers
&&
python3 setup.py develop
# The base image ships with `pydantic==1.8.2` which is not working - i.e. the next command fails
# The base image ships with `pydantic==1.8.2` which is not working - i.e. the next command fails
RUN
python3
-m
pip
install
-U
--no-cache-dir
pydantic<2
RUN
python3
-m
pip
install
-U
--no-cache-dir
"
pydantic<2
"
RUN
python3
-c
"from deepspeed.launcher.runner import main"
RUN
python3
-c
"from deepspeed.launcher.runner import main"
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