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

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

[复制链接]
发表于 2023-6-13 14:00:05 | 显示全部楼层 |阅读模式
venv "D:\stable-diffusion-webui-directml\venv\Scripts\Python.exe"$ i3 Z% n/ W6 Y+ q
fatal: No names found, cannot describe anything.
4 J- V+ K  V# E7 b4 V8 tPython 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
- i) N! [7 m9 g) g: KVersion: <none># J$ R! s$ a' j
Commit hash: ebf229bd1727a0f8f0d149829ce82e2012ba7318! p2 y# Q) W9 P, k, M  O5 G6 N( ?
Installing requirements5 e" r- ], ?2 W9 n) B) v
Launching Web UI with arguments: --autolaunch8 i; ?: b3 s( G
No module 'xformers'. Proceeding without it./ |. ?3 ~; m6 q0 g# V$ g) X
Warning: caught exception 'Torch not compiled with CUDA enabled', memory monitor disabled0 n2 }% r9 Q4 S- i
Loading weights [fc2511737a] from D:\stable-diffusion-webui-directml\models\Stable-diffusion\chilloutmix_NiPrunedFp32Fix.safetensors
; v5 j1 h) z# j* s. }Creating model from config: D:\stable-diffusion-webui-directml\configs\v1-inference.yaml
# \& Z2 }8 C% {- P) kLatentDiffusion: Running in eps-prediction mode
) d$ j4 v. Z: R8 Z1 X" TRunning on local URL:  http://127.0.0.1:7860' C: a. \7 k4 |- ^
: Y3 }2 v  Y2 ]$ `2 X3 _% E/ ~! y
To create a public link, set `share=True` in `launch()`.3 A3 y. {- t/ Q& X9 J5 G
DiffusionWrapper has 859.52 M params.% T: q7 O  K% e. t8 x$ l
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).$ h2 p! a. s, H! w- j9 {& K
Loading VAE weights found near the checkpoint: D:\stable-diffusion-webui-directml\models\VAE\chilloutmix_NiPrunedFp32Fix.vae.ckpt
/ ~  m6 d& d5 M' s8 c% gApplying optimization: InvokeAI... done.
. v& W  l' S: W1 tTextual inversion embeddings loaded(0):
% i: @2 W1 ^5 A" r  x3 bModel 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).
0 t# \5 U0 o2 t* e$ g% i
* @# o- m0 F5 s5 k- r
version:  •  python: 3.10.6  •  torch: 2.0.0+cpu  •  xformers: N/A  •  gradio: 3.31.0  •  checkpoint: fc2511737a
* K% i& r5 q9 N7 ]" }
Git-2.41.0-64-bit
0 n; U% h6 C0 Q8 A2 m4 Q, v7 H$ U
python-3.10.6-amd64: V' b$ h- F5 R2 ]& B6 f+ C( n
9 r5 V  X. ~4 i8 P" n1 m
### Installation on Windows 10/11 with NVidia-GPUs using release package- u7 T% E" U3 H) O4 R4 B% l

0 x) Q: w' D. ?" K& ?# f1. Download `sd.webui.zip` from [v1.0.0-pre](https://github.com/AUTOMATIC1111 ... ases/tag/v1.0.0-pre) and extract it's contents.
* U, g5 D# L% }; |2 R2. Run `update.bat`.  v$ N% Y. A1 @. F" F4 D" Q
3. Run `run.bat`.
6 {$ c4 b/ U6 p( M   > For more details see [Install-and-Run-on-NVidia-GPUs](https://github.com/AUTOMATIC1111 ... -Run-on-NVidia-GPUs)
# |, `- t% }0 Q' a5 P$ F* s5 d
9 i4 `7 k2 L# H/ f/ m* ~7 l; Z& N: B### Automatic Installation on Windows; |: ^3 j# X. @( j

" B5 c. d# d6 N1 E% ]! J1. 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".4 w! b& q7 ~" A& [9 e9 ]4 I4 c
2. Install [git](https://git-scm.com/download/win).& J% u0 M! x/ E( t& u8 \1 R2 m
3. Download the stable-diffusion-webui-directml repository, for example by running `git clone https://github.com/lshqqytiger/s ... ebui-directml.git`.
* x1 I0 a. L& }9 v4. Run `webui-user.bat` from Windows Explorer as normal, non-administrator, user.
4 [* B2 t3 F/ E+ p( E. H
' }% J) V/ N7 s- z6 W### Automatic Installation on Linux2 X* B. ?! M7 r8 H  J* p% q

# r! A, ?5 T6 Z3 f5 p2 F- f5 n1. Install the dependencies:- d. ?# t/ w5 ~$ I7 t& e( X  ?# f: H' g

$ t( X" M( a7 H7 e4 [! {& N0 l```bash
( c1 r; A, G0 [" M- ^, X7 k1 u# Debian-based:* z6 g  ]$ c- S/ U9 ?9 m
sudo apt install wget git python3 python3-venv
: R8 c9 x2 `( }) g9 `9 u$ |  D6 J+ j# Red Hat-based:
; d4 E4 Y1 t( Bsudo dnf install wget git python3, R# X) u. B) w1 g0 b% @
# Arch-based:5 U5 D! A. L: m3 g! l
sudo pacman -S wget git python3
2 T8 b* Z( l/ N! n. D```
% j, L* K/ c5 w, d* M- g& ]
3 f9 b8 w8 f9 [2. Navigate to the directory you would like the webui to be installed and execute the following command:7 {" W# O6 d0 M7 L
+ i- J! r" [& l6 |
```bash
' h9 h8 d9 ]% Nbash <(wget -qO- https://raw.githubusercontent.co ... bui/master/webui.sh)/ x% i4 c- N: q4 U2 ]9 [, O
```$ L0 o) x! T3 [  n

0 |1 j3 }! \$ @) g/ k3 P# G0 O7 _( a3. Run `webui.sh`., z/ N0 E9 m. W$ g9 v+ U  N5 D( I
4. Check `webui-user.sh` for options.3 v$ A, B! Z+ W+ M" s% @
2 U( I7 z- r5 \) R, E
### Installation on Apple Silicon
/ E1 \; U* G6 Y6 _1 W, T
+ X: o. `; t! K, q1 S! bFind the instructions [here](https://github.com/AUTOMATIC1111 ... on-on-Apple-Silicon).
; J: A4 Z/ r$ ]. ?3 R9 Y
9 c2 A! f7 l/ L## Contributing
! O) j& |! F% O  v8 a$ \% ?- m" L% i* a1 ^: r9 r3 j- J3 v
Here's how to add code to this repo: [Contributing](https://github.com/AUTOMATIC1111 ... i/wiki/Contributing)
5 A! J  E9 t. M7 k2 Y2 V/ n9 o' V$ z4 R0 b3 i' U
## Documentation& J3 q# ~! [& ~8 v' U: y% ^7 H

+ |9 N$ a6 s+ u* O* m: c: `7 \The documentation was moved from this README over to the project's [wiki](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki).
5 `: f" j" N! N
6 o# `$ g: I$ k& H- l8 ~- b9 Z## Credits0 T( x, x% }, ?5 m$ Z& M

+ D0 ~, x2 ]  D: [/ \3 LLicenses for borrowed code can be found in `Settings -> Licenses` screen, and also in `html/licenses.html` file.% p" M" m- t4 h) Z: Y5 q+ i

4 A" ^/ T8 @- J* \0 D- Stable Diffusion - https://github.com/CompVis/stable-diffusion, https://github.com/CompVis/taming-transformers& O5 m: @  D, p  r, O- O
- k-diffusion - https://github.com/crowsonkb/k-diffusion.git
  N+ s  k8 n+ }1 [- GFPGAN - https://github.com/TencentARC/GFPGAN.git
4 A+ S! C: I" b3 M$ Z+ r- CodeFormer - https://github.com/sczhou/CodeFormer# N7 m3 |# D6 j6 K9 }
- ESRGAN - https://github.com/xinntao/ESRGAN
8 O6 f  w: K9 d- c- SwinIR - https://github.com/JingyunLiang/SwinIR  G+ _7 n+ j, E1 U" U- |8 R
- Swin2SR - https://github.com/mv-lab/swin2sr7 o+ A3 m$ |. J
- LDSR - https://github.com/Hafiidz/latent-diffusion. E; _+ f4 H, u! J5 t: U% D: C; u: j
- MiDaS - https://github.com/isl-org/MiDaS
  P! m! A% c4 v- Ideas for optimizations - https://github.com/basujindal/stable-diffusion
3 ~! [4 \$ ?; H- Cross Attention layer optimization - Doggettx - https://github.com/Doggettx/stable-diffusion, original idea for prompt editing.8 E4 S' C' \; h: L# d3 g- u# P
- Cross Attention layer optimization - InvokeAI, lstein - https://github.com/invoke-ai/InvokeAI (originally http://github.com/lstein/stable-diffusion)) B$ h5 {  J7 m9 n' t5 X5 g! ^
- 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)
+ q5 h: ~3 g6 Z9 Z  {+ v9 z3 r+ `- Textual Inversion - Rinon Gal - https://github.com/rinongal/textual_inversion (we're not using his code, but we are using his ideas).
6 P0 G  X/ B# F; W- Idea for SD upscale - https://github.com/jquesnelle/txt2imghd
" u$ q, {! i7 q7 Z1 r- Noise generation for outpainting mk2 - https://github.com/parlance-zz/g-diffuser-bot
9 H- I+ [7 X. e8 [: N: Y- CLIP interrogator idea and borrowing some code - https://github.com/pharmapsychotic/clip-interrogator$ |9 F: u. M- [/ b0 w2 D
- Idea for Composable Diffusion - https://github.com/energy-based- ... sion-Models-PyTorch
) P( \4 k* q! P/ e! Y& t- xformers - https://github.com/facebookresearch/xformers2 Y! u; A8 X2 E4 x
- DeepDanbooru - interrogator for anime diffusers https://github.com/KichangKim/DeepDanbooru
; g/ T" w+ U, }, H9 V- C- 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)  z3 x9 F$ \" r' P( m1 N
- Instruct pix2pix - Tim Brooks (star), Aleksander Holynski (star), Alexei A. Efros (no star) - https://github.com/timothybrooks/instruct-pix2pix# ]% m, K* q" r) U& ?, r1 c
- Security advice - RyotaK) D1 c! C2 s6 g2 e2 z+ T
- UniPC sampler - Wenliang Zhao - https://github.com/wl-zhao/UniPC
* D. {+ Y& f$ q5 T# `! p& _* M2 e: _- TAESD - Ollin Boer Bohan - https://github.com/madebyollin/taesd' L  r+ F9 I7 d8 U5 S
- Initial Gradio script - posted on 4chan by an Anonymous user. Thank you Anonymous user.
3 i* ^* ?; y& O& T; X- Olive - https://github.com/microsoft/Olive7 o. U& ^# _% z) y. w* Y# x2 z
- (You)
- B0 y' Z4 t: p9 k; n) I, H  _) S: u3 T2 I- N# J2 H5 p

( m$ u, j+ d% y, X; lhttps://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-11-3 02:35 AM , Processed in 0.102687 second(s), 23 queries .

Powered by xyh-moon X3.5

© 2001-2026 Discuz! Team.

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