Amblyopius / Stable-Diffusion-ONNX-FP16

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.
GNU General Public License v3.0
293 stars 45 forks source link

About onnxruntime-directml #54

Open xwentian2020 opened 5 months ago

xwentian2020 commented 5 months ago

Instead onnxruntime-directml, I used the command"pip install onnxruntime" for installation. In running the command of "python conv_sd_to_onnx.py --model_path "./stable-diffusion-v1-5" --output_path "./model/sd1.5_base-fp32" ", there promoted an error message. It said that onnxruntime.capi.onnxruntime_pybind11_state.NotImplemented: [ONNXRuntimeError] : 9 : NOT_IMPLEMENTED : Could not find an implementation for BiasSplitGelu(1) node with name 'BiasSplitGelu_0'. Is it a must to use onnxruntime-directml?

anmolduainter commented 1 month ago

I am getting the same error. Any solution so far ?