multimodalart HF Staff commited on
Commit
013c185
·
verified ·
1 Parent(s): 392bb31

bf16 dequant only in warmup (no generate fallback) — surface warmup failures

Browse files
Files changed (1) hide show
  1. app.py +0 -1
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(