-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
safetensor如何转何转为四个onnx模型 #6
Comments
应该不是任意都可以吧,optimum似乎还不支持LoRa的export |
也就是不带Lora的safetensor可以直接通过optimum导出为onnx是吧大佬 |
有段时间没看sd的东西了,印象里是不支持lora的,但简单改改代码,controlnet、lora这些都可以转。标准的sd理论上都可以用optimum直接导出的 |
好的 感谢大佬回复 感谢感谢 大佬工作顺利! |
大佬你好 非常优秀的工作 我是从公众号上看到来这个repo的 感谢大佬无偿分享知识 在公众号中
optimum-cli export onnx —task stable-diffusion —model stable-diffusion-inpainting stable-diffusion-inpainting-onnx
得到4个onnx模型 是我在c站上任意下载safetensors文件然后使用上述代码都可以得到四个组件的onnx文件吗 期待大佬回复The text was updated successfully, but these errors were encountered: