找回密码
 立即注册
搜索
查看: 318|回复: 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"
0 J* I$ p/ b6 q9 n6 a; kfatal: No names found, cannot describe anything.. H7 Q- m5 L% k3 o. [- s
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
, o/ a4 d) ~5 ?; j/ @+ YVersion: <none>6 I  C" o) l9 D+ z" T( i
Commit hash: ebf229bd1727a0f8f0d149829ce82e2012ba73188 D0 J5 S8 e& A  l
Installing requirements
- u$ ~! f& [. W' @$ k3 ILaunching Web UI with arguments: --autolaunch
! \4 e& I% ~4 Y/ \0 t# S$ |7 SNo module 'xformers'. Proceeding without it.
, g* s: O# ^# _: i3 sWarning: caught exception 'Torch not compiled with CUDA enabled', memory monitor disabled
) |2 W7 k! E8 f1 vLoading weights [fc2511737a] from D:\stable-diffusion-webui-directml\models\Stable-diffusion\chilloutmix_NiPrunedFp32Fix.safetensors/ t) p/ _5 `; L$ S
Creating model from config: D:\stable-diffusion-webui-directml\configs\v1-inference.yaml
: [( I3 f# a+ _+ T6 Z9 NLatentDiffusion: Running in eps-prediction mode
2 \) z, X) r: }; J1 URunning on local URL:  http://127.0.0.1:78604 t& v  Q+ _) e0 S0 f8 w

! F) x5 T; \+ uTo create a public link, set `share=True` in `launch()`.+ L1 O( v, b+ W# j! N
DiffusionWrapper has 859.52 M params.
( |0 I0 u& Y8 v9 i8 V7 F0 h. ^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).
/ C2 J+ m) G* S/ XLoading VAE weights found near the checkpoint: D:\stable-diffusion-webui-directml\models\VAE\chilloutmix_NiPrunedFp32Fix.vae.ckpt
, y3 E% a( \( K# N/ x# K& GApplying optimization: InvokeAI... done.7 G" h3 h- j/ F8 j
Textual inversion embeddings loaded(0):
& g+ \$ ~# c; K0 rModel 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).
3 X) G; u! t$ O! T# }5 Y( A8 q+ _3 y

3 t% M7 s7 \0 b/ ^- M- ?) `/ X
version:  •  python: 3.10.6  •  torch: 2.0.0+cpu  •  xformers: N/A  •  gradio: 3.31.0  •  checkpoint: fc2511737a2 T" Y, ?4 P* Z3 B& h( S
Git-2.41.0-64-bit+ q  U. \* _. Z5 m
python-3.10.6-amd643 n* A; y4 Q/ A. F1 C) o

+ D6 [, u* f! Q7 X( x### Installation on Windows 10/11 with NVidia-GPUs using release package1 f* b( L. t% d$ J( q- x+ L1 h6 d

5 {- x  A) D  w$ z7 f3 m6 u) J1. Download `sd.webui.zip` from [v1.0.0-pre](https://github.com/AUTOMATIC1111 ... ases/tag/v1.0.0-pre) and extract it's contents.
$ A9 A. b$ s* A  v# n( E$ i2. Run `update.bat`.
2 L7 p, U3 s  f% h3. Run `run.bat`.8 s$ x) e3 M! Z5 g  B6 l% ?
   > For more details see [Install-and-Run-on-NVidia-GPUs](https://github.com/AUTOMATIC1111 ... -Run-on-NVidia-GPUs)8 L: l' o/ o8 w4 u( b% F

0 s6 h8 @+ S5 ?) \. z- s& ^2 r' h### Automatic Installation on Windows
! \, u9 u! T) L1 _% P& P  f$ Z/ b; H% q; ?7 U" D
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".3 C9 a7 k; }6 m3 n  `: `" q9 Z
2. Install [git](https://git-scm.com/download/win).9 f2 [3 o! e1 F5 Z. h
3. Download the stable-diffusion-webui-directml repository, for example by running `git clone https://github.com/lshqqytiger/s ... ebui-directml.git`.1 |, f9 ~$ q4 w8 p! J% z- M5 r
4. Run `webui-user.bat` from Windows Explorer as normal, non-administrator, user.! V& \' O( F6 Q- K  T
+ T  z$ {" {* }7 v
### Automatic Installation on Linux
( V( J$ M# L% _8 c/ I! o1 E$ J' I" f# l) D: g
1. Install the dependencies:) x& y, F9 A2 V' k5 W- a
) o+ ]8 J# V" ~8 f: ?
```bash
1 s, Z9 o( t: o. i. p9 D& c# Debian-based:7 J5 i# w5 [/ m0 y% p8 }
sudo apt install wget git python3 python3-venv
. J3 ?1 y; {9 |1 G' E/ O# C# Red Hat-based:
% n+ i4 S" H2 y" R) y; hsudo dnf install wget git python31 Y$ b; f' `# d5 x: {  D) s
# Arch-based:
( \7 k$ D6 I" A9 ysudo pacman -S wget git python3
7 o* s/ l+ i* ]: Q) j4 M4 k0 ]```
+ m  K1 W$ a* I& \8 P$ Z: i  f" N$ n& b- q; n  E- x, T
2. Navigate to the directory you would like the webui to be installed and execute the following command:1 V& a: U) [; L
. `9 c# f7 M' e. D0 U" K
```bash+ r/ c, X* A, R! J+ U0 o0 U
bash <(wget -qO- https://raw.githubusercontent.co ... bui/master/webui.sh)% X' U- W) v- `/ d  {+ h1 |# m
```
/ J  T0 r' Z6 L- [9 `) }: I% i
/ r2 n! ^  s, O3. Run `webui.sh`.
8 O+ r: T% V( V* e! Z4. Check `webui-user.sh` for options.
2 u" m% r2 a8 U* ]" G4 Z/ `  j% n4 O  G! c! c
### Installation on Apple Silicon
- n1 b2 ^1 m; R9 E% F' p. `# j! G$ D; Q) d3 f6 `0 X7 c! A2 m
Find the instructions [here](https://github.com/AUTOMATIC1111 ... on-on-Apple-Silicon).
) ^! p. S/ b1 F# l& c' l
1 W% n& d8 e2 I2 A' g7 `## Contributing
" P! S7 [' w- K  z- P, D4 q. c; F& j& y, N! k
Here's how to add code to this repo: [Contributing](https://github.com/AUTOMATIC1111 ... i/wiki/Contributing)
- L  z3 s- Q/ ?- ^# v% N
$ L4 Q/ d9 I2 J3 V9 ^## Documentation  J' P. c& I6 g6 f/ U( y8 B

" W3 h* B' g' |, R. T) hThe documentation was moved from this README over to the project's [wiki](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki).
' P& [' P  a* N# K3 v- o: ?+ X2 o9 f7 y# p$ a
## Credits& q4 X8 C6 ~2 c5 ~9 s, D( C) Y

# v! V* c2 J- f3 }. h0 ILicenses for borrowed code can be found in `Settings -> Licenses` screen, and also in `html/licenses.html` file.2 R2 x  c4 }% K8 ?8 E" ~
8 j7 d, N& f. K1 O
- Stable Diffusion - https://github.com/CompVis/stable-diffusion, https://github.com/CompVis/taming-transformers
; [3 W6 u. V; u; u( S& w3 J9 V- k-diffusion - https://github.com/crowsonkb/k-diffusion.git$ |/ f; v' l  v* B. s  I: A
- GFPGAN - https://github.com/TencentARC/GFPGAN.git
3 m1 A5 f; M9 b" _( B% l4 P- CodeFormer - https://github.com/sczhou/CodeFormer  Q& h# |3 ?3 @
- ESRGAN - https://github.com/xinntao/ESRGAN; v0 N2 L4 M- F. k2 r
- SwinIR - https://github.com/JingyunLiang/SwinIR
( F9 i" l9 G4 |! F- Swin2SR - https://github.com/mv-lab/swin2sr7 R$ `% y7 T- W( s/ J
- LDSR - https://github.com/Hafiidz/latent-diffusion4 h# M6 `- x5 f4 S+ f
- MiDaS - https://github.com/isl-org/MiDaS+ V% \4 s+ i% `; y4 ?: ~' z
- Ideas for optimizations - https://github.com/basujindal/stable-diffusion% G0 y% V. G2 [% k* O. ~( d
- Cross Attention layer optimization - Doggettx - https://github.com/Doggettx/stable-diffusion, original idea for prompt editing.) M/ K) r6 [+ [: d, T
- Cross Attention layer optimization - InvokeAI, lstein - https://github.com/invoke-ai/InvokeAI (originally http://github.com/lstein/stable-diffusion)/ P  F1 M. q5 d
- 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)
* S% J+ k6 L1 H: p. t7 `- Textual Inversion - Rinon Gal - https://github.com/rinongal/textual_inversion (we're not using his code, but we are using his ideas).& J+ Z1 X& S3 t9 E# A8 w4 F
- Idea for SD upscale - https://github.com/jquesnelle/txt2imghd" W. w  a' T& S" C. E: M0 ^0 D
- Noise generation for outpainting mk2 - https://github.com/parlance-zz/g-diffuser-bot
6 N, R4 H6 A$ E6 Z# ~- Y- CLIP interrogator idea and borrowing some code - https://github.com/pharmapsychotic/clip-interrogator
2 w' Y: A' [- s) `8 \- Idea for Composable Diffusion - https://github.com/energy-based- ... sion-Models-PyTorch
/ }  y: r0 v: C1 j- xformers - https://github.com/facebookresearch/xformers. \* d8 C3 N% {: ~1 O7 W
- DeepDanbooru - interrogator for anime diffusers https://github.com/KichangKim/DeepDanbooru
" ~+ G8 i8 a* @' o* k+ ~% @- 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)
7 a1 ^0 K3 _6 G; g* M3 \3 v- Instruct pix2pix - Tim Brooks (star), Aleksander Holynski (star), Alexei A. Efros (no star) - https://github.com/timothybrooks/instruct-pix2pix
( j) i! u+ n( K. ~) m- Security advice - RyotaK
& c5 }  Y) S+ s1 u- UniPC sampler - Wenliang Zhao - https://github.com/wl-zhao/UniPC* v0 Y6 e3 F* Z9 E# o8 {  W
- TAESD - Ollin Boer Bohan - https://github.com/madebyollin/taesd) f( Z; h, z( f. ^. Q- G2 k
- Initial Gradio script - posted on 4chan by an Anonymous user. Thank you Anonymous user." V/ [* P+ a% {6 t3 |7 M
- Olive - https://github.com/microsoft/Olive
- [0 o4 S# j9 Z; Q, S. ~' f$ ^- (You)2 M9 t/ p9 W. z7 u$ h
5 w, C$ u% s, D& Q2 @( M
# L& u8 g, }2 s8 z- S
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, 2025-11-5 02:07 AM , Processed in 0.104609 second(s), 23 queries .

Powered by xyh-moon X3.5

© 2001-2025 Discuz! Team.

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