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
4603fe9b
Unverified
Commit
4603fe9b
authored
Apr 19, 2023
by
Yih-Dar
Committed by
GitHub
Apr 19, 2023
Browse files
use `accelerate@main` in CI (#22859)
fix Co-authored-by:
ydshieh
<
ydshieh@users.noreply.github.com
>
parent
337225ec
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
docker/transformers-pytorch-deepspeed-latest-gpu/Dockerfile
docker/transformers-pytorch-deepspeed-latest-gpu/Dockerfile
+2
-0
docker/transformers-pytorch-deepspeed-nightly-gpu/Dockerfile
docker/transformers-pytorch-deepspeed-nightly-gpu/Dockerfile
+2
-0
No files found.
docker/transformers-pytorch-deepspeed-latest-gpu/Dockerfile
View file @
4603fe9b
...
@@ -22,6 +22,8 @@ RUN python3 -m pip install --no-cache-dir -U torch==$PYTORCH torchvision torchau
...
@@ -22,6 +22,8 @@ RUN python3 -m pip install --no-cache-dir -U torch==$PYTORCH torchvision torchau
RUN
python3
-m
pip
install
--no-cache-dir
./transformers[deepspeed-testing]
RUN
python3
-m
pip
install
--no-cache-dir
./transformers[deepspeed-testing]
RUN
python3
-m
pip
install
--no-cache-dir
git+https://github.com/huggingface/accelerate@main#egg
=
accelerate
# Uninstall `torch-tensorrt` shipped with the base image
# Uninstall `torch-tensorrt` shipped with the base image
RUN
python3
-m
pip uninstall
-y
torch-tensorrt
RUN
python3
-m
pip uninstall
-y
torch-tensorrt
...
...
docker/transformers-pytorch-deepspeed-nightly-gpu/Dockerfile
View file @
4603fe9b
...
@@ -21,6 +21,8 @@ RUN python3 -m pip install --no-cache-dir -U --pre torch torchvision torchaudio
...
@@ -21,6 +21,8 @@ RUN python3 -m pip install --no-cache-dir -U --pre torch torchvision torchaudio
RUN
python3
-m
pip
install
--no-cache-dir
./transformers[deepspeed-testing]
RUN
python3
-m
pip
install
--no-cache-dir
./transformers[deepspeed-testing]
RUN
python3
-m
pip
install
--no-cache-dir
git+https://github.com/huggingface/accelerate@main#egg
=
accelerate
# Uninstall `torch-tensorrt` and `apex` shipped with the base image
# Uninstall `torch-tensorrt` and `apex` shipped with the base image
RUN
python3
-m
pip uninstall
-y
torch-tensorrt apex
RUN
python3
-m
pip uninstall
-y
torch-tensorrt apex
...
...
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