Skip to content

[staging] Studio: classify MLX repos by name or model-card tag everywhere - #243

Closed
Lyxot wants to merge 2 commits into
mainfrom
mlx-format-classifier
Closed

Lyxot wants to merge 2 commits into
mainfrom
mlx-format-classifier

Conversation

@Lyxot

@Lyxot Lyxot commented Nov 6, 2026

Copy link
Copy Markdown
Owner

Staging copy of unslothai#16883 for faster CI. Same head and base.

The model picker decided MLX by repo name only, while the Hub page search, On Device inventory, inspector precision card, picker precision-folder expansion and the backend precision-folder listing decided it by the model card's mlx tag or library_name only. The Hub only marks MLX from the model card, so untagged MLX uploads (including unsloth/*-MLX-* repos) and tagged repos without MLX in the name landed in different formats depending on the screen.

Add hasMlxCardTag and an optional hint to isMlxId (mirroring isGgufId) in hub/lib/format-filters.ts, and use name OR tag on every surface that has both. matchesFormatFilter keeps GGUF precedence so a GGUF repo's mlx tag never moves it into MLX. The backend name rule moves to hub/utils/mlx_variants.py as looks_like_mlx_repo and also gates the MLX precision-folder listing.
@Lyxot Lyxot added the MLX MLX related label Nov 6, 2026
The cached inventory row's repo field holds only the repo name, so the mlx-community/ owner rule never matched there; use repoId.
@Lyxot

Lyxot commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

CI verified on 9034109 (58 passed, 2 skipped, 0 failed). Closing; results posted on unslothai#16883.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

MLX MLX related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant