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
Model picker contract: follow the On Device filter onto Discover's capability picks (#14138)
Daniel Han9c52c6f52248
diff --git a/tests/studio/test_model_picker_contracts.py b/tests/studio/test_model_picker_contracts.pyindex 30484ce5761..1d7e237a163 100644--- a/tests/studio/test_model_picker_contracts.py+++ b/tests/studio/test_model_picker_contracts.py@@ -426,13 +426,20 @@ def test_diffusion_capability_labeled_image_video_gen():"features/hub/lib/view-models.ts",):assert "Image to text" not in _read(rel), rel- assert '{ value: "diffusion", label: "Image/video gen" }' in _read(- "features/hub/lib/model-type-filter.ts"- )# The Hub filter splits the capability into its two generator kinds (#13749).hub = _read("features/hub/lib/view-models.ts")assert '{ value: "image-gen", label: "Image gen" }' in hubassert '{ value: "video-gen", label: "Video gen" }' in hub+ # The badge on a model carries the same two names.+ assert '"Video gen" : "Image gen"' in _read("features/hub/lib/model-capabilities.ts")+ # Since #14083 the On Device list takes Discover's picks and matcher instead of+ # keeping its own option list, so the names above are the only ones it shows.+ # Should it grow its own list again, the diffusion entry must still name generators.+ on_device = _read("features/hub/lib/model-type-filter.ts")+ if 'value: "diffusion"' in on_device:+ assert '{ value: "diffusion", label: "Image/video gen" }' in on_device+ else:+ assert "matchesHubCapability" in on_devicedef test_active_model_config_round_trips_gpu_fields():