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

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

[复制链接]

985

主题

92

回帖

5万

积分

管理员

积分
53561
发表于 2023-6-13 14:00:05 | 显示全部楼层 |阅读模式
venv "D:\stable-diffusion-webui-directml\venv\Scripts\Python.exe"* W7 q* W0 I0 k  v8 ?9 }5 e7 i, R
fatal: No names found, cannot describe anything.
: j3 z* f1 s3 q, [/ E4 o- S5 fPython 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]; ^! n( B* X7 z; e* a
Version: <none>
  z( l* Y# t1 A7 a+ e. XCommit hash: ebf229bd1727a0f8f0d149829ce82e2012ba7318
; K- R& F  M1 f2 m" HInstalling requirements
1 X$ c$ S# T) j, y0 B* f, ALaunching Web UI with arguments: --autolaunch
. z+ I) y7 K3 vNo module 'xformers'. Proceeding without it.1 {! `* t+ }# S$ y
Warning: caught exception 'Torch not compiled with CUDA enabled', memory monitor disabled
/ b/ @' ]; }& B5 t. k& ULoading weights [fc2511737a] from D:\stable-diffusion-webui-directml\models\Stable-diffusion\chilloutmix_NiPrunedFp32Fix.safetensors
& j, a2 |9 J) ?/ hCreating model from config: D:\stable-diffusion-webui-directml\configs\v1-inference.yaml
( {/ x' w7 T/ u* ALatentDiffusion: Running in eps-prediction mode9 R) x$ Q& y2 L8 T9 T# I
Running on local URL:  http://127.0.0.1:7860
" P. Q- w5 u6 A- z; b3 l0 }) t
, Q/ X! R! G7 s1 MTo create a public link, set `share=True` in `launch()`.2 ]6 K. K( G" Z% t8 s! Y
DiffusionWrapper has 859.52 M params.
5 e: F2 P) R% b$ \/ B5 r: O8 T" KStartup 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).
  }9 c' q# Q: SLoading VAE weights found near the checkpoint: D:\stable-diffusion-webui-directml\models\VAE\chilloutmix_NiPrunedFp32Fix.vae.ckpt7 I% ^5 q* v( w9 J& q; Q* \
Applying optimization: InvokeAI... done.
) \$ s2 Y3 V$ @3 }. XTextual inversion embeddings loaded(0):. O# ?3 e* \( }
Model 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).
" b: p9 o4 S1 q3 Q
9 y9 N, m: s  h3 M
version:  •  python: 3.10.6  •  torch: 2.0.0+cpu  •  xformers: N/A  •  gradio: 3.31.0  •  checkpoint: fc2511737a  }* F* q" w4 k8 D
Git-2.41.0-64-bit- m# W6 j5 Y$ }3 y5 Y$ V+ U  c  k
python-3.10.6-amd64
- n+ N- G$ s- Z. p
* L4 @8 @6 _* P
### Installation on Windows 10/11 with NVidia-GPUs using release package/ F+ T, F9 K: v4 C

0 G" P7 \2 K2 }7 d2 s: |# M1. Download `sd.webui.zip` from [v1.0.0-pre](https://github.com/AUTOMATIC1111 ... ases/tag/v1.0.0-pre) and extract it's contents.
/ Y0 {$ `2 g2 \2. Run `update.bat`.- s9 d  F8 G$ u
3. Run `run.bat`.' W6 n$ z1 e( w/ W/ M
   > For more details see [Install-and-Run-on-NVidia-GPUs](https://github.com/AUTOMATIC1111 ... -Run-on-NVidia-GPUs)
/ d- h8 q3 A  {$ Y* K& r+ f. A8 Z- A2 v6 X& T
### Automatic Installation on Windows+ o! e6 f) f1 g- D

. Y% c' B) p, b* J' G1. 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".
1 ]- C( h6 t% w  A2. Install [git](https://git-scm.com/download/win).
3 m1 D  V2 S" E' o8 A3. Download the stable-diffusion-webui-directml repository, for example by running `git clone https://github.com/lshqqytiger/s ... ebui-directml.git`.
. `* c! u  w8 G6 F& h- q  |4. Run `webui-user.bat` from Windows Explorer as normal, non-administrator, user.8 c4 R7 S7 E' A, I5 z& l" O
" {/ q, V' R( v3 \7 f8 Y/ {8 l
### Automatic Installation on Linux
. j6 G* z. f8 T4 D9 f
0 {7 H6 R- }+ w0 ]1. Install the dependencies:
/ y" w& y0 W+ R5 X& Q
* K' a# ?3 e% @4 {3 B* ]" n. G```bash4 B/ N  P# v% ]1 h; h) ^
# Debian-based:* w# Y8 |& q& v% [! Q+ y
sudo apt install wget git python3 python3-venv
6 C6 q+ o+ U# q( I: |; [- ]# Red Hat-based:' c$ ~0 r6 m! g$ b7 I& L' s
sudo dnf install wget git python3! A# Y3 t0 n( S: }5 i4 [! G* i
# Arch-based:
0 ~. P$ Y2 N+ `1 d$ _& fsudo pacman -S wget git python3
$ r2 l' t% @- h```
" b: d$ h3 z$ @/ {7 y- w
5 y9 r- d/ N: N: z, m2. Navigate to the directory you would like the webui to be installed and execute the following command:
. q8 h4 `$ z9 |# E% Q1 R6 x) I4 ^- F4 @5 M; F
```bash& ?& a& M* E: \0 Q# N# z) o, i/ ?
bash <(wget -qO- https://raw.githubusercontent.co ... bui/master/webui.sh)' j' A7 t- `; Y! ]6 I
```
- C$ u9 r" ]& K5 N& |8 N' ^) J. q1 i* `' e+ G% W. f
3. Run `webui.sh`./ t- R! V" P# a4 E- R
4. Check `webui-user.sh` for options.' _3 k2 V9 D2 D4 D( b: U* h2 B" Y
; K3 `$ ]# p* a* ]' _7 _: y# d/ k
### Installation on Apple Silicon4 o# B" v! m7 C( u: d) g4 B

# l+ U$ p. p2 ?( r. T/ g9 E. [Find the instructions [here](https://github.com/AUTOMATIC1111 ... on-on-Apple-Silicon).
! K1 z" d% W9 G1 `0 Y
/ [% W' R- ?3 _7 o! _## Contributing
* c- L- D; c2 t8 W4 v  ^9 F: q9 c! O$ F" r' h' ~5 P' s" r0 o
Here's how to add code to this repo: [Contributing](https://github.com/AUTOMATIC1111 ... i/wiki/Contributing)# ^1 V( D8 N- c, L) r' T! I
. ]3 ?" _% X2 U$ o1 z
## Documentation
  {+ m+ V5 h% f, z
% `  _$ I# [, ~+ L% m& TThe documentation was moved from this README over to the project's [wiki](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki).
% D' r4 `" p. ?  C! O
2 j3 b% T2 I. G+ G" G" E7 r## Credits7 J2 }, g7 K  {4 s

  h4 K6 L) x! u9 H4 S% e1 W* [Licenses for borrowed code can be found in `Settings -> Licenses` screen, and also in `html/licenses.html` file.
$ t3 K: l0 C" ?; g* B2 a* N  D" o6 F6 u- x
- Stable Diffusion - https://github.com/CompVis/stable-diffusion, https://github.com/CompVis/taming-transformers( l- U  h. W& F3 P0 C
- k-diffusion - https://github.com/crowsonkb/k-diffusion.git
* w5 e: x* Q( P: l5 d- GFPGAN - https://github.com/TencentARC/GFPGAN.git% ]  ?4 }: {+ e
- CodeFormer - https://github.com/sczhou/CodeFormer/ h# l/ ~) R5 P& x8 w$ Q6 I4 w1 U
- ESRGAN - https://github.com/xinntao/ESRGAN
4 ^2 T5 w$ ?0 N8 {. |% X- SwinIR - https://github.com/JingyunLiang/SwinIR
: i6 z$ H; l" S9 z- Swin2SR - https://github.com/mv-lab/swin2sr* K. [9 n# G- D& y  n4 o6 \
- LDSR - https://github.com/Hafiidz/latent-diffusion
/ q  ^% y; N3 Z8 Y2 y' u- MiDaS - https://github.com/isl-org/MiDaS0 F) a+ i& J% w5 V6 U0 Z  O. _  ?
- Ideas for optimizations - https://github.com/basujindal/stable-diffusion# p/ e" Z  |0 r" ~$ K
- Cross Attention layer optimization - Doggettx - https://github.com/Doggettx/stable-diffusion, original idea for prompt editing.
: M# Q- Z, w9 D4 {$ _8 x- Cross Attention layer optimization - InvokeAI, lstein - https://github.com/invoke-ai/InvokeAI (originally http://github.com/lstein/stable-diffusion)
6 |* I2 y% Z; P7 \, H$ f" 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)" p& `1 m+ O% [4 a! @8 N
- Textual Inversion - Rinon Gal - https://github.com/rinongal/textual_inversion (we're not using his code, but we are using his ideas).6 F+ ~8 @8 K2 Q  a# D, @4 O: c
- Idea for SD upscale - https://github.com/jquesnelle/txt2imghd( }' j  b: ~/ O: d6 M  r% q
- Noise generation for outpainting mk2 - https://github.com/parlance-zz/g-diffuser-bot1 ]. X& c6 j# P8 {+ w
- CLIP interrogator idea and borrowing some code - https://github.com/pharmapsychotic/clip-interrogator& m3 ~& ]& f+ Z% E- U5 W* ]0 }
- Idea for Composable Diffusion - https://github.com/energy-based- ... sion-Models-PyTorch
+ d% E' D! S" y- xformers - https://github.com/facebookresearch/xformers' }: s1 W9 u. }7 v8 a. S$ S1 @7 k
- DeepDanbooru - interrogator for anime diffusers https://github.com/KichangKim/DeepDanbooru  d8 Z' t0 Q7 F( v) \! m  b4 X
- 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)+ |. L' J: s8 `1 n( z% x7 B- L+ X, g
- Instruct pix2pix - Tim Brooks (star), Aleksander Holynski (star), Alexei A. Efros (no star) - https://github.com/timothybrooks/instruct-pix2pix
+ x% ?. l0 M& F8 `3 B- Security advice - RyotaK( I9 F; ^6 K# U
- UniPC sampler - Wenliang Zhao - https://github.com/wl-zhao/UniPC# M8 }% x! j  r, U
- TAESD - Ollin Boer Bohan - https://github.com/madebyollin/taesd: Z# z$ q! J& [3 H( p
- Initial Gradio script - posted on 4chan by an Anonymous user. Thank you Anonymous user.
8 }* n$ U- G* h9 p- Olive - https://github.com/microsoft/Olive
: _, f2 D& V9 i" N7 ?6 H- (You)- K" t) y* `( M) P) q0 H# z) l

3 g  V6 r6 M; I( z) L/ F  c
: B( }. N& {# E' Whttps://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-11-5 02:07 AM , Processed in 0.105680 second(s), 23 queries .

Powered by xyh-moon X3.5

© 2001-2025 Discuz! Team.

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