找回密码
 立即注册
搜索
查看: 358|回复: 1

stable-diffusion-webui-directml AMD专用版2023/6/17

[复制链接]

986

主题

92

回帖

5万

积分

管理员

积分
55255
发表于 2023-6-13 14:00:05 | 显示全部楼层 |阅读模式
venv "D:\stable-diffusion-webui-directml\venv\Scripts\Python.exe"9 z. s, ^" k# H( d) b/ f
fatal: No names found, cannot describe anything.+ U! O( z! }4 O& }  Y4 |
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
# }1 l/ \7 g  W7 _Version: <none>- m* D* d5 Q4 I! Q
Commit hash: ebf229bd1727a0f8f0d149829ce82e2012ba7318; _' N$ t% \7 u9 S/ c1 w
Installing requirements
( Y' w& j8 D  x; s9 G! ZLaunching Web UI with arguments: --autolaunch
/ U: D3 f7 C* _% B4 LNo module 'xformers'. Proceeding without it.6 q  x3 u" {" I( F, A8 z
Warning: caught exception 'Torch not compiled with CUDA enabled', memory monitor disabled
( y6 Z. r% K* N" H2 T5 JLoading weights [fc2511737a] from D:\stable-diffusion-webui-directml\models\Stable-diffusion\chilloutmix_NiPrunedFp32Fix.safetensors) f3 t! q- E  H1 f$ S% X9 _3 g
Creating model from config: D:\stable-diffusion-webui-directml\configs\v1-inference.yaml) P7 l) j3 e$ X/ v+ g
LatentDiffusion: Running in eps-prediction mode
' b/ O* J. y4 r6 YRunning on local URL:  http://127.0.0.1:7860
% v/ b+ @' \$ D; J
2 v9 u2 M* ~2 x+ A1 HTo create a public link, set `share=True` in `launch()`.# `  K! t% A1 b* D) j
DiffusionWrapper has 859.52 M params.# ^# |9 u8 p/ A2 }
Startup time: 15.1s (import torch: 3.6s, import gradio: 2.8s, import ldm: 1.0s, other imports: 4.4s, setup codeformer: 0.1s, load scripts: 1.7s, create ui: 0.7s, gradio launch: 0.7s).& i4 K0 r1 ~/ X
Loading VAE weights found near the checkpoint: D:\stable-diffusion-webui-directml\models\VAE\chilloutmix_NiPrunedFp32Fix.vae.ckpt+ I; f! a. X9 ], @
Applying optimization: InvokeAI... done.
" ^5 h9 j( @8 M8 K+ w# O# uTextual inversion embeddings loaded(0):
+ a8 `4 s; j. ?& Y. n7 Z1 QModel loaded in 5.6s (load weights from disk: 1.1s, create model: 0.8s, apply weights to model: 0.9s, apply half(): 0.5s, load VAE: 0.6s, move model to device: 1.5s).

+ }! y8 }; \2 K3 @
6 T7 l3 v. t) W8 F1 X
version:  •  python: 3.10.6  •  torch: 2.0.0+cpu  •  xformers: N/A  •  gradio: 3.31.0  •  checkpoint: fc2511737a1 i$ \  K0 ], F; S. o1 v
Git-2.41.0-64-bit  M. M  S( G7 i2 l# b# m; I9 Q
python-3.10.6-amd64+ q7 ]5 K: f* C! x$ m
  l& u6 f- Z; o1 H
### Installation on Windows 10/11 with NVidia-GPUs using release package
2 d; R" X: W9 w1 {6 ^
, H% Q; f: T6 j( s1. Download `sd.webui.zip` from [v1.0.0-pre](https://github.com/AUTOMATIC1111 ... ases/tag/v1.0.0-pre) and extract it's contents.0 m+ }4 a/ M0 s. N; u7 E5 X
2. Run `update.bat`.& N# R$ i+ m8 B$ }' B7 i
3. Run `run.bat`.
" A. i$ y7 M$ F! c0 J   > For more details see [Install-and-Run-on-NVidia-GPUs](https://github.com/AUTOMATIC1111 ... -Run-on-NVidia-GPUs)
. I' R9 o. B! d5 H  n
0 [5 l  m1 r$ M1 I### Automatic Installation on Windows% C' b9 z. X9 E0 G; B" P! z

9 o$ Z1 V9 Q% S* h; i" Q/ ~1. Install [Python 3.10.6](https://www.python.org/downloads/release/python-3106/) (Newer version of Python does not support torch), checking "Add Python to PATH".
6 ~! k( S) g  {! m; W2. Install [git](https://git-scm.com/download/win).
8 h4 P7 w4 U8 G! B; y1 s3. Download the stable-diffusion-webui-directml repository, for example by running `git clone https://github.com/lshqqytiger/s ... ebui-directml.git`.
* u9 h5 d/ k1 v4 r: y, H. e4. Run `webui-user.bat` from Windows Explorer as normal, non-administrator, user.: c$ y$ F  B; E& |# P

* _2 m4 N/ N, U### Automatic Installation on Linux
0 {2 s8 N: |8 q" N; _/ {* a9 O& m) U$ e0 S% w9 \8 l
1. Install the dependencies:
: q# q' ]4 B7 B& N
' s1 A4 t9 T& w$ v```bash
5 K8 ?2 K  _/ o7 G% D# Debian-based:- R9 s( }" z$ U9 Z/ W% \8 P
sudo apt install wget git python3 python3-venv* ~0 |7 t) g" h2 s# D
# Red Hat-based:
' Y3 K, V% X/ D6 B6 g+ Nsudo dnf install wget git python3
' O* y. K) {- w' H# Arch-based:* @; ]: n! H( v* [
sudo pacman -S wget git python3
8 Q+ }+ a. l5 i```5 _# q. y# c8 K, l6 E
. P" u- }) s+ h. E  z
2. Navigate to the directory you would like the webui to be installed and execute the following command:7 u& f1 U: V9 {9 l
' @0 E. w! c, a
```bash+ R7 ^+ Z& ^( l5 A* [
bash <(wget -qO- https://raw.githubusercontent.co ... bui/master/webui.sh)
" m" u8 D! U3 D/ n6 Y2 b- J```0 H$ q" ?9 g$ o$ z8 g( ]: m7 r

- U. [/ ~" ^* e) P3. Run `webui.sh`.
7 M0 ?' {, N! O# X4. Check `webui-user.sh` for options.
# }. ^% Z/ I7 s( a4 D7 Q7 r. A: l# b! t6 }- Q. f' F
### Installation on Apple Silicon
+ s  [8 l1 c; U( U3 e. N5 _
. a0 I' y  V) U, `& x6 q; WFind the instructions [here](https://github.com/AUTOMATIC1111 ... on-on-Apple-Silicon).
1 o( C6 F/ u" d* g9 R# H, s3 r6 z
7 v! q  V$ \) d2 X. Z* j2 a## Contributing0 t% a  W) Q$ s0 M

, H: }: m9 h; FHere's how to add code to this repo: [Contributing](https://github.com/AUTOMATIC1111 ... i/wiki/Contributing)
) T' D6 `1 i- R/ R+ Q) B
( B! ^$ a! u; n% R## Documentation
/ [" v- Q- v) X$ l; d/ q4 x
, q: b. a6 z- h: N6 ^The documentation was moved from this README over to the project's [wiki](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki).  f/ F0 b, u+ l' m
5 J/ v: P; A+ _6 A1 o# q: o
## Credits
* N$ a6 F& Q. L: ?. k
6 n' S2 V" g' O, Q' I$ z2 ULicenses for borrowed code can be found in `Settings -> Licenses` screen, and also in `html/licenses.html` file.+ o  s! w; y; [! o
/ W! K$ R$ r% e* a" B  a6 E
- Stable Diffusion - https://github.com/CompVis/stable-diffusion, https://github.com/CompVis/taming-transformers, p2 P# t% [" v1 l
- k-diffusion - https://github.com/crowsonkb/k-diffusion.git
3 F% Q% ~: S! s: k7 }! n+ D- GFPGAN - https://github.com/TencentARC/GFPGAN.git
' Q: G. f; S8 j3 s- n1 f- CodeFormer - https://github.com/sczhou/CodeFormer. k5 }- _9 [; V0 |
- ESRGAN - https://github.com/xinntao/ESRGAN
* J& |0 ]% N, M1 E- A/ B$ ^- SwinIR - https://github.com/JingyunLiang/SwinIR6 {) g: \1 B9 n0 ?2 R3 L# a9 k* T6 L
- Swin2SR - https://github.com/mv-lab/swin2sr
& u& n% W* P2 X, P0 H+ l( _- LDSR - https://github.com/Hafiidz/latent-diffusion: H% D9 x. u( m3 \
- MiDaS - https://github.com/isl-org/MiDaS
/ P) k0 x0 b  R: c- Ideas for optimizations - https://github.com/basujindal/stable-diffusion/ C9 x8 y1 w6 f" u( b" e, {0 v
- Cross Attention layer optimization - Doggettx - https://github.com/Doggettx/stable-diffusion, original idea for prompt editing.
: g4 @& d4 A* {) H. Z- g- Cross Attention layer optimization - InvokeAI, lstein - https://github.com/invoke-ai/InvokeAI (originally http://github.com/lstein/stable-diffusion)
( ]' }1 a$ n. U- Sub-quadratic Cross Attention layer optimization - Alex Birch (https://github.com/Birch-san/diffusers/pull/1), Amin Rezaei (https://github.com/AminRezaei0x443/memory-efficient-attention)
# X: o* A( C0 _6 n( _: j+ t- Textual Inversion - Rinon Gal - https://github.com/rinongal/textual_inversion (we're not using his code, but we are using his ideas).
' s  W1 ?# e& b! {* `  _" l+ `- Idea for SD upscale - https://github.com/jquesnelle/txt2imghd3 c/ d* Z! l) U2 Z3 [: g7 ^
- Noise generation for outpainting mk2 - https://github.com/parlance-zz/g-diffuser-bot
+ O& e3 o' {/ v3 `- CLIP interrogator idea and borrowing some code - https://github.com/pharmapsychotic/clip-interrogator
" {: p8 k$ L9 z6 |4 M( D, p- Idea for Composable Diffusion - https://github.com/energy-based- ... sion-Models-PyTorch9 {* B+ W/ S) ?' K+ E. t1 H' t
- xformers - https://github.com/facebookresearch/xformers- y- Z$ r! F- w7 ?
- DeepDanbooru - interrogator for anime diffusers https://github.com/KichangKim/DeepDanbooru, G# M. w/ X; z) J/ n5 V( f* B7 z7 s
- Sampling in float32 precision from a float16 UNet - marunine for the idea, Birch-san for the example Diffusers implementation (https://github.com/Birch-san/diffusers-play/tree/92feee6)
0 a6 l* c% e! d9 P2 t" l- Instruct pix2pix - Tim Brooks (star), Aleksander Holynski (star), Alexei A. Efros (no star) - https://github.com/timothybrooks/instruct-pix2pix* S  P* `- F3 t+ Z0 a  i
- Security advice - RyotaK
1 `( a1 ]+ P/ j9 F  r1 K- UniPC sampler - Wenliang Zhao - https://github.com/wl-zhao/UniPC
9 F3 Q6 [+ Q& A+ T1 u- TAESD - Ollin Boer Bohan - https://github.com/madebyollin/taesd
3 _& A4 x- R. t- }- Initial Gradio script - posted on 4chan by an Anonymous user. Thank you Anonymous user." L2 r& d6 ^' P( Y' _
- Olive - https://github.com/microsoft/Olive2 ]2 `! f' G: E
- (You)
/ G: K0 f: S" z# e7 D' h# Q1 R9 c9 O) J" ]

+ n% m6 X  f4 b3 R! R% R) [https://cloud.189.cn/t/FvqQbeZfYrui (访问码:9ur0)
必先安装运行环境:(安装包在网盘根目录下)
1.Git-2.41.0-64-bit
2.python-3.10.6-amd64,注意安装时选中安装"Add Python to PATH"
3.启动器运行依赖。net-dotnet-6.0.11
以上运行环境安装完毕后,打开根目录"webui-user.bat"等待数秒即可打开stable-diffusion-webui,若然是系统自带IE浏览器打开的话,需要手动指定版本更高的Edge进入地址:http://127.0.0.1:7860

0

主题

4

回帖

104

积分

游客

积分
104
发表于 2023-6-13 22:22:48 | 显示全部楼层
下載.看好不好用
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|

GMT+8, 2026-3-22 02:37 AM , Processed in 0.094752 second(s), 23 queries .

Powered by xyh-moon X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表