Uninstall torch_tensorrt in DeepSpeed CI image for now (#20758)

Uninstall torch_tensorrt for now

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
Yih-Dar
2022-12-13 22:25:47 +01:00
committed by GitHub
parent ba9da49aa2
commit d994473b05

View File

@@ -22,6 +22,9 @@ 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
# 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
# This has to be run (again) inside the GPU VMs running the tests.