Spaces:
Running on Zero
Reduce GPU duration from default 60s to 15s to help more users
Hi @mrfakename ,
Thank you for maintaining this great Z-Image-Turbo Space! ๐จ
I noticed that the Space is currently using the default ZeroGPU duration of 60 seconds per generation (because @spaces.GPU() has no duration parameter, or it's not set explicitly).
From my tests and community feedback, Z-Image-Turbo usually finishes generating one image in 5โ15 seconds (even at 1024ร1024 with 8โ10 steps on ZeroGPU hardware). 60 seconds is more than enough, but it consumes a lot of users' daily free GPU quota.
Could you please update the code to use a shorter duration, for example:
Python@spaces.GPU(duration=15)
(or even make it dynamic based on steps/resolution)?
This small change would allow many more users (especially free-tier users) to generate images before hitting the quota limit, and it may also give the Space slightly better queue priority.
Thanks in advance for considering this!
Really appreciate your work on this fast and high-quality demo.
Best regards