Repository navigation
Add experimental TCP layer pipeline with per-worker weights and KV caches - #4
Draft
chainhelen wants to merge 2 commits into
Draft
chainhelen wants to merge 2 commits into
chainhelen wants to merge 2 commits into
Conversation
Owner
Author
|
Final-head verification for
The committed raw diagnostic report records the initial implementation binary; the final-head rerun confirms the same token-parity outcome. Validation remains on one M5 Pro over loopback TCP. Physical two-Mac Thunderbolt and RDMA are still outstanding. |
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.
Dense inference currently requires one process to load every layer. This adds
roton cluster worker,run, andverify, allowing explicitly assigned contiguous layer ranges to execute over persistent TCP. Each worker retains only its selected weights and local KV caches; the coordinator forwards float32 activations and the final worker returns greedy token IDs.verifychecks generated token IDs against the full single-process sequential runner. Checkpoint SHA-256, ordered complete layer coverage, context bounds, frame lengths, authentication and token positions are checked. Workers reset their session position after disconnects. No external Rust dependencies were added.Validation:
cargo fmt --all -- --check, strict workspace/all-target Clippy, and all 29 workspace tests pass on the local M5 Pro. Synthetic Llama/Qwen2/Qwen3 fixtures cover two- and three-stage logit parity, including an intermediate stage without embedding/output weights.scripts/verify_cluster.py.docs/benchmarks/cluster-loopback-2026-12-01.json. Instructions and limitations:docs/CLUSTER.md.This is a source-build preview, not a v0.6.0 binary release. Physical two-Mac Thunderbolt, larger-than-one-Mac models and RDMA are not verified. TCP is plaintext, explicit private-network configuration is required, and workers handle one active session at a time. Prefill is sequential and generation greedy; there is no serving integration or speedup claim. Tied embeddings are duplicated at the first and final stages, and temporary packed weight backing needs additional disk space.
Draft while physical two-Mac validation is outstanding. The README and roadmap distinguish implemented local-process evidence from unverified Thunderbolt/RDMA work.