Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[branch: Controlnet_V2] ONNX IR model version conflict, how do i downgrade? #313

Open
DuckersMcQuack opened this issue Apr 13, 2024 · 0 comments

Comments

@DuckersMcQuack
Copy link

DuckersMcQuack commented Apr 13, 2024

I installed onnx with pip, and got this error. Using latest automatic1111 from march this year.

[W] colored module is not installed, will not use colors when logging. To enable colors, please install the colored module: python3 -m pip install colored
[W] Inference failed. You may want to try enabling partitioning to see better results. Note: Error was:
[ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Failed to load model with error: C:\a_work\1\s\onnxruntime\core\graph\model.cc:180 onnxruntime::Model::Model Unsupported model IR version: 10, max supported IR version: 9
[W] colored module is not installed, will not use colors when logging. To enable colors, please install the colored module: python3 -m pip install colored
[W] Inference failed. You may want to try enabling partitioning to see better results. Note: Error was:
[ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Failed to load model with error: C:\a_work\1\s\onnxruntime\core\graph\model.cc:180 onnxruntime::Model::Model Unsupported model IR version: 10, max supported IR version: 9

How do i downgrade the model to version 9?

@DuckersMcQuack DuckersMcQuack changed the title [Controlnet_V2] ONNX IR model version conflict, how do i downgrade? [branch: Controlnet_V2] ONNX IR model version conflict, how do i downgrade? Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant