Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Expect Dense (bf16) after a declined encoder precision (#11580)

Daniel Hand5dc3ffef499
diff --git a/tests/studio/playwright_image_text_encoder.py b/tests/studio/playwright_image_text_encoder.py
index 7235ae4bd9b..30a9e93ce30 100644
--- a/tests/studio/playwright_image_text_encoder.py
+++ b/tests/studio/playwright_image_text_encoder.py
@@ -207,11 +207,16 @@ def main():
)
if DECLINE:
# The select must show what RAN, or the page advertises a precision nothing is using.
- expect(encoder).to_have_text("Default")
+ # A declined scheme runs the dense encoder ("off"), and since #11539 a family default
+ # can pick a scheme on its own, so Default no longer means dense: the select shows the
+ # opt-out that did run (images-page.tsx maps an engaged "off" to "none", not "auto").
+ expect(encoder).to_have_text("Dense (bf16)")
assert loads[-1]["text_encoder_quant"] == "fp8", loads
assert not errors, errors
_record(page, state, loads, plans, errors)
- print(f"Passed: a declined encoder precision reseeds to Default ({browser.version})")
+ print(
+ f"Passed: a declined encoder precision reseeds to Dense (bf16) ({browser.version})"
+ )
context.close()
browser.close()
return