How to use the ONNX Runtime for inference
	
🤗 Optimum provides a Stable Diffusion pipeline compatible with ONNX Runtime. 

Installation
	
Install 🤗 Optimum with the following command for ONNX Runtime support:


	Copied
pip install optimum["onnxruntime"]

Stable Diffusion Inference
	
To load an ONNX model and run inference with the ONNX Runtime, you need to replace StableDiffusionPipeline with ORTStableDiffusionPipeline. In case you want to load