Stable-Diffusion-ONNX-FP16 icon indicating copy to clipboard operation
Stable-Diffusion-ONNX-FP16 copied to clipboard

Example code and documentation on how to get Stable Diffusion running with ONNX FP16 models on DirectML. Can run accelerated on all DirectML supported cards including AMD and Intel.

Results 16 Stable-Diffusion-ONNX-FP16 issues
Sort by recently updated
recently updated
newest added

After cloned the UI , launching the command: python OnnxDiffusersUI\onnxUI.py i receive the following error message: " File "H:\Stable-Diffusion-ONNX-FP16\OnnxDiffusersUI\onnxUI.py", line 14, in from diffusers import ( ImportError: cannot import name...

At the moment I am able to use [Canny Edge Detection](https://github.com/dakenf/diffusers.js/pull/8), [Pose Estimation and Semantic Segmentation](https://github.com/dakenf/diffusers.js/pull/11) (all in JavaScript thanks to [OpenCV.js](https://docs.opencv.org/4.x/d5/d10/tutorial_js_root.html)) in [diffusers.js](https://github.com/dakenf/diffusers.js) for the annotation (pre-processing) of images...

Hello, I wanted to know if it was possible to use the model converted with controlnet on Stable Diffusion DirectML. I did a test and encountered this error: raise ValueError(...

Not sure if I'm getting ahead of myself since some of the models that I will mention are new but I am not able to convert certain Text2Video or Img2Video...

I tried to use the `conv_sd_to_onnx.py` script to convert [thibaud's Canny ControlNet for SD 2.1](https://huggingface.co/thibaud/controlnet-sd21-canny-diffusers) to ONNX format but it did not work, specifically a shape mismatch error occurred. The...

``` Traceback (most recent call last): File "C:\Users\minn\Downloads\Stable Diffusion\Stable-Diffusion-ONNX-FP16\OnnxDiffusersUI\onnxUI.py", line 1288, in image_t2 = gr.Image( File "C:\Users\minn\Downloads\Stable Diffusion\Stable-Diffusion-ONNX-FP16\sd_env\lib\site-packages\gradio\component_meta.py", line 146, in wrapper return fn(self, **kwargs) TypeError: Image.__init__() got an unexpected...

I have a AMD 6800M GPU but Direct ML only supports 7000 series and above. I can run a Kobold.cpp with CLBlast up to a 13b model for text generation....

pip install torch --extra-index-url https://download.pytorch.org/whl/nightly/cpu --pre Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/nightly/cpu ERROR: Could not find a version that satisfies the requirement torch (from versions: none) ERROR: No matching distribution found...

https://github.com/huggingface/diffusers/blame/main/src/diffusers/pipelines/stable_diffusion/convert_from_ckpt.py#L1114 The parameter checkpoint_path for download_from_original_stable_diffusion_ckpt has been renamed to checkpoint_path_or_dict last month

Hi, there is a model that I am trying to convert, the file is from civitai.com, so it is a single `.safetensors` file, I have been successfully testing it via...