Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
Stable Diffusion Webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
novelai-storage
Stable Diffusion Webui
Commits
c32ab44f
Commit
c32ab44f
authored
Sep 03, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update cuda and requirements
parent
b08e12d7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
30 deletions
+33
-30
Dockerfile
Dockerfile
+3
-3
requirements.txt
requirements.txt
+30
-27
No files found.
Dockerfile
View file @
c32ab44f
FROM
nvidia/cuda:1
1.8.0
-cudnn8-devel-ubuntu22.04 as base
FROM
nvidia/cuda:1
2.1.1
-cudnn8-devel-ubuntu22.04 as base
RUN
apt update
\
RUN
apt update
\
&&
apt-key adv
--fetch-keys
\
&&
apt-key adv
--fetch-keys
\
...
@@ -8,7 +8,7 @@ RUN apt update \
...
@@ -8,7 +8,7 @@ RUN apt update \
RUN
useradd
-ms
/bin/bash sd
RUN
useradd
-ms
/bin/bash sd
USER
sd
USER
sd
RUN
pip
install
--no-cache-dir
torch
==
2.
0.1
torchvision
==
0.15.2
--extra-index-url
https://download.pytorch.org/whl/cu118
RUN
pip
install
--no-cache-dir
torch
==
2.
1.2
torchvision
==
0.16.2
--extra-index-url
https://download.pytorch.org/whl/cu121
RUN
mkdir
/home/sd/stable-diffusion-webui
RUN
mkdir
/home/sd/stable-diffusion-webui
WORKDIR
/home/sd/stable-diffusion-webui
WORKDIR
/home/sd/stable-diffusion-webui
...
@@ -49,7 +49,7 @@ RUN mkdir repositories && \
...
@@ -49,7 +49,7 @@ RUN mkdir repositories && \
pip install --no-cache-dir \
pip install --no-cache-dir \
# install requirements of Stable Diffusion
# install requirements of Stable Diffusion
transformers==4.
19
.2 diffusers invisible-watermark triton \
transformers==4.
30
.2 diffusers invisible-watermark triton \
# install k-diffusion
# install k-diffusion
git+https://github.com/crowsonkb/k-diffusion.git \
git+https://github.com/crowsonkb/k-diffusion.git \
...
...
requirements.txt
View file @
c32ab44f
GitPython
GitPython
==3.1.32
Pillow
Pillow
==9.5.0
accelerate
accelerate
==0.21.0
blendmodes
==2022
blendmodes
clean-fid
==0.1.35
clean-fid
diskcache
==5.6.3
diskcache
einops
==0.4.1
einops
facexlib
==0.3.0
facexlib
fastapi
==0.94.0
fastapi
>=0.90.1
pydantic
==1.10.8
pydantic
==1.10.8
gfpgan
gfpgan
gradio
==3.41.2
gradio
==3.41.2
inflection
inflection
==0.5.1
jsonmerge
jsonmerge
==1.8.0
kornia
kornia
==0.6.7
lark
lark
==1.1.2
numpy
numpy
==1.26.2
omegaconf
omegaconf
==2.2.3
open-clip-torch
open-clip-torch
==2.20.0
piexif
==1.1.3
piexif
protobuf
==3.20.0
protobuf
==3.20.0
psutil
psutil
==5.9.5
pytorch_lightning
==1.9.4
pytorch_lightning
==1.9.4
realesrgan
realesrgan
requests
requests
resize-right
resize-right
==0.0.2
safetensors
==0.4.2
safetensors
scikit-image
==0.21.0
scikit-image
>=0.19
tomesd
==0.1.3
tomesd
torch
torch
torchdiffeq
torchdiffeq
==0.2.3
torchsde
torchsde
==0.2.6
transformers
==4.30.2
transformers
==4.30.2
pillow-avif-plugin
==1.4.3
pillow-avif-plugin
==1.4.3
# 额外补充(在 versions 里有,但原 requirements.txt 里没有)
httpcore
==0.15
spandrel
==0.3.4
spandrel-extra-arches
==0.1.1
httpx
==0.24.1
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment