Skip to content

Commit 528367f

Browse files
authored
Update Dockerfile.gtx
trying to get it to work on a newer GFX card
1 parent f50298a commit 528367f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

services/forge/Dockerfile.gtx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ RUN . /clone.sh stable-diffusion-webui-assets https://github.com/AUTOMATIC1111/s
1616
RUN . /clone.sh huggingface_guess https://github.com/lllyasviel/huggingface_guess.git 70942022b6bcd17d941c1b4172804175758618e2
1717

1818

19-
FROM pytorch/pytorch:2.3.1-cuda12.1-cudnn8-runtime
19+
#FROM pytorch/pytorch:2.3.1-cuda12.1-cudnn8-runtime
20+
FROM pytorch/pytorch:2.7.0-cuda12.8-cudnn9-runtime
2021

2122
ENV DEBIAN_FRONTEND=noninteractive PIP_PREFER_BINARY=1
2223

@@ -101,10 +102,10 @@ RUN --mount=type=cache,target=/root/.cache/codeformer pip install -r ${ROOT}/rep
101102
# cp -r /tmp/huggingface_guess/huggingface_guess ${ROOT}/huggingface_guess
102103

103104
# Ensure torchvision is correctly installed
104-
RUN --mount=type=cache,target=/root/.cache/torch pip install torchvision==0.18.1
105+
#RUN --mount=type=cache,target=/root/.cache/torch pip install torchvision==0.18.1
105106

106107
RUN --mount=type=cache,target=/root/.cache/repos \
107-
pip install pyngrok xformers==0.0.27 pytorch_lightning torchdiffeq torchsde \
108+
pip install pyngrok pytorch_lightning torchdiffeq torchsde \
108109
git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379 \
109110
git+https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1 \
110111
git+https://github.com/mlfoundations/[email protected]

0 commit comments

Comments
 (0)