Skip to content

Commit c1e0d88

Browse files
WAR against GHSA-vqfr-h8mv-ghfj
Signed-off-by: Martin Marciniszyn Mehringer <[email protected]>
1 parent aeb5c9f commit c1e0d88

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

constraints.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# WAR against https://github.com/advisories/GHSA-vqfr-h8mv-ghfj
2+
h11>=0.16.0

docker/Dockerfile.multi

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ RUN bash ./install_pytorch.sh $TORCH_INSTALL_TYPE && rm install_pytorch.sh
7272
RUN pip3 uninstall -y opencv && rm -rf /usr/local/lib/python3*/dist-packages/cv2/
7373
RUN pip3 install opencv-python-headless --force-reinstall --no-deps --no-cache-dir
7474

75+
# WAR against https://github.com/advisories/GHSA-vqfr-h8mv-ghfj
76+
RUN pip3 install --upgrade h11>=0.16 --no-cache-dir
77+
7578

7679
FROM ${TRITON_IMAGE}:${TRITON_BASE_TAG} AS triton
7780

@@ -102,7 +105,7 @@ COPY benchmarks benchmarks
102105
COPY scripts scripts
103106
COPY tensorrt_llm tensorrt_llm
104107
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 ./
106109

107110
# Create cache directories for pip and ccache
108111
RUN mkdir -p /root/.cache/pip /root/.cache/ccache

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
--extra-index-url https://download.pytorch.org/whl/cu128
2+
-c constraints.txt
23
accelerate>=0.25.0
34
build
45
colored

0 commit comments

Comments
 (0)