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

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

[复制链接]

991

主题

92

回帖

5万

积分

管理员

积分
55422
发表于 2023-6-13 14:00:05 | 显示全部楼层 |阅读模式
venv "D:\stable-diffusion-webui-directml\venv\Scripts\Python.exe"
; J* d7 z- {2 q3 C1 d" {7 J5 jfatal: No names found, cannot describe anything.0 A: b  A& U- ?1 R- A& N0 G
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
- a# c* p" u; r' PVersion: <none>
; r) ~* \2 |# i( ?5 I& l' d7 S9 Z2 ~Commit hash: ebf229bd1727a0f8f0d149829ce82e2012ba7318
8 Q# T3 k7 W8 N5 Z4 w1 }( Y3 p; DInstalling requirements% D/ o6 {* a; [' L: U% T* G2 q! _. z
Launching Web UI with arguments: --autolaunch) j& h& y$ z5 C2 n& a+ N
No module 'xformers'. Proceeding without it.
( p6 W# B, M! Z5 }/ l" E: {Warning: caught exception 'Torch not compiled with CUDA enabled', memory monitor disabled
/ ]  G- A3 s$ A/ j! d" s( YLoading weights [fc2511737a] from D:\stable-diffusion-webui-directml\models\Stable-diffusion\chilloutmix_NiPrunedFp32Fix.safetensors# Y1 M1 ^+ T  z' S
Creating model from config: D:\stable-diffusion-webui-directml\configs\v1-inference.yaml
. e6 E( @0 P1 O( F# ~0 _1 Z% zLatentDiffusion: Running in eps-prediction mode. q. L7 H- z( o" N% X& V* |5 Y9 B
Running on local URL:  http://127.0.0.1:7860
/ R# J7 v$ P7 U* V( P
2 i3 {* W9 R, C! t% U4 r' w9 Q% [$ xTo create a public link, set `share=True` in `launch()`.
9 s( y' @8 Z1 l1 ~. j" @DiffusionWrapper has 859.52 M params./ k! S" R9 d$ T2 n% B
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)., S: g/ M% z4 A
Loading VAE weights found near the checkpoint: D:\stable-diffusion-webui-directml\models\VAE\chilloutmix_NiPrunedFp32Fix.vae.ckpt
) v: v% a) G( c1 y8 @Applying optimization: InvokeAI... done.
, [6 l7 V5 Q# T; dTextual inversion embeddings loaded(0):
1 E4 w2 M, X+ e0 O' yModel 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).

1 `) k5 G6 q) k# E2 n9 O

. `! h0 o0 A5 Q6 C! z
version:  •  python: 3.10.6  •  torch: 2.0.0+cpu  •  xformers: N/A  •  gradio: 3.31.0  •  checkpoint: fc2511737a
# i  h) o8 E+ Y. q- @5 D0 j
Git-2.41.0-64-bit- ~- u6 B0 `0 |1 i; b
python-3.10.6-amd64
1 j# P  ?: Z: G

6 @+ I; c1 b! u& q### Installation on Windows 10/11 with NVidia-GPUs using release package
/ n, u7 ~+ `8 Q; X
# {9 Q3 P* O" y1. Download `sd.webui.zip` from [v1.0.0-pre](https://github.com/AUTOMATIC1111 ... ases/tag/v1.0.0-pre) and extract it's contents.9 r0 E) n  E6 c# W' b
2. Run `update.bat`.
0 z7 W5 Q/ g6 `' Y4 J( \% [3. Run `run.bat`.
, g6 o/ }1 B- |( u) z, R4 Q1 K   > For more details see [Install-and-Run-on-NVidia-GPUs](https://github.com/AUTOMATIC1111 ... -Run-on-NVidia-GPUs)6 S  [1 m! c7 v( R* [

+ @5 W9 r8 m( j  Y. M5 w### Automatic Installation on Windows
* @7 j0 l0 [; q( J6 K1 y
! L/ K+ G. l6 k+ M0 u7 M1. 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 u# I4 l! W- g, P! R% D6 n2. Install [git](https://git-scm.com/download/win).
: J9 L$ F* U0 z- A" V3. Download the stable-diffusion-webui-directml repository, for example by running `git clone https://github.com/lshqqytiger/s ... ebui-directml.git`.
4 k$ u% u/ ^$ s6 N; c4. Run `webui-user.bat` from Windows Explorer as normal, non-administrator, user.7 o% u; G# f# A# d+ K! z. Y3 n
3 H, W1 W+ X/ D% C* a  Y/ R4 R, I* {
### Automatic Installation on Linux
, s1 t& B0 E( i$ z8 z: `7 l1 J' O/ B# T( _; p/ R
1. Install the dependencies:  S/ D" P' B" c- P9 m% s  V1 t
5 x: d! }+ H# d% c
```bash: w9 v! W/ e" |2 s) J/ u, H
# Debian-based:" {; b( z( j' O/ f3 z: i' ]1 Q$ J
sudo apt install wget git python3 python3-venv
* T6 w% E5 F& g  |7 x  e# Red Hat-based:
0 \9 B+ O( Y) h/ N: Usudo dnf install wget git python3  O# E! V* g- {  R  m
# Arch-based:7 C& P9 z0 _& P+ ^1 t: `" b
sudo pacman -S wget git python3
# z5 N! T. B. y% [- N; G0 a  M```5 Q; A6 Q. E' x, e

( t. t  \) q* x  @3 m+ B% T8 i; `: D2. Navigate to the directory you would like the webui to be installed and execute the following command:, x) p9 j+ _2 V  j8 Z

( }7 k7 ~% `2 O+ |0 f```bash- _: x. O5 T+ h) `! n
bash <(wget -qO- https://raw.githubusercontent.co ... bui/master/webui.sh)
: }% Q' B9 A& p. }```
) N/ I1 Q4 S, l1 B- q1 o
; C. |. L0 i$ V; F3. Run `webui.sh`.
+ U8 Z1 N2 S- G4 c/ B% p& m4. Check `webui-user.sh` for options.6 V9 ]9 U) R+ ?: U6 M9 ?
" {9 w3 \1 X" }3 U4 T5 |
### Installation on Apple Silicon
8 u; i: D3 W2 O
# d2 f' R+ l& nFind the instructions [here](https://github.com/AUTOMATIC1111 ... on-on-Apple-Silicon).
& F# W& c* {9 \. O* I& t# m% |7 J6 [* ^$ V4 L
## Contributing
# q* W9 O5 m3 g% K$ r; T: H/ [$ }
. v' k& u3 n& H) B+ F& e* M. d* FHere's how to add code to this repo: [Contributing](https://github.com/AUTOMATIC1111 ... i/wiki/Contributing)* Y; s3 \) u* g  \* i
& y% G- Y( Q* o. K' Y" ~
## Documentation$ o. t+ ~) K! h( U! l' R9 `0 u( A. Z
+ X, h3 L* @7 a# N# q# e& z
The documentation was moved from this README over to the project's [wiki](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki).* \8 S" L1 p- c; D; q* |, @* |

3 h/ W1 \/ I1 b  h0 V## Credits- ~: P' S) }) f3 S

# [- m8 X- k" [4 Z* |: xLicenses for borrowed code can be found in `Settings -> Licenses` screen, and also in `html/licenses.html` file.
8 W& F: m1 S( F
9 C$ c( J( U* q1 [- Stable Diffusion - https://github.com/CompVis/stable-diffusion, https://github.com/CompVis/taming-transformers
. V; b' G( K- Q5 m# R% D' f  J- k-diffusion - https://github.com/crowsonkb/k-diffusion.git
1 k! k' m9 P4 ]: @# q; j- GFPGAN - https://github.com/TencentARC/GFPGAN.git
1 `: n2 P( b/ C- C- h: @- CodeFormer - https://github.com/sczhou/CodeFormer
$ I& \  V( R* B) _- ESRGAN - https://github.com/xinntao/ESRGAN
+ P7 z8 I% u& J- SwinIR - https://github.com/JingyunLiang/SwinIR9 c5 j+ s) p3 A; Y
- Swin2SR - https://github.com/mv-lab/swin2sr. _+ k* X; `" ^" Z9 ~
- LDSR - https://github.com/Hafiidz/latent-diffusion6 h' q. a6 ?5 _+ q6 t
- MiDaS - https://github.com/isl-org/MiDaS
: ?) ^# w7 {( a' q4 K6 k- Ideas for optimizations - https://github.com/basujindal/stable-diffusion
+ P3 B" E4 q. t8 V9 d, O1 n4 ?3 M$ v( E- Cross Attention layer optimization - Doggettx - https://github.com/Doggettx/stable-diffusion, original idea for prompt editing.0 z' A' D: Y) t
- Cross Attention layer optimization - InvokeAI, lstein - https://github.com/invoke-ai/InvokeAI (originally http://github.com/lstein/stable-diffusion)
& k3 x  ]/ |0 `* g3 O- 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)
2 S+ d# e% ~4 }% `- Textual Inversion - Rinon Gal - https://github.com/rinongal/textual_inversion (we're not using his code, but we are using his ideas).( ?2 F: u/ I5 \
- Idea for SD upscale - https://github.com/jquesnelle/txt2imghd
8 j: |  ]4 A6 d. r* F/ {4 l- Noise generation for outpainting mk2 - https://github.com/parlance-zz/g-diffuser-bot
$ W9 R, X: Z5 K- N! O) X7 \$ S/ v. _- CLIP interrogator idea and borrowing some code - https://github.com/pharmapsychotic/clip-interrogator$ \) n- J3 i: H
- Idea for Composable Diffusion - https://github.com/energy-based- ... sion-Models-PyTorch
+ K, X3 J2 b7 V* U' n: l" g0 c- xformers - https://github.com/facebookresearch/xformers: x4 ^% @$ Q, y- {5 a7 d# D
- DeepDanbooru - interrogator for anime diffusers https://github.com/KichangKim/DeepDanbooru
7 ?) M; [# _3 ^- r  |) u8 q/ t# d) [- 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 U/ g- ?* c; k: p
- Instruct pix2pix - Tim Brooks (star), Aleksander Holynski (star), Alexei A. Efros (no star) - https://github.com/timothybrooks/instruct-pix2pix8 j' ?# }' q  S$ Y8 u2 ?+ n
- Security advice - RyotaK
. |% u1 ^- p9 H- H- UniPC sampler - Wenliang Zhao - https://github.com/wl-zhao/UniPC" V! F  ^( b. x
- TAESD - Ollin Boer Bohan - https://github.com/madebyollin/taesd
; d  W5 y# S% ^- Initial Gradio script - posted on 4chan by an Anonymous user. Thank you Anonymous user.4 L& Y% M+ V# n! f5 f
- Olive - https://github.com/microsoft/Olive
* L$ u7 F* Y4 R5 f( b8 C$ t5 z- (You)
2 M. U( U% i; T5 U1 n. X% R$ B
$ n1 J* D; X9 i" G% r' ]0 D) ?3 f! ~+ u# j
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-6-20 11:38 AM , Processed in 0.100721 second(s), 23 queries .

Powered by xyh-moon X3.5

© 2001-2025 Discuz! Team.

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