Skip to content

fix(cli): rebuild mlxcel list from the ModelType registry - #27

Merged
inureyes merged 3 commits into
mainfrom
fix/issue-26-list-exhaustive
May 18, 2026
Merged

inureyes merged 3 commits into
mainfrom
fix/issue-26-list-exhaustive

Conversation

@inureyes

Copy link
Copy Markdown
Member

Summary

mlxcel list was a 40-line hand-written block that had drifted badly from the ModelType registry: the header advertised "57+" while the enum holds 92 variants, the entire VLM surface was missing, ~10 text/hybrid families were unlisted, the "Llama family" line falsely promoted HF compat tags (Yi, TinyLlama, Vicuna) to first-class engines, and the trailing pointer at docs/model_implementations.md referenced a file that does not exist in any released artifact.

This PR makes the ModelType enum the single source of truth and drives the CLI output from it. Adding a new ModelType variant in the future is now a build error until the variant is wired into both ModelType::metadata() (exhaustive match) and ALL_MODEL_TYPES (compile-time slice + runtime test).

What changed

  • src/models/mod.rs

    • New pub const ALL_MODEL_TYPES: &[ModelType] listing every variant in declaration order (92 entries; verified against src/model_metadata.rs).
    • New ModelType::metadata(self) -> (&'static str, &'static str), a const fn whose exhaustive match provides a (display_name, family) tuple per variant. Adding a future variant without metadata is now a compile error.
    • New convenience accessors ModelType::display_name() and ModelType::family().
    • Three new tests under metadata_tests: all_model_types_covers_every_variant, metadata_round_trip_is_consistent, all_model_types_has_no_duplicates.
  • src/main.rs

    • print_supported_models() rewritten into a thin print! wrapper plus a testable write_supported_models<W: fmt::Write> writer.
    • New const FAMILY_ORDER: &[&str] controls section ordering deterministically; unfamiliar families are appended alphabetically as a safety net.
    • Header now uses ALL_MODEL_TYPES.len() (currently 92) instead of the stale "57+".
    • Trailing docs/model_implementations.md reference removed — the new output is exhaustive.
  • src/main_tests.rs

    • Five new tests: supported_models_output_mentions_every_display_name, supported_models_header_uses_actual_count, supported_models_output_has_no_dead_doc_link, family_order_is_exhaustive, family_order_has_no_orphans.

No new doc files were created (the acceptance criteria explicitly forbid creating docs/model_implementations.md to "fix" the dead link — the design is to drop the reference because the new output is self-contained).

Scope: mlxcel-server is unaffected

src/bin/mlx_server.rs defines enum Commands { Download(DownloadArgs) } — no list subcommand exists on the server binary. Confirmed by reading the enum and the dispatch site. No equivalent change is needed there.

New mlxcel list output (sample)

Supported Model Architectures (92):

Llama:
  - Llama 1/2/3
  - Llama 4 (MoE)

Qwen:
  - Qwen 2 / 2.5
  - Qwen 3
  - Qwen 3 MoE
  - Qwen 3 Next (Attention + GatedDeltaNet + MoE)
  - Qwen 3.5 (Attention + GatedDeltaNet hybrid)
  - Qwen 3.5 MoE (hybrid)
  - Qwen 2 MoE

Gemma:
  - Gemma 1
  - Gemma 2
  - Gemma 3
  - Gemma 4
  - Gemma 3n
  - RecurrentGemma (Griffin: RGLRU + attention)

[...]

Qwen VLM:
  - Qwen 3.5 VLM
  - Qwen 3.5 MoE VLM
  - Qwen2-VL
  - Qwen2.5-VL
  - Qwen3-VL
  - Qwen3-VL MoE

[...]

Other VLM:
  - LLaVA (CLIP/SigLIP + Llama/Qwen2)
  - LLaVA-Bunny (SigLIP + Qwen2)
  - Youtu-VL (SigLIP2 windowed-attn + DeepSeek-V3 MLA)
  - MiniCPM-o (dynamic SigLIP + resampler + Qwen3-VL text)
  - Moondream 3 (custom ViT + custom decoder)
  - Molmo 2 (custom ViT + Molmo2 text)
  - Molmo-Point (point prediction + Molmo2 text)

(28 family sections total; rendering each of the 92 variants exactly once.)

Test plan

  • cargo check --lib --tests — clean.
  • cargo check --bin mlxcel --tests — clean.
  • cargo test --lib models::metadata_tests:: — 3/3 passing (count floor, round-trip, no-duplicates).
  • cargo test --bin mlxcel tests::supported_models — 3/3 passing (mentions every display_name, header uses actual count, no dead doc link).
  • cargo test --bin mlxcel tests::family_order — 2/2 passing (FAMILY_ORDER is exhaustive, no orphans).
  • cargo test --bin mlxcel tests::generate_command — 3/3 still passing (regression check on existing CLI parse tests).
  • cargo clippy --lib --tests -- -D warnings — clean.
  • cargo clippy --bin mlxcel --tests -- -D warnings — clean.
  • cargo fmt --check — clean.
  • ./target/debug/mlxcel list — visually verified: header shows (92), no docs/model_implementations.md pointer, all 28 family sections rendered with members in declaration order.

The release build (cargo build --release) was deliberately skipped here to stay within the orchestrator's watchdog budget; the binary build is exercised post-handback in CI.

Closes #26

inureyes added 2 commits May 18, 2026 22:26
Add a compile-time-enforced metadata table on `ModelType` so the registry becomes the single source of truth for user-facing surfaces like `mlxcel list` (issue #26). Three additions:

- `ModelType::metadata(self) -> (&'static str, &'static str)` returning `(display_name, family)` via an exhaustive `match`. Adding a new variant without filling both fields is now a build error.
- Convenience accessors `ModelType::display_name()` and `ModelType::family()` that defer to `metadata()` so callers do not need to destructure.
- `pub const ALL_MODEL_TYPES: &[ModelType]` listing every variant in declaration order. This is the iteration source for `mlxcel list` and any future enumeration consumer.

Family labels intentionally use sibling-family naming for VLMs (e.g. `"Qwen VLM"` alongside `"Qwen"`, `"Gemma VLM"` alongside `"Gemma"`) so the rendered list reads as parent-then-vision rather than collapsing every multimodal stack into a single bucket. Vision-language stacks that do not map cleanly to a single text-family parent (LLaVA, Molmo, Moondream, MiniCPM-O, Youtu) are grouped under `"Other VLM"`.

Three unit tests under `metadata_tests` enforce drift safety: `all_model_types_covers_every_variant` (count floor + non-empty metadata walk), `metadata_round_trip_is_consistent` (display_name/family vs metadata tuple), and `all_model_types_has_no_duplicates`.
Replace the 40-line hand-written block in `print_supported_models()` with a renderer that walks `ALL_MODEL_TYPES` and groups variants by `ModelType::family()`. This eliminates four bugs in one pass:

- Header now reads `Supported Model Architectures (92):` instead of the stale `"57+"`; the count is derived from `ALL_MODEL_TYPES.len()` at runtime.
- Every registered ModelType is rendered. The old block omitted the entire VLM surface (~25 variants: Qwen2-VL, Qwen3-VL, Qwen3.5 VLM, LLaVA, Pixtral/Mistral3 VLM, Phi-4 MM, Gemma3 VLM, Molmo2, Moondream3, MiniCPM-O, Youtu-VL, Nemotron-H Nano Omni, etc.) and several text/hybrid families (Qwen3.5, MiniMax, Step3p5, KimiLinear, LongcatFlash, Mistral4, Glm4MoeLite, GlmMoeDsa, HunyuanMoe, SolarOpen).
- The misleading "Llama family: Yi, TinyLlama, Vicuna" line is gone. Those names were HuggingFace compat tags resolved into `ModelType::Llama` by detection, not separate engines; presenting them next to `Llama 4` implied otherwise.
- The trailing `For the full list, see: docs/model_implementations.md` line is removed. That file does not exist anywhere in the released artifact, so the pointer was dead. The new output is exhaustive, so no external pointer is needed.

`print_supported_models()` is split into a thin `print!` wrapper plus `write_supported_models<W: fmt::Write>` so tests can capture the exact bytes the CLI would emit without spawning a subprocess. A `const FAMILY_ORDER: &[&str]` table controls section order; unknown families are appended alphabetically as a safety net (and flagged by `family_order_is_exhaustive`).

Five unit tests in `main_tests.rs` lock the new contract: `supported_models_output_mentions_every_display_name`, `supported_models_header_uses_actual_count`, `supported_models_output_has_no_dead_doc_link`, `family_order_is_exhaustive`, and `family_order_has_no_orphans`. Combined with the three `metadata_tests` already added in the previous commit, the registry, the renderer, and the section-order table are all kept honest by CI.

`mlxcel-server` (src/bin/mlx_server.rs) has no `list` subcommand — only `Download` — so no equivalent change is needed there.
@inureyes inureyes added status:review Under review type:bug Bug fixes, error corrections, or issue resolutions priority:medium Medium priority area:cli Command-line interface / CLI flags labels May 18, 2026
@inureyes

Copy link
Copy Markdown
Member Author

Implementation Review Summary

Intent

Replace the hand-written mlxcel list block with a registry-driven renderer so that adding a new ModelType variant is a build error until the variant is wired into both ModelType::metadata() (exhaustive match) and ALL_MODEL_TYPES.

Verification

  • All stated requirements implemented — display_name(), family(), ALL_MODEL_TYPES, exhaustive match, write_supported_models<W: fmt::Write>, header from ALL_MODEL_TYPES.len(), dead doc link removed, 5 new CLI tests + 3 new metadata tests
  • No placeholder/mock code remaining — every variant has factual metadata
  • Integrated into project code flow — Commands::List arm calls print_supported_models() (src/main.rs:1025)
  • Project conventions followed — &'static str metadata, inline format args, exhaustive match, doc comments, no unwrap() outside provably-infallible String writer
  • Existing modules reused where applicable — ModelType enum is the registry; no parallel data structure introduced
  • No unintended structural changes — diff to src/models/mod.rs is purely additive (0 deletions, 371 additions); diff to src/main.rs only replaces the body of print_supported_models() and adds FAMILY_ORDER + write_supported_models; diff to src/main_tests.rs only widens the import and appends 5 tests
  • Tests pass — 3 metadata + 3 supported_models + 2 family_order = 8/8 passing
  • cargo clippy --lib --tests -- -D warnings clean
  • cargo clippy --bin mlxcel --tests -- -D warnings clean
  • cargo check --bin mlxcel --tests clean

Cross-checks performed

  • Enum variants (92) == ALL_MODEL_TYPES entries (92) == metadata match arms (92) — three-way set diff is empty
  • No _ => wildcard arm in metadata() — exhaustiveness contract is real
  • FAMILY_ORDER set == family labels emitted by metadata() set — family_order_is_exhaustive and family_order_has_no_orphans both have ground truth to enforce
  • docs/model_implementations.md does NOT exist (acceptance criterion respected)
  • No literal "57" or "57+" anywhere in source — header is dynamically computed
  • No "Yi" / "TinyLlama" / "Vicuna" in any display_name — HF compat tags correctly absent
  • src/bin/mlx_server.rs enum Commands { Download(_) } — no list subcommand, PR scope note is correct
  • Specifically called-out variants from issue fix(cli): mlxcel list output is stale, missing VLMs and ~30 model types, and links to nonexistent doc #26 all appear in rendered output: SolarOpen, MiniMax, Step3p5, KimiLinear, LongcatFlash, LongcatFlashNgram, Mistral4, Glm4MoeLite, GlmMoeDsa, HunyuanMoe, Llama4VLM, Qwen35, Qwen35VLM — verified by running ./target/debug/mlxcel list (28 family sections, 92 model lines)
  • Closes #26 linkage present in PR body (closingIssuesReferences[].number == 26)

Findings

None at any severity. The implementation matches the issue's acceptance criteria precisely and the FAMILY_ORDER policy (silent graceful render at runtime + hard CI failure at test time) is correctly enforced by family_order_is_exhaustive and family_order_has_no_orphans.

Verdict

APPROVE.

@inureyes

Copy link
Copy Markdown
Member Author

Security + performance review (auto)

Scope: changed files only (src/main.rs, src/models/mod.rs, src/main_tests.rs). Correctness/completeness re-review skipped per prior pr-reviewer APPROVE.

Verification ran

Command Result
cargo check --bin mlxcel --tests clean
cargo clippy --bin mlxcel --tests -- -D warnings clean
cargo clippy --lib --tests -- -D warnings clean
cargo test --lib models::metadata_tests:: 3/3 pass
cargo test --bin mlxcel tests::supported_models 3/3 pass
cargo test --bin mlxcel tests::family_order 2/2 pass

Threat surface

  • Zero new unsafe blocks.
  • Zero new I/O / env / subprocess / network / filesystem access (grep on the added hunks for env::, fs::, net::, process::, Command::, thread:: returns nothing).
  • New pub surface area: ALL_MODEL_TYPES, ModelType::metadata, ::display_name, ::family. All return only &'static str literals — no internal implementation detail exposed.
  • The only expect/unwrap calls added are on <String as fmt::Write>::write_str, which is infallible per the std contract, plus .unwrap() in #[cfg(test)] test code where panic on failure is the desired behavior.
  • ModelType::metadata is const fn: the body is a single match returning string-literal tuples — no allocation, no panicking arithmetic, trivially const-evaluable.
  • Test isolation: each new test constructs a local String writer and asserts on its contents; no OnceCell/OnceLock/env::/SystemTime coupling.

Findings

None at CRITICAL / HIGH / MEDIUM / LOW. No fixes delegated.

Notable (informational only, not findings)

  • write_supported_models bucketing is O(N × F) where N=92, F=28 (linear scan over Vec<(&'static str, Vec<…>)> per variant). Worst case ~2.6k pointer-then-byte comparisons, runs once per mlxcel list invocation. A HashMap index would change asymptotic complexity but is almost certainly slower in absolute terms for this size on a one-shot path; recommending no change. Prompt explicitly anticipated this and flagged it as not a real perf risk — confirming.
  • ALL_MODEL_TYPES.len() = 92 matches the PR body and the issue's "80+" claim; the runtime test floor (> 80) provides defense-in-depth against a future refactor that accidentally shrinks the slice.

Verdict

APPROVE — no security or performance findings. Implementation lines up cleanly with the threat-surface assessment in the orchestrator brief.

@inureyes

Copy link
Copy Markdown
Member Author

PR Finalization Complete

Summary

  • CHANGELOG: Added ### Fixed entry under [Unreleased] for the mlxcel list registry rewrite (fix(cli): mlxcel list output is stale, missing VLMs and ~30 model types, and links to nonexistent doc #26).
  • Tests: Existing 8-test suite is sufficient — supported_models_header_uses_actual_count already asserts the (92) header literally; no integration smoke test added (no existing mlxcel list CLI smoke test pattern in tests/, and the unit-level write_supported_models() coverage is strong).
  • Documentation: No changes needed — docs/supported-models.md already states "92 variants" (up to date with the PR); README has no stale model count claim; no Korean README mirror exists; docs/man/ directory does not exist so manpage is skipped.
  • Lint/Format: All three checks pass clean — cargo fmt --check, cargo clippy --bin mlxcel --tests -- -D warnings, cargo clippy --lib --tests -- -D warnings.

New commit

All checks passing. Ready for merge.

@inureyes inureyes added status:done Completed and removed status:review Under review labels May 18, 2026
@inureyes
inureyes merged commit 2008204 into main May 18, 2026
3 checks passed
@inureyes
inureyes deleted the fix/issue-26-list-exhaustive branch May 18, 2026 13:42
@inureyes

Copy link
Copy Markdown
Member Author

Post-merge review and validation

State

PR #27 was already merged when this review started, so there was no open PR branch to update with additional commits. I reviewed the merged main result at 20082043 and did not find any PR-scope issue requiring a follow-up code change.

Correctness review

  • mlxcel list is now rendered from ALL_MODEL_TYPES and ModelType::metadata() instead of the old hand-written text block.
  • The rendered header uses ALL_MODEL_TYPES.len() and currently reports Supported Model Architectures (92):.
  • The stale docs/model_implementations.md pointer is absent from the rendered output.
  • Every ModelType enum variant is present in ALL_MODEL_TYPES in declaration order; a local parser cross-check reported enum 92, ALL 92, missing [], extra [], and order_equal True.
  • The server binary does not expose a list subcommand; ./target/release/mlxcel-server list rejects it as an unrecognized subcommand, so the PR scope note is correct.

Security review

No security findings. The changed runtime path only formats static metadata into stdout. It adds no new filesystem, network, subprocess, environment, credential, deserialization, or authorization surface, and no new unsafe block. The only production expect is on writing into a String, which is infallible for fmt::Write.

Performance review

No performance findings. The renderer buckets 92 variants across 28 families in a one-shot CLI command; the small linear scan is negligible, deterministic, and avoids heavier map setup overhead for this output path.

Validation run

  • cargo fmt --check — pass.
  • cargo test --lib models::metadata_tests:: — 3/3 pass.
  • cargo test --bin mlxcel tests::supported_models — 3/3 pass.
  • cargo test --bin mlxcel tests::family_order — 2/2 pass.
  • cargo test --bin mlxcel tests::generate_command — 3/3 pass.
  • cargo clippy --lib --tests -- -D warnings — pass.
  • cargo clippy --bin mlxcel --tests -- -D warnings — pass.
  • cargo build --release — pass.
  • ./target/release/mlxcel list — pass; output shows count 92, all family sections, and no dead doc pointer.
  • cargo test --release --lib models::metadata_tests:: — 3/3 pass.
  • cargo test --release --bin mlxcel tests::supported_models — 3/3 pass.
  • cargo test --release --bin mlxcel tests::family_order — 2/2 pass.
  • cargo test --release --bin mlxcel tests::generate_command — 3/3 pass.

Non-PR-scope note

A full cargo test --release run failed in unrelated code: multimodal::video::tests::load_video_rejects_overlong_duration observed MLXCEL_VIDEO_MAX_PIXELS=2500 from another parallel video env-var test and returned ResolutionTooLarge before DurationTooLong. The single failing test passes when rerun alone, and the two involved video rejection tests pass serially with -- --test-threads=1. This points to a pre-existing env-var test isolation race outside PR #27's changed files (CHANGELOG.md, src/main.rs, src/main_tests.rs, src/models/mod.rs).

Verdict

PR #27 satisfies issue #26's intent and has no PR-scope correctness, security, or performance findings. No follow-up commit was pushed because the PR was already merged and no PR-scope fix was needed.

inureyes added a commit that referenced this pull request May 18, 2026
This release focuses on Apple Silicon decode performance for VLM and linear-attention model families, plus a CLI fix for `mlxcel list`.

Performance:

- Gemma3n bf16 prefill path: gemma3n-e4b-bf16 decode 11.16 to 38.81 tok/s on M5 Max (#28).
- Qwen3-VL text-only decode: QKV fusion + `forward_text_only` fast path. Qwen3-VL-30B-A3B-Instruct-4bit decode 56.00 to 146.29 tok/s (2.61x, 99% of mlx-lm parity); Qwen3-VL-32B-Instruct-4bit decode 18.79 to 27.33 tok/s (1.45x, 94% parity); image-in-prompt and DeepStack paths unchanged (#29).
- GatedDeltaNet fast RMSNorm in Qwen3.5 / Qwen3-Next / KimiLinear: `mlx::fast::rms_norm` replaces the expanded square / mean / sqrt / divide graph for Q/K and gated output. qwen3.5-0.8b-4bit decode 425.16 to 535.43 tok/s on M5 Max (+25.9%, 96% parity); Qwen3.5 speculative-decoding verify pass updated alongside prefill / decode to preserve draft / verify dtype agreement (#30).

Fixed:

- Rewrite `mlxcel list` output to drive from the `ModelType` registry: fixes stale count, missing VLM family, missing ~30 model types, and removes a broken docs link (#27).

Docs:

- Refresh README performance snapshot and `docs/benchmarks.md` to match the latest M5 Max sweep.
@inureyes inureyes added this to the 0.1 milestone Jun 21, 2026
@inureyes inureyes self-assigned this Aug 31, 2026
be-free-snowboy pushed a commit to freestylejs/snowbrain-mlxcel that referenced this pull request Oct 27, 2026
* feat(models): add exhaustive ModelType metadata + ALL_MODEL_TYPES

Add a compile-time-enforced metadata table on `ModelType` so the registry becomes the single source of truth for user-facing surfaces like `mlxcel list` (issue lablup#26). Three additions:

- `ModelType::metadata(self) -> (&'static str, &'static str)` returning `(display_name, family)` via an exhaustive `match`. Adding a new variant without filling both fields is now a build error.
- Convenience accessors `ModelType::display_name()` and `ModelType::family()` that defer to `metadata()` so callers do not need to destructure.
- `pub const ALL_MODEL_TYPES: &[ModelType]` listing every variant in declaration order. This is the iteration source for `mlxcel list` and any future enumeration consumer.

Family labels intentionally use sibling-family naming for VLMs (e.g. `"Qwen VLM"` alongside `"Qwen"`, `"Gemma VLM"` alongside `"Gemma"`) so the rendered list reads as parent-then-vision rather than collapsing every multimodal stack into a single bucket. Vision-language stacks that do not map cleanly to a single text-family parent (LLaVA, Molmo, Moondream, MiniCPM-O, Youtu) are grouped under `"Other VLM"`.

Three unit tests under `metadata_tests` enforce drift safety: `all_model_types_covers_every_variant` (count floor + non-empty metadata walk), `metadata_round_trip_is_consistent` (display_name/family vs metadata tuple), and `all_model_types_has_no_duplicates`.

* fix(cli): drive `mlxcel list` from ALL_MODEL_TYPES (closes lablup#26)

Replace the 40-line hand-written block in `print_supported_models()` with a renderer that walks `ALL_MODEL_TYPES` and groups variants by `ModelType::family()`. This eliminates four bugs in one pass:

- Header now reads `Supported Model Architectures (92):` instead of the stale `"57+"`; the count is derived from `ALL_MODEL_TYPES.len()` at runtime.
- Every registered ModelType is rendered. The old block omitted the entire VLM surface (~25 variants: Qwen2-VL, Qwen3-VL, Qwen3.5 VLM, LLaVA, Pixtral/Mistral3 VLM, Phi-4 MM, Gemma3 VLM, Molmo2, Moondream3, MiniCPM-O, Youtu-VL, Nemotron-H Nano Omni, etc.) and several text/hybrid families (Qwen3.5, MiniMax, Step3p5, KimiLinear, LongcatFlash, Mistral4, Glm4MoeLite, GlmMoeDsa, HunyuanMoe, SolarOpen).
- The misleading "Llama family: Yi, TinyLlama, Vicuna" line is gone. Those names were HuggingFace compat tags resolved into `ModelType::Llama` by detection, not separate engines; presenting them next to `Llama 4` implied otherwise.
- The trailing `For the full list, see: docs/model_implementations.md` line is removed. That file does not exist anywhere in the released artifact, so the pointer was dead. The new output is exhaustive, so no external pointer is needed.

`print_supported_models()` is split into a thin `print!` wrapper plus `write_supported_models<W: fmt::Write>` so tests can capture the exact bytes the CLI would emit without spawning a subprocess. A `const FAMILY_ORDER: &[&str]` table controls section order; unknown families are appended alphabetically as a safety net (and flagged by `family_order_is_exhaustive`).

Five unit tests in `main_tests.rs` lock the new contract: `supported_models_output_mentions_every_display_name`, `supported_models_header_uses_actual_count`, `supported_models_output_has_no_dead_doc_link`, `family_order_is_exhaustive`, and `family_order_has_no_orphans`. Combined with the three `metadata_tests` already added in the previous commit, the registry, the renderer, and the section-order table are all kept honest by CI.

`mlxcel-server` (src/bin/mlx_server.rs) has no `list` subcommand — only `Download` — so no equivalent change is needed there.

* docs(changelog): add Unreleased entry for lablup#26 list registry rewrite
be-free-snowboy pushed a commit to freestylejs/snowbrain-mlxcel that referenced this pull request Oct 27, 2026
This release focuses on Apple Silicon decode performance for VLM and linear-attention model families, plus a CLI fix for `mlxcel list`.

Performance:

- Gemma3n bf16 prefill path: gemma3n-e4b-bf16 decode 11.16 to 38.81 tok/s on M5 Max (lablup#28).
- Qwen3-VL text-only decode: QKV fusion + `forward_text_only` fast path. Qwen3-VL-30B-A3B-Instruct-4bit decode 56.00 to 146.29 tok/s (2.61x, 99% of mlx-lm parity); Qwen3-VL-32B-Instruct-4bit decode 18.79 to 27.33 tok/s (1.45x, 94% parity); image-in-prompt and DeepStack paths unchanged (lablup#29).
- GatedDeltaNet fast RMSNorm in Qwen3.5 / Qwen3-Next / KimiLinear: `mlx::fast::rms_norm` replaces the expanded square / mean / sqrt / divide graph for Q/K and gated output. qwen3.5-0.8b-4bit decode 425.16 to 535.43 tok/s on M5 Max (+25.9%, 96% parity); Qwen3.5 speculative-decoding verify pass updated alongside prefill / decode to preserve draft / verify dtype agreement (lablup#30).

Fixed:

- Rewrite `mlxcel list` output to drive from the `ModelType` registry: fixes stale count, missing VLM family, missing ~30 model types, and removes a broken docs link (lablup#27).

Docs:

- Refresh README performance snapshot and `docs/benchmarks.md` to match the latest M5 Max sweep.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:cli Command-line interface / CLI flags priority:medium Medium priority status:done Completed type:bug Bug fixes, error corrections, or issue resolutions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(cli): mlxcel list output is stale, missing VLMs and ~30 model types, and links to nonexistent doc

1 participant