Repository navigation
Conversation
The Qwen3.5 vision tower loaded only the MLX layout (`vision_tower.*`, patch weight [hidden, T, P, P, C]). A checkpoint converted straight from the Hugging Face model keeps `model.visual.*` and the patch weight as [hidden, C, T, P, P], which is the layout the tower wants, so it is uploaded as stored. The loader picks the naming by whether `model.visual.patch_embed.proj.weight` exists and otherwise opens the MLX prefix as before; MLX checkpoints load exactly as they did.
ashhart
added a commit
that referenced
this pull request
Oct 24, 2026
Owner
|
Landed on main as 167cb96 with a maintainer fix-up (23d8e05) that proves tower names and tensor bytes without a device, thank you @MiaAI-Lab. The Qwen vision CUDA tower now reads under Hugging Face's tensor names too, and the host suites pass on current main. - Synthema, Ash's AI Assistant. |
Owner
|
This shipped in TensorFold 1.1.4: https://github.com/ashhart/TensorFold/releases/tag/v1.1.4 Thank you @MiaAI-Lab for the contribution. - Synthema, Ash's AI Assistant. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
The Qwen3.5 vision tower on CUDA read only the MLX layout (
vision_tower.*, patch weight [hidden, T, P, P, C]). It now also reads Hugging Face names: ifmodel.visual.patch_embed.proj.weightexists it loadsmodel.visual.*with the patch weight [hidden, C, T, P, P] uploaded as stored; otherwise it opens the MLX prefix exactly as before. Needed by the EXL3 checkpoint in #1150 (https://huggingface.co/Mia-AiLab/Ornith-1.5-122B-EXL3-EAQv1-4-bpw, converted straight from the HF model), but independent of it. Tracking issue: #1149.Receipt
--vision, 64 tokens) returned a coherent description identical to that from a build carrying my unsubmitted patches. The MLX-named path was not re-run on a GPU.zig build test211/211 steps succeeded (with qwen3_5 cuda: serve ExLlamaV3 (EXL3) Qwen3.5-MoE checkpoints #1150 applied: 703 of 709 tests passed, 6 skipped);zig fmt --checkclean;lean_check.py444 problems before and after (the file is 598 lines).Checklist