Repository navigation
Conversation
Darwin rejects a single write larger than INT_MAX. Use bounded writes for Qwen 3.5 output files. Verify with the chunked writer tests.
Remove multiline comments that fail the project lean check. The focused writer tests pass.
Review on #4296 (ashhart): writeChunked made no progress with nonempty input and a zero cap - every round wrote an empty slice and left the offset unchanged. Reject the cap before the loop (ZeroWriteCap) and add the regression: a nonempty buffer at a zero cap refuses with no bytes written; an empty buffer passes.
core/engine_vision.zig gains gate(), declared() and words(): --vision without a tower is refused as "--vision given but <model> has no vision tower", and a tower without --vision stays unread. LFM2 (d1) on CUDA loads its tower only with --vision; Qwen3.5 on HIP refuses --vision on a text checkpoint instead of serving text; Flash Next on CUDA names the missing tower before a stream loads. The header-only text count skips Qwen-VL, Gemma 4, LFM2-VL, LightOn, DeepSeek and GLM towers too, and a cluster model's non-bool "vision" is refused by name.
… checks stay refusals.lfm2 refused every --vision before lfm2.open ran the gate, so an LFM2-VL server could not load its tower at all. It now checks --tp and --rank alone; the test shows --vision passes and that --tp 2 or --rank 1 with --vision is still refused by name.
Main already holds zig/src/families/qwen3_5/backend/hip/engine/native.zig at 600 lines, so the new VisionWithoutTower refusal line took it to 601 once merged. This drops the blank line after the file's doc comment. No code change.
…nBytes Main's visionBytes now takes the rank and world (rank 0 of 1 here, as in cuda_dense's tests), so the test's three-argument call stopped compiling once merged. Test only.
Owner
Author
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.
CI for a landing train: #4296 #3456 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.