Skip to content

Commit c456831

Browse files
committed
fixed torch2trt
1 parent 513f577 commit c456831

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python-pytorch/Dockerfile.1.8-py38-cuda11.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RUN python3 -m pip uninstall -y torch && \
2828

2929
# torch2trt PyTorch to TensorRT converter which utilizes the TensorRT Python API
3030
WORKDIR /tmp
31-
RUN git clone https://github.com/NVIDIA-AI-IOT/torch2trt /tmp/torch2trt && \
31+
RUN git clone --branch=v0.3.0 https://github.com/NVIDIA-AI-IOT/torch2trt /tmp/torch2trt && \
3232
cd /tmp/torch2trt && \
3333
python3 setup.py install --plugins && \
3434
rm -fr /tmp/torch2trt

0 commit comments

Comments
 (0)