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
75a653a9
Commit
75a653a9
authored
Jun 07, 2023
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update cuda and latest torch
parent
e0531221
Pipeline
#22159
failed with stages
in 30 minutes and 17 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
.gitlab-ci.yml
.gitlab-ci.yml
+8
-8
Dockerfile
Dockerfile
+5
-5
No files found.
.gitlab-ci.yml
View file @
75a653a9
...
...
@@ -38,10 +38,10 @@ build-xformers-8.6:
variables
:
GRAPHIC_VERSION
:
'
8.6'
# 30xx or A4000 A5000
#
build-xformers-8.9:
#
extends: .build-xformers
#
variables:
#
GRAPHIC_VERSION: '8.9' # 40xx
build-xformers-8.9
:
extends
:
.build-xformers
variables
:
GRAPHIC_VERSION
:
'
8.9'
# 40xx
build-xformers-6.1
:
extends
:
.build-xformers
...
...
@@ -85,10 +85,10 @@ deploy-xformers-8.6:
variables
:
GRAPHIC_VERSION
:
'
8.6'
#
deploy-xformers-8.9:
#
extends: .deploy-xformers
#
variables:
#
GRAPHIC_VERSION: '8.9'
deploy-xformers-8.9
:
extends
:
.deploy-xformers
variables
:
GRAPHIC_VERSION
:
'
8.9'
deploy-xformers-6.1
:
extends
:
.deploy-xformers
...
...
Dockerfile
View file @
75a653a9
FROM
nvidia/cuda:1
1.7
.1-cudnn8-devel-ubuntu22.04 as base
FROM
nvidia/cuda:1
2.0
.1-cudnn8-devel-ubuntu22.04 as base
RUN
apt update
\
&&
apt-key adv
--fetch-keys
\
...
...
@@ -8,14 +8,14 @@ RUN apt update \
RUN
useradd
-ms
/bin/bash sd
USER
sd
RUN
pip
install
--no-cache-dir
torch
==
1.13.1+cu117
torchvision
==
0.14.1+cu117
--extra-index-url
https://download.pytorch.org/whl/cu117
RUN
pip
install
--no-cache-dir
torch
==
2.0.1
torchvision
==
0.15.2
--extra-index-url
https://download.pytorch.org/whl/cu118
RUN
mkdir
/home/sd/stable-diffusion-webui
WORKDIR
/home/sd/stable-diffusion-webui
RUN
mkdir
repositories
&&
\
git clone --depth=1 https://github.com/Stability-AI/stablediffusion.git repositories/stable-diffusion-stability-ai && \
cd repositories/stable-diffusion-stability-ai && git fetch origin
47b6b607fdd31875c9279cd2f4f16b92e4ea958e && git checkout 47b6b607fdd31875c9279cd2f4f16b92e4ea958e
&& \
cd repositories/stable-diffusion-stability-ai && git fetch origin
cf1d67a6fd5ea1aa600c4df58e5b47da45f6bdbf && git checkout cf1d67a6fd5ea1aa600c4df58e5b47da45f6bdbf
&& \
python3 setup.py install --user && \
cd ../.. && \
...
...
@@ -32,7 +32,7 @@ RUN mkdir repositories && \
cd ../.. && \
git clone --depth=1 https://github.com/crowsonkb/k-diffusion.git repositories/k-diffusion && \
cd repositories/k-diffusion && git fetch origin
5b3af030dd83e0297272d861c19477735d0317ec && git checkout 5b3af030dd83e0297272d861c19477735d0317ec
&& \
cd repositories/k-diffusion && git fetch origin
c9fe758757e022f05ca5a53fa8fac28889e4f1cf && git checkout c9fe758757e022f05ca5a53fa8fac28889e4f1cf
&& \
cd ../.. && \
git clone --depth=1 https://github.com/Hafiidz/latent-diffusion repositories/latent-diffusion && \
...
...
@@ -59,7 +59,7 @@ RUN mkdir repositories && \
git+https://github.com/mlfoundations/open_clip.git@bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b \
# install xformers
# git+https://github.com/facebookresearch/xformers.git@v0.0.
13
#egg=xformers \
# git+https://github.com/facebookresearch/xformers.git@v0.0.
20
#egg=xformers \
# install deepdanbooru
git+https://github.com/KichangKim/DeepDanbooru.git@05eb3c39b0fae43e3caf39df801615fe79b27c2f
#egg=deepdanbooru[tensorflow] tensorflow tensorflow-io \
...
...
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