Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Missing samplers under text2img and settings menu / stable diffusion / sampler parameters #435

Open
3 of 6 tasks
dpatel86 opened this issue Apr 3, 2024 · 3 comments
Labels
ONNX About ONNX

Comments

@dpatel86
Copy link

dpatel86 commented Apr 3, 2024

Checklist

  • The issue exists after disabling all extensions
  • The issue exists on a clean installation of webui
  • The issue is caused by an extension, but I believe it is caused by a bug in the webui
  • The issue exists in the current version of the webui
  • The issue has not been reported before recently
  • The issue has been reported before but has not been fixed yet

What happened?

I have been struggling with SD install using AMD cards, however as of today I was finally able to get Olive to successfully generate image.

Previous version of the SD install had all the DPM < samplers, but with recent transition to ONNX and Olive, and executing the "Extra instruction for DirectmL" located here: #149
all but the attached samplers have disappeared.
Screenshot 2024-04-02 203545

Steps to reproduce the problem

Install ONNX?!?
settings menu / stable diffusion / sampler parameters

What should have happened?

Various DPM iterative samplers should be present, as they were prior to migration to ONNX.

What browsers do you use to access the UI ?

Mozilla Firefox

Sysinfo

sysinfo-2024-04-03-01-37.json

Console logs

Already up to date.
venv "C:\Users\Dshan-x64-ssd\stable-diffusion-webui-directml\venv\Scripts\Python.exe"
fatal: No names found, cannot describe anything.
Python 3.10.14 | packaged by conda-forge | (main, Mar 20 2024, 12:40:08) [MSC v.1938 64 bit (AMD64)]
Version: 1.8.0-RC
Commit hash: 7071a4a7e42e7d5588f7c3eee44d411953419f8d
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
C:\Users\Dshan-x64-ssd\stable-diffusion-webui-directml\venv\lib\site-packages\pytorch_lightning\utilities\distributed.py:258: LightningDeprecationWarning: `pytorch_lightning.utilities.distributed.rank_zero_only` has been deprecated in v1.8.1 and will be removed in v2.0.0. You can import it from `pytorch_lightning.utilities` instead.
  rank_zero_deprecation(
Launching Web UI with arguments: --use-cpu-torch
Warning: caught exception 'Torch not compiled with CUDA enabled', memory monitor disabled
ONNX: selected=DmlExecutionProvider, available=['DmlExecutionProvider', 'CPUExecutionProvider']
ControlNet preprocessor location: C:\Users\Dshan-x64-ssd\stable-diffusion-webui-directml\extensions\sd-webui-controlnet\annotator\downloads
2024-04-02 20:02:13,621 - ControlNet - INFO - ControlNet v1.1.443
2024-04-02 20:02:13,712 - ControlNet - INFO - ControlNet v1.1.443
[LyCORIS]-WARNING: LyCORIS legacy extension is now loaded, if you don't expext to see this message, please disable this extension.
2024-04-02 20:02:13,940 - ControlNet - INFO - ControlNet UI callback registered.
Running on local URL:  http://127.0.0.1:7860

Thanks for being a Gradio user! If you have questions or feedback, please join our Discord server and chat with us: https://discord.gg/feTf9x3ZSB

To create a public link, set `share=True` in `launch()`.
Startup time: 3.5s (prepare environment: 9.2s, initialize shared: 1.3s, load scripts: 0.9s, create ui: 0.5s, gradio launch: 0.2s).
You have disabled the safety checker for <class 'diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion.StableDiffusionPipeline'> by passing `safety_checker=None`. Ensure that you abide to the conditions of the Stable Diffusion license and do not expose unfiltered results in services or applications open to the public. Both the diffusers team and Hugging Face strongly recommend to keep the safety filter enabled in all public facing circumstances, disabling it only for use-cases that involve analyzing network behavior or auditing its results. For more information, please have a look at https://github.com/huggingface/diffusers/pull/254 .
Applying attention optimization: InvokeAI... done.

Additional information

GPU drivers are upto date.

The samplers were prevalent when I was using only directmL but the speeds were slow and images were blurry and extremely slow.

@lshqqytiger
Copy link
Owner

lshqqytiger commented Apr 3, 2024

ONNX pipeline uses the samplers from diffusers library, but the original implementation of webui depends on k-diffusion. Therefore, there's a few samplers available with ONNX enabled. If you want pure diffusers implementation and full support of variant samplers with ONNX pipelines, use SD.Next. Please create feature request if you want me to add more samplers in this repository.

@lshqqytiger lshqqytiger added the ONNX About ONNX label Apr 3, 2024
@dpatel86
Copy link
Author

dpatel86 commented Apr 3, 2024

Is this the SD.Next git?

@lshqqytiger
Copy link
Owner

https://github.com/vladmandic/automatic
It is also a fork of webui.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ONNX About ONNX
Projects
None yet
Development

No branches or pull requests

2 participants