Skip to content

train 1124201802: #3420 (CI only) - #4956

Closed
ashhart wants to merge 5 commits into
mainfrom
lead/train-1124201802
Closed

ashhart wants to merge 5 commits into
mainfrom
lead/train-1124201802

Conversation

@ashhart

@ashhart ashhart commented Nov 24, 2026

Copy link
Copy Markdown
Owner

CI for a landing train: #3420 stacked on main in that order. Nothing merges from this PR: each PR above lands on its own once this tip is green, and this PR is then closed.

jschmied and others added 5 commits November 24, 2026 20:18
…k their language model, Step-5 reads its tower only with --vision

- Gemma 4: each shard's language_model. tensors pack into their own buffer, not the file span that holds the 31B's
  vision tower (0.88 GiB); the tower still loads apart with --vision.
- LFM3-VL: the language model packs alone; the tower and projector no Metal kernel runs stay on disk (0.35 GiB).
- Step-5: without --vision the tower and projector stay in their files and no tower is built; with it, as before.
…t loads again, still without its tower

addShard selected language_model. only, so a VL checkpoint in the bare model.* namespace, which metal_weights.load
accepts, lost model.embed_tokens.weight and stopped at MissingTensor. It now reads both prefixes; vision_tower. and
multi_modal_projector. stay on disk as before. The device test runs a wrapped and a bare shard.
The Step-5 loader change (model.load's tower flag, addShard and its device test) returns to main's code and moves to
its own branch, as asked in review. Gemma 4 and LFM3-VL are unchanged.
Since #3350, gemma4/model.zig reads each shard with addFileSplit(.., "language_model.", weights.later), so the tower is
not held on main; this PR's addShard was only called by its own test. The PR now covers LFM3-VL only.
@ashhart ashhart closed this Nov 24, 2026
@ashhart ashhart reopened this Nov 24, 2026
@ashhart

ashhart commented Nov 24, 2026

Copy link
Copy Markdown
Owner Author

Landed: #3420 as main d66b998. This PR only carried their CI.

@ashhart ashhart closed this Nov 24, 2026
@ashhart
ashhart deleted the lead/train-1124201802 branch November 24, 2026 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants