File tree 3 files changed +7
-1
lines changed 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change
1
+ # WAR against https://github.com/advisories/GHSA-vqfr-h8mv-ghfj
2
+ h11>=0.16.0
Original file line number Diff line number Diff line change @@ -72,6 +72,9 @@ RUN bash ./install_pytorch.sh $TORCH_INSTALL_TYPE && rm install_pytorch.sh
72
72
RUN pip3 uninstall -y opencv && rm -rf /usr/local/lib/python3*/dist-packages/cv2/
73
73
RUN pip3 install opencv-python-headless --force-reinstall --no-deps --no-cache-dir
74
74
75
+ # WAR against https://github.com/advisories/GHSA-vqfr-h8mv-ghfj
76
+ RUN pip3 install --upgrade h11>=0.16 --no-cache-dir
77
+
75
78
76
79
FROM ${TRITON_IMAGE}:${TRITON_BASE_TAG} AS triton
77
80
@@ -102,7 +105,7 @@ COPY benchmarks benchmarks
102
105
COPY scripts scripts
103
106
COPY tensorrt_llm tensorrt_llm
104
107
COPY 3rdparty 3rdparty
105
- COPY .gitmodules setup.py requirements.txt requirements-dev.txt ./
108
+ COPY .gitmodules setup.py requirements.txt requirements-dev.txt constraints.txt ./
106
109
107
110
# Create cache directories for pip and ccache
108
111
RUN mkdir -p /root/.cache/pip /root/.cache/ccache
Original file line number Diff line number Diff line change 1
1
--extra-index-url https://download.pytorch.org/whl/cu128
2
+ -c constraints.txt
2
3
accelerate >= 0.25.0
3
4
build
4
5
colored
You can’t perform that action at this time.
0 commit comments