Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
awesome-stable-diffusion
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
yitong-public
awesome-stable-diffusion
Commits
746367b7
Commit
746367b7
authored
Jul 11, 2023
by
孙傲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
适配autoDL安装
parent
ccd1a19e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
stable-diffusion-webui/modules/launch_utils.py
stable-diffusion-webui/modules/launch_utils.py
+4
-4
stable-diffusion-webui/webui-user.sh
stable-diffusion-webui/webui-user.sh
+6
-3
No files found.
stable-diffusion-webui/modules/launch_utils.py
View file @
746367b7
...
...
@@ -296,10 +296,10 @@ def prepare_environment():
os
.
makedirs
(
os
.
path
.
join
(
script_path
,
dir_repos
),
exist_ok
=
True
)
git_clone
(
stable_diffusion_repo
,
repo_dir
(
'stable-diffusion-stability-ai'
),
"Stable Diffusion"
,
stable_diffusion_commit_hash
)
git_clone
(
k_diffusion_repo
,
repo_dir
(
'k-diffusion'
),
"K-diffusion"
,
k_diffusion_commit_hash
)
git_clone
(
codeformer_repo
,
repo_dir
(
'CodeFormer'
),
"CodeFormer"
,
codeformer_commit_hash
)
git_clone
(
blip_repo
,
repo_dir
(
'BLIP'
),
"BLIP"
,
blip_commit_hash
)
#
git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash)
#
git_clone(k_diffusion_repo, repo_dir('k-diffusion'), "K-diffusion", k_diffusion_commit_hash)
#
git_clone(codeformer_repo, repo_dir('CodeFormer'), "CodeFormer", codeformer_commit_hash)
#
git_clone(blip_repo, repo_dir('BLIP'), "BLIP", blip_commit_hash)
if
not
is_installed
(
"lpips"
):
run_pip
(
f"install -r
\"
{
os
.
path
.
join
(
repo_dir
(
'CodeFormer'
),
'requirements.txt'
)
}
\"
"
,
"requirements for CodeFormer"
)
...
...
stable-diffusion-webui/webui-user.sh
View file @
746367b7
...
...
@@ -4,13 +4,13 @@
#########################################################
# Install directory without trailing slash
install_dir
=
"/
dev/shm
/stable-diffusion/"
install_dir
=
"/
root
/stable-diffusion/"
# Name of the subdirectory
#clone_dir="stable-diffusion-webui"
# Commandline arguments for webui.py, for example: export COMMANDLINE_ARGS="--medvram --opt-split-attention"
export
COMMANDLINE_ARGS
=
"--xformers"
export
COMMANDLINE_ARGS
=
"--xformers
--port 6006
"
# python3 executable
#python_cmd="python3"
...
...
@@ -32,7 +32,10 @@ export COMMANDLINE_ARGS="--xformers"
# Fixed git repos
#export K_DIFFUSION_PACKAGE=""
#export GFPGAN_PACKAGE=""
export
GFPGAN_PACKAGE
=
"https://public.yitong.com/mirrors/github.com/TencentARC/GFPGAN/archive/8d2447a2d918f8eba5a4a01463fd48e45126a379.zip"
export
CLIP_PACKAGE
=
"https://public.yitong.com/mirrors/github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip"
export
OPENCLIP_PACKAGE
=
"https://public.yitong.com/mirrors/github.com/mlfoundations/open_clip/archive/bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b.zip"
# Fixed git commits
#export STABLE_DIFFUSION_COMMIT_HASH=""
...
...
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