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
94f8e21c
Unverified
Commit
94f8e21c
authored
Dec 14, 2022
by
Yih-Dar
Committed by
GitHub
Dec 14, 2022
Browse files
Install `torch-tensorrt 1.3.0` for DeepSpeed CI (#20764)
Co-authored-by:
ydshieh
<
ydshieh@users.noreply.github.com
>
parent
7b23a582
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
docker/transformers-pytorch-deepspeed-latest-gpu/Dockerfile
docker/transformers-pytorch-deepspeed-latest-gpu/Dockerfile
+1
-2
No files found.
docker/transformers-pytorch-deepspeed-latest-gpu/Dockerfile
View file @
94f8e21c
...
...
@@ -22,8 +22,7 @@ RUN python3 -m pip install --no-cache-dir -U torch==$PYTORCH torchvision torchau
RUN
python3
-m
pip
install
--no-cache-dir
./transformers[deepspeed-testing]
# The base image ships with `torch_tensorrt` which currently causes the DeepSpeed CI fail from test collection
RUN
python3
-m
pip uninstall
-y
torch_tensorrt
RUN
python3
-m
pip
install
torch-tensorrt
==
1.3.0
--find-links
https://github.com/pytorch/TensorRT/releases/expanded_assets/v1.3.0
# Pre-build **latest** DeepSpeed, so it would be ready for testing (otherwise, the 1st deepspeed test will timeout)
RUN
python3
-m
pip uninstall
-y
deepspeed
...
...
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