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.
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?
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?