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.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
MLX stub: answer zoo's fused_verify_attention (#13863)
Daniel Han0c09fca8c939
diff --git a/studio/backend/tests/test_mlx_inference_backend.py b/studio/backend/tests/test_mlx_inference_backend.pyindex dac313f7f7b..0c4f6944f98 100644--- a/studio/backend/tests/test_mlx_inference_backend.py+++ b/studio/backend/tests/test_mlx_inference_backend.py@@ -33,6 +33,10 @@ FUSIONS = ("residual_norm_handoff","packed_gated_delta",)+# Fused scopes zoo's own generate.py enters that Studio does not wrap itself, so they get no+# _mlx_fused_* helper and stay out of the FUSIONS parametrisations: unsloth_zoo #1757 added+# fused_verify_attention around speculative verify. The stub still has to answer them.+ZOO_ONLY_FUSIONS = ("verify_attention",)@pytest.fixture(autouse = True)@@ -41,7 +45,7 @@ def mlx_inference_patches(monkeypatch, native_vlm_generation_context):monkeypatch.setattr(mlx_inference, "_vlm_generation_context", contextlib.nullcontext)module = types.ModuleType("unsloth_zoo.mlx.inference")- for name in FUSIONS:+ for name in FUSIONS + ZOO_ONLY_FUSIONS:setattr(module, f"fused_{name}", _neutral_scope)for name, helper in PLAIN_HELPERS.items():setattr(module, name, helper)