Running Stable Diffusion XL 1.0 in 298MB of RAM
1–10 of 166 posts
Re: Running Stable Diffusion XL 1.0 in 298MB of RAM
#2Re: Running Stable Diffusion XL 1.0 in 298MB of RAM
#3"OnnxStream can consume even 55x less memory than OnnxRuntime while being only 0.5-2x slower"
The trade-off between (V)RAM use and inference time sounds like it could be advantageous in some scenarios, and not just when RAM is constrained like in the RPi case.
I actually wonder if this weight unloading approach can be used to handle larger batch sizes in the same amount of RAM, in effect increasing throughput massively at the cost of latency.
Re: Running Stable Diffusion XL 1.0 in 298MB of RAM
#4Re: Running Stable Diffusion XL 1.0 in 298MB of RAM
#5Re: Running Stable Diffusion XL 1.0 in 298MB of RAM
#6Re: Running Stable Diffusion XL 1.0 in 298MB of RAM
#7Fascinating. The money quote: "OnnxStream can consume even 55x less memory than OnnxRuntime while being only 0.5-2x slower" The trade-off between (V)RAM use and inference time sounds like it could be advantageous in some scenarios, and not just when RAM is constrained like in the RPi case. I actually wonder if this weight unloading approach can be used to handle larger batch sizes in the same amount of RAM, in effect…
I assume they meant to say "1.5-2x slower".
Re: Running Stable Diffusion XL 1.0 in 298MB of RAM
#8This would be really cool to have running embedded in a digital photo frame or wall painting.