Closed eadst closed 1 year ago
可以使用 https://github.com/Amblyopius/Stable-Diffusion-ONNX-FP16 转为onnx,然后下载 https://github.com/ZTMIDGO/Android-Stable-diffusion-ONNX/files/11745190/conv_sd_to_onnx.txt 替换项目里的conv_sd_to_onnx.py
感谢分享。我修改了conv_sd_to_onnx.txt中的opset=14, quantization.py中的use_external_data_format=False, 可以成功运行runwayml/stable-diffusion-v1-5
可以使用 https://github.com/Amblyopius/Stable-Diffusion-ONNX-FP16 转为onnx,然后下载 https://github.com/ZTMIDGO/Android-Stable-diffusion-ONNX/files/11745190/conv_sd_to_onnx.txt 替换项目里的conv_sd_to_onnx.py
TypeError: download_from_original_stable_diffusion_ckpt() got an unexpected keyword argument 'checkpoint_path'
Please elaborate how do I run this ? Nothing happens when I try to do it. It just loads for a second and nothing changes. This is my current files and folders: So basically I have folder Model-fp16 which includes:
我参考了这个链接可以量化fp16的模型,但是替换model生成图像报错error。 Accelerating Stable Diffusion Inference with ONNX Runtime
请问有stable diffusion模型onnx int8量化参考链接或者代码嘛?