conver sd_xl_base_1.0 to ONNXT model prompt error
Describe the bug
i want to conver sd_xl_base_1.0 to ONNXT model use conv_sd_to_onnx.py but prompt error :
global_step key not found in model
Traceback (most recent call last):
File "J:\download\StableDiffusionONNX\Stable-Diffusion-ONNX-FP16ver1.3\conv_sd_to_onnx.py", line 602, in
Reproduction
global_step key not found in model
Traceback (most recent call last):
File "J:\download\StableDiffusionONNX\Stable-Diffusion-ONNX-FP16ver1.3\conv_sd_to_onnx.py", line 602, in
Logs
No response
System Info
Diffusers version :sd_xl_base_1.0 platform: windows 11 Python version:3.10.6 use AMD 6800 VIDEO CARD
Who can help?
No response
We recommend using optimum: https://github.com/huggingface/optimum for everything onnx related cc @echarlaix
@mikeduoxin you can find more examples for export and inference in the documentation, and feel free to open an issue in optimum directly in case you're facing any issue.
Also might make sense to start adding deprecation warnings in diffusers @patrickvonplaten wdyt ?
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.