Install torch-tensorrt 1.3.0 for DeepSpeed CI (#20764)

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
Yih-Dar
2022-12-14 17:30:36 +01:00
committed by GitHub
parent 7b23a582b9
commit 94f8e21c70

View File

@@ -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