AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
143.96k stars 27.06k forks source link

[Bug]: return the black squares alltime in ubuntu and docker #9533

Open wsk1103 opened 1 year ago

wsk1103 commented 1 year ago

Is there an existing issue for this?

What happened?

Graphics card:AMD 6650XT OS:ubuntu 20.04.6 LTS docker version: 23.0.3 uname -r: 5.15.0-69-generic no matter what tags are entered, the result is black squares.

Steps to reproduce the problem

  1. enter the school tag
  2. click generate
  3. return black squares....

What should have happened?

if i enter the tag is school,it can return the school picture.

Commit where the problem happens

Commit hash: a9fed7c364061ae6efb37f797b6b522cb3cf7aa2

What platforms do you use to access the UI ?

Linux

What browsers do you use to access the UI ?

Mozilla Firefox

Command Line Arguments

docker exec -it stable-diffusion bash -c "cd /dockerx/stable-diffusion-webui && source venv/bin/activate && REQS_FILE='requirements.txt' HSA_OVERRIDE_GFX_VERSION=10.3.0 python launch.py --lowvram --disable-nan-check --precision full --no-half"

List of extensions

no

Console logs

CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES
stable-diffusion
Python 3.9.5 (default, Nov 23 2021, 15:27:38) 
[GCC 9.3.0]
Commit hash: a9fed7c364061ae6efb37f797b6b522cb3cf7aa2
Installing requirements for Web UI

Launching Web UI with arguments: --lowvram --disable-nan-check --precision full --no-half
No module 'xformers'. Proceeding without it.
Loading weights [6ce0161689] from /dockerx/stable-diffusion-webui/models/Stable-diffusion/v1-5-pruned-emaonly.safetensors
Creating model from config: /dockerx/stable-diffusion-webui/configs/v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Applying cross attention optimization (Doggettx).
Textual inversion embeddings loaded(0): 
Model loaded in 14.0s (load weights from disk: 0.4s, create model: 0.4s, apply weights to model: 12.7s, load VAE: 0.5s).
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 19.8s (import gradio: 1.9s, import ldm: 0.9s, other imports: 1.4s, load scripts: 0.3s, load SD checkpoint: 14.1s, create ui: 1.1s).
100%|███████████████████████████████████████████| 20/20 [02:11<00:00,  6.57s/it]
Total progress: 100%|███████████████████████████| 20/20 [02:04<00:00,  6.24s/it]
Closing server running on port: 7860████████████| 20/20 [02:04<00:00,  6.60s/it]
Restarting UI...
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 1.5s (list extensions: 0.2s, create ui: 1.1s).
100%|███████████████████████████████████████████| 20/20 [02:13<00:00,  6.66s/it]
Total progress: 100%|███████████████████████████| 20/20 [02:06<00:00,  6.33s/it]
Total progress: 100%|███████████████████████████| 20/20 [02:06<00:00,  6.73s/it]

Additional information

No response

ClashSAN commented 1 year ago

AMD 6650XT, see if there are other issues with this card. you might want to see which version of rocm is installed.