Spaces:
Running on Zero
Running on Zero
Commit ·
f4a7c5c
1
Parent(s): 519548d
Raise high-detail ZeroGPU duration to 90s (was 60s)
Browse filesLatest 100 logs show high-detail p95=67.9s and p99=72.6s pipeline time,
so 60s was insufficient. 90s covers p99 with headroom for overhead.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
app.py
CHANGED
|
@@ -352,7 +352,7 @@ def infer(images_b64_json, prompt, seed, randomize_seed, guidance_scale, steps,
|
|
| 352 |
raise
|
| 353 |
|
| 354 |
|
| 355 |
-
@spaces.GPU(duration=lambda *a, **kw: 30 if (len(a) > 7 and a[7] == "fast") else
|
| 356 |
def _infer_gpu(pil_images, prompt, seed, guidance_scale, steps, width, height, mode):
|
| 357 |
_cuda_ok = torch.cuda.is_available()
|
| 358 |
timer = _InferTimer(_cuda_ok)
|
|
|
|
| 352 |
raise
|
| 353 |
|
| 354 |
|
| 355 |
+
@spaces.GPU(duration=lambda *a, **kw: 30 if (len(a) > 7 and a[7] == "fast") else 90)
|
| 356 |
def _infer_gpu(pil_images, prompt, seed, guidance_scale, steps, width, height, mode):
|
| 357 |
_cuda_ok = torch.cuda.is_available()
|
| 358 |
timer = _InferTimer(_cuda_ok)
|