Spaces:
Running on Zero
Running on Zero
bf16 dequant only in warmup (no generate fallback) — surface warmup failures
Browse files
app.py
CHANGED
|
@@ -180,7 +180,6 @@ def generate(
|
|
| 180 |
gr.Warning("`outlines` is not installed — upsampling without structural constraints.")
|
| 181 |
final_prompt = upsample_prompt(prompt, int(width), int(height))
|
| 182 |
|
| 183 |
-
_ensure_bf16_transformers()
|
| 184 |
generator = torch.Generator(device="cuda").manual_seed(int(seed))
|
| 185 |
preset = MODES.get(mode, MODES["Default · 20 steps"])
|
| 186 |
image = pipe(
|
|
|
|
| 180 |
gr.Warning("`outlines` is not installed — upsampling without structural constraints.")
|
| 181 |
final_prompt = upsample_prompt(prompt, int(width), int(height))
|
| 182 |
|
|
|
|
| 183 |
generator = torch.Generator(device="cuda").manual_seed(int(seed))
|
| 184 |
preset = MODES.get(mode, MODES["Default · 20 steps"])
|
| 185 |
image = pipe(
|