Spaces:
GGUFGuy
/
Runtime error

Zrelv Claude Opus 4.8 (1M context) commited on
Commit
17a0663
·
1 Parent(s): 28caa84

Cap GPU duration reservation at 140s to clear free-tier per-call limit

Browse files

get_inference_duration() returned a padded worst-case that, once reserved,
exceeded free-tier ZeroGPU's ~300s per-call cap -> 'The requested GPU duration
is larger than the maximum allowed'. Cap the reservation at 140s, which still
covers real p90 (~107s) and the 150s caller timeout, so generations run at any
length.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01M4Dr1cMq3pUbTUnXXRs9V1

1 file changed +5
app.py+5