Spaces:
Running on Zero
Running on Zero
Commit ·
ae435f6
1
Parent(s): b36328a
Log gpu_duration and mode at infer start
Browse filesCo-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
app.py
CHANGED
|
@@ -359,7 +359,7 @@ def _infer_gpu(pil_images, prompt, seed, guidance_scale, steps, width, height, m
|
|
| 359 |
t0 = time.perf_counter()
|
| 360 |
|
| 361 |
print(f"[infer] ===== START =====")
|
| 362 |
-
print(f"[infer] steps={steps}, guidance={guidance_scale}, seed={seed}")
|
| 363 |
print(f"[infer] prompt={repr(prompt[:120])}")
|
| 364 |
|
| 365 |
if _cuda_ok:
|
|
|
|
| 359 |
t0 = time.perf_counter()
|
| 360 |
|
| 361 |
print(f"[infer] ===== START =====")
|
| 362 |
+
print(f"[infer] steps={steps}, guidance={guidance_scale}, seed={seed}, gpu_duration={gpu_duration}s, mode={mode}")
|
| 363 |
print(f"[infer] prompt={repr(prompt[:120])}")
|
| 364 |
|
| 365 |
if _cuda_ok:
|