Qwen image free space(s) not useable because too long

Hi, when trying some Qwen image models do I get the message that it exceeds the free limit because it want to run over 300 seconds.

ZeroGPU illegal duration

The requested GPU duration (300s) is larger than the maximum allowed.

E.g.

My friend tried it on his computer too and couldn’t use the official qwen image edit space.

P.s. the image upload button doesn’t work even when trying to upload/attach a 68kb small images does it endless load “processing upload” or something similar.


Uploaded externally.

1 Like

Another space which doesn’t work:

(As a new user was I not allowed to add more than 2 links my first post and the external hosted image required link #2)

1 Like

The actual processing doesn’t seem to take 300 seconds, but the author appears to have hardcoded it to 300 seconds as a buffer.

If you want to change this, you’ll have to modify it yourself. Since it’s Zero GPU Spaces, it’s impossible unless you have a Pro (or Team, Enterprise) subscription.

https://huggingface.co/spaces/Qwen/Qwen-Image-Edit-2509/blob/main/app.py#L178:

@spaces.GPU(duration=300) # <= this line

Cf. https://huggingface.co/docs/hub/en/spaces-zerogpu#duration-management

But why are even 2 spaces impacted, especially the original Qwen? To block free users?

1 Like

Only the author of the code knows the purpose… Computers can only operate as instructed. You might want to try submitting a request to the author via the Community tab.

Anyone can duplicate and modify that Space (though a subscription is required), but if you want to modify the Space itself, you’ll have to contact the creator.

I’m sadly just a free user.

1 Like

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.