-
Notifications
You must be signed in to change notification settings - Fork 87
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
Any updates in generating dynamic shape images? #69
Comments
hi,
yes, OnnxStream (the library!) now supports dynamic shapes for inputs, via
the m_support_dynamic_shapes option.
This was done to be able to run TinyLlama and Mistral7B; the Stable
Diffusion application has not been updated.
I plan to do some tests in the future to support custom width and height in
the SD application, but I can't determine a release date for this feature
at the moment... :-(
Vito
|
No, probs I will try to implement it by my self and let you know when I'm done 😉 |
cool!
Let me know about your progress here!
thanks, Vito
|
Hi - Any news on custom resolutions? I've got SD powering my 800x480 7-colour e-ink display and would desperately like to be able to render to an apsect ratio closer to that. Cropping my 512x512 images is suboptimal! |
Nope, no progress. Got busy with some personal work. Sorry to say but my job is exhaustive and I don't get time even at weekends 😞 |
sorry for the late reply...
so, I took a look at the problem: I was hoping for an easy workaround, but
unfortunately, in order to support arbitrary resolutions, we must re-export
the UNET model and the VAE model...
I will post updates here...
Vito
|
Can't we use gguf for this task? It might be dumb to say that but I am kinda new to llama.cpp stuff. |
OnnxStream and llama.cpp are two completely different projects, without any
dependencies.
Models in OnnxStream are converted from onnx to the OnnxStream format using
onnx2txt:
https://github.com/vitoplantamura/OnnxStream/blob/master/onnx2txt/onnx2txt.ipynb
Vito
|
Done. Only SDXL Turbo is supported. The --res option allows to set the resolution. @dylski: this is an example with "--res 800x480": Vito |
Like you mentioned in #44 that in the next version of onnxstream we will be able to generate dynamically shaped images
Any progress so far? Any updates?
Thanks in advance
The text was updated successfully, but these errors were encountered: