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

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

[复制链接]

979

主题

90

回帖

5万

积分

管理员

积分
53052
发表于 2023-6-13 14:00:05 | 显示全部楼层 |阅读模式
venv "D:\stable-diffusion-webui-directml\venv\Scripts\Python.exe"
5 \& h  N) i9 nfatal: No names found, cannot describe anything.- A4 t" ?8 [. l' R' B- ]
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
- K6 G" k' r9 c) G: SVersion: <none>
2 F& t+ `, y3 |& ~; P$ n7 @Commit hash: ebf229bd1727a0f8f0d149829ce82e2012ba73181 k' R, @5 x( I; w0 v. S
Installing requirements
( {2 A, m/ v4 I$ Q: U( |Launching Web UI with arguments: --autolaunch
" N, ~- l3 l7 s, s+ ^No module 'xformers'. Proceeding without it.
8 S' Q6 T- Z4 x5 [1 D+ y* LWarning: caught exception 'Torch not compiled with CUDA enabled', memory monitor disabled  y/ [. {; a" A9 T, o
Loading weights [fc2511737a] from D:\stable-diffusion-webui-directml\models\Stable-diffusion\chilloutmix_NiPrunedFp32Fix.safetensors
  d. ~' h8 w; U6 L8 N0 |Creating model from config: D:\stable-diffusion-webui-directml\configs\v1-inference.yaml
3 ~; c  C8 ]" K6 E. |5 \LatentDiffusion: Running in eps-prediction mode, ]! S4 n' k( x9 C. g
Running on local URL:  http://127.0.0.1:7860
9 p9 u9 S" F( }( x% [  [8 |/ Q) U9 s
To create a public link, set `share=True` in `launch()`.: n5 S: e/ y" b  j0 t* c, ?  S
DiffusionWrapper has 859.52 M params.
3 v0 L( O. m5 r7 f$ ^8 YStartup 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).
" l! ^; v: B' LLoading VAE weights found near the checkpoint: D:\stable-diffusion-webui-directml\models\VAE\chilloutmix_NiPrunedFp32Fix.vae.ckpt
1 _6 C9 T! w! QApplying optimization: InvokeAI... done.
7 `. S' q2 _# b6 N0 x4 iTextual inversion embeddings loaded(0):
5 [9 h/ Y$ A/ C6 y. 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).
- n& |' H; |& q* }& y' D

  A6 A* ?' S, w# H$ w  M$ y
version:  •  python: 3.10.6  •  torch: 2.0.0+cpu  •  xformers: N/A  •  gradio: 3.31.0  •  checkpoint: fc2511737a
# x9 M( `7 p6 I/ v+ c1 S8 A# N
Git-2.41.0-64-bit
% a1 U6 |- F- A* z* `
python-3.10.6-amd64
" Y: G  ^- h( B3 N
/ i3 q) f! H4 }( D
### Installation on Windows 10/11 with NVidia-GPUs using release package
" p; F: q0 h' C& k8 r3 J+ J
- j( m, ]! H& O9 f; _1. Download `sd.webui.zip` from [v1.0.0-pre](https://github.com/AUTOMATIC1111 ... ases/tag/v1.0.0-pre) and extract it's contents.% c+ ^2 x" [  l/ s
2. Run `update.bat`.9 U) {" o3 t: r9 y, d7 U/ R
3. Run `run.bat`.9 A  I! P$ _# N! o3 A
   > For more details see [Install-and-Run-on-NVidia-GPUs](https://github.com/AUTOMATIC1111 ... -Run-on-NVidia-GPUs)( j4 Y: A% w: H- L

0 k5 I( H. N- t1 u) Y" h* K4 {" E### Automatic Installation on Windows) K8 K3 \7 @( D

7 ]$ f8 \; g# }6 W6 y1. 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".
; t1 c+ m5 p: r8 e/ n* u2. Install [git](https://git-scm.com/download/win).& ^( M  s( E4 p: e2 C3 N
3. Download the stable-diffusion-webui-directml repository, for example by running `git clone https://github.com/lshqqytiger/s ... ebui-directml.git`.
0 ~/ [0 B+ z# m) B$ U( T4. Run `webui-user.bat` from Windows Explorer as normal, non-administrator, user.! B/ T. u" N& V7 Q: H
3 v; m% S" p. n, r2 b
### Automatic Installation on Linux
0 _1 j4 {3 o- @! o
  E7 g+ S2 h* J1. Install the dependencies:5 L/ G' C: O1 G% w
$ P! ^" U% }, x2 p# D5 k0 Q# h
```bash
' v8 U9 q5 P8 b# q8 ~# Debian-based:
  F: f* x" e  }+ |* f$ D- w4 w- Esudo apt install wget git python3 python3-venv- V  ^. g- x9 b: M1 e
# Red Hat-based:* m9 A. _3 o  v. e
sudo dnf install wget git python3* K9 x  K8 y  @
# Arch-based:2 X, }) o7 h: C
sudo pacman -S wget git python3
: L) @5 b/ {8 z& J  }```0 W5 T1 n" h0 H) q. y9 s# H
) S. A0 ?/ d" ~4 x5 T, Z/ A
2. Navigate to the directory you would like the webui to be installed and execute the following command:
  q! w7 S5 _& N& ^/ Q5 s% r+ _- z, |* {7 ]3 k7 c3 g0 n
```bash) N% J- g" n& J4 J
bash <(wget -qO- https://raw.githubusercontent.co ... bui/master/webui.sh)
; d; s3 K1 _0 h. b  L```
8 F  h% t1 o, d% i$ [& S) v: ~0 V+ k1 d5 v
3. Run `webui.sh`.
* i2 @! b+ V, s9 `4. Check `webui-user.sh` for options.
4 H9 O4 Z5 K- m
9 W* B" L- e) ^$ I8 q### Installation on Apple Silicon
) ]4 C4 e" p$ y9 y( E! t/ Z* z4 s$ Z, ^% c+ ^5 r1 P/ v
Find the instructions [here](https://github.com/AUTOMATIC1111 ... on-on-Apple-Silicon).. J4 e# Q% K/ U5 P& j5 m; m

% g1 H; {2 q7 U0 ^, ?## Contributing1 G$ D* n+ [6 r0 t. T% u0 P, j

: T; @" [& Y' U' `0 G' QHere's how to add code to this repo: [Contributing](https://github.com/AUTOMATIC1111 ... i/wiki/Contributing)/ l  |% Q, c* N. n

" j* v+ I3 ^( y## Documentation
; ]' Y9 w0 b4 B# w2 t; V8 L0 |2 @( r% ^0 S) }3 I" O8 _! Q
The documentation was moved from this README over to the project's [wiki](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki).
2 ?, p/ c( r8 J$ X% d5 y" v  V- V) {: x; m- `
## Credits. \0 }6 k7 ^2 Z0 G  n. b$ I. T
2 l0 ^0 w: z0 e+ N
Licenses for borrowed code can be found in `Settings -> Licenses` screen, and also in `html/licenses.html` file.
5 Z. _- U, U% w3 A! P0 I# H
6 x( m" x. @0 ~# r: j$ D- Stable Diffusion - https://github.com/CompVis/stable-diffusion, https://github.com/CompVis/taming-transformers& p, C4 E$ K$ A
- k-diffusion - https://github.com/crowsonkb/k-diffusion.git$ Y6 }' C6 n0 L0 W3 v7 z6 n9 o" ^
- GFPGAN - https://github.com/TencentARC/GFPGAN.git
6 V$ v6 }4 R& J6 k* j- CodeFormer - https://github.com/sczhou/CodeFormer
6 o/ q9 O  [" K- ESRGAN - https://github.com/xinntao/ESRGAN
( Z7 Y! G3 m, D3 H( _7 \- SwinIR - https://github.com/JingyunLiang/SwinIR$ B$ p, a7 [* z! z4 N8 p2 S
- Swin2SR - https://github.com/mv-lab/swin2sr
# v7 u% e( l; ^- A% Q* I- LDSR - https://github.com/Hafiidz/latent-diffusion
5 C; N6 @7 A' `8 `$ @" d- MiDaS - https://github.com/isl-org/MiDaS1 P' D- {) L) L$ l' g5 t- x
- Ideas for optimizations - https://github.com/basujindal/stable-diffusion
) l6 H; B0 I# _1 B9 S8 e' P8 k- Cross Attention layer optimization - Doggettx - https://github.com/Doggettx/stable-diffusion, original idea for prompt editing.& w" P7 p* B% e* j& y( Q# G
- Cross Attention layer optimization - InvokeAI, lstein - https://github.com/invoke-ai/InvokeAI (originally http://github.com/lstein/stable-diffusion)
- [7 s$ z4 y. [9 E- 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)
/ _& _! A2 T: \9 i- Textual Inversion - Rinon Gal - https://github.com/rinongal/textual_inversion (we're not using his code, but we are using his ideas).
9 r. \# k/ h' z- Idea for SD upscale - https://github.com/jquesnelle/txt2imghd3 U* g+ R2 t) L" i& ~
- Noise generation for outpainting mk2 - https://github.com/parlance-zz/g-diffuser-bot
7 S& Q: U3 ], ]/ a- CLIP interrogator idea and borrowing some code - https://github.com/pharmapsychotic/clip-interrogator
3 d; Z4 B3 G; j; _0 K  q- Idea for Composable Diffusion - https://github.com/energy-based- ... sion-Models-PyTorch
# e- B5 Q' H1 s- d- xformers - https://github.com/facebookresearch/xformers% J  @( T/ d$ t5 s) T) }- @
- DeepDanbooru - interrogator for anime diffusers https://github.com/KichangKim/DeepDanbooru! {% R5 h, P9 g' V
- 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)
6 |$ @- f' \$ M; ^- Instruct pix2pix - Tim Brooks (star), Aleksander Holynski (star), Alexei A. Efros (no star) - https://github.com/timothybrooks/instruct-pix2pix1 V+ w; c/ y% Q- V$ h2 K1 G) B
- Security advice - RyotaK% _$ n: [  m2 |9 [" a6 q6 o* a
- UniPC sampler - Wenliang Zhao - https://github.com/wl-zhao/UniPC
/ E! v5 X9 r8 \$ F, r" i- }- TAESD - Ollin Boer Bohan - https://github.com/madebyollin/taesd
# e, W4 t, A! ]7 c+ c' l, I- Initial Gradio script - posted on 4chan by an Anonymous user. Thank you Anonymous user., O' h* k" e% y* L) _8 ~1 o
- Olive - https://github.com/microsoft/Olive
0 o) F( d# C. A- e; v8 @- ^, F- (You)
/ \& n- \6 o% a
$ Y/ |( U, X3 h* T% c; H
5 g8 K  B, W. x5 }8 X. i4 x- ]1 X! phttps://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, 2025-2-25 06:01 , Processed in 0.106614 second(s), 23 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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