Repository navigation
Studio: stop listing EAGLE3 draft files as models, and pick MXFP4 when it is the only real option - #11228
Conversation
…4 in the default pick
Before/after evidenceTwo isolated Studio installs, merge base
The repo lists Path coverageA probe over the verbatim HF listing for both
8 of 10 assertions fail on Notes
CI reproductionThe same probe run on GitHub Actions (ubuntu-latest, identical workflow, probe and dependencies on both sides; the only difference is this branch's 6 files):
The negative fails at the repro assertions themselves, not at setup, and the two no-regression guards ( |
… drafters Filtering eagle3- drafters already leaves MXFP4 as the only candidate in the ggml-org gpt-oss repos, so the fallback picks it. Ranking MXFP4 ahead of Q5_K_M and Q8_0 changed the default for unrelated repos that ship MXFP4_MOE without a Q4_K quant.
…in drafter docstrings
|
Pushed two small follow-ups on top of this branch:
The eagle3 filtering itself is unchanged. It follows the same |
|
Codex review of |
Lyxot
left a comment
There was a problem hiding this comment.
LGTM. Hiding eagle3- draft heads follows the same prefix rule as llama.cpp's gguf_filename_is_model, all four drafter-kind copies agree, and the default for other repos is unchanged. Verified on current main merged with this branch: the related Studio backend and CLI tests pass, and Codex found no major issues.
Some GGUF repos ship EAGLE3 draft heads next to the model. ggml-org/gpt-oss-120b-GGUF and ggml-org/gpt-oss-20b-GGUF ship `eagle3-*-BF16.gguf` and `eagle3-*-Q8_0.gguf` beside `*-MXFP4.gguf`. Studio listed the drafts as quant variants and picked one by default, and it failed to load. `eagle3` is now a drafter kind in hub.utils.gguf and its mirrors in model_config, llama_cpp and the CLI. Like mtp-, dspark- and dflash-, it matches by basename prefix only, which is the rule llama.cpp's `gguf_filename_is_model` uses. A model with Eagle3 in the middle of its name, such as `Llama-3.1-8B-Eagle3-Q4_K_M.gguf`, stays selectable. The quant preference order is unchanged: once the drafts are filtered, MXFP4 is the only candidate left in those repos.

Some GGUF repos ship small eagle3 draft files next to the real model. Studio listed them as if they were model versions. For ggml-org/gpt-oss-120b-GGUF the version picker showed three entries -- BF16 1.6 GB, Q8_0 849 MB and MXFP4 63 GB -- where only MXFP4 is the model; the other two are EAGLE3 draft heads (the repo lists nvidia/gpt-oss-120b-Eagle3-v3 as a source). The file picked by default was the 1.6 GB draft, which cannot run, and loading it failed with an error.
Draft files starting with eagle3- are now hidden from the list, the same way mtp- draft files already are. MXFP4 is added to the list of known formats so it can be chosen by default. Other repos look the same as before. Using an eagle3 draft on purpose through extra llama-server arguments still works.
Tested in Studio and with the unsloth start command on both ggml-org gpt-oss repos. Before, the draft file was picked and failed to load. After, the MXFP4 model downloads, loads and answers.