Repository navigation
feat(tp2): maintain canonical Gufo with native RDMA and validated fixes - #9
Merged
Merged
Conversation
…P2 ranks on interrupt
…re YaRN across ranks
Local integration checkpoint of gufo-org/main at 4b03004 onto the TP2 fork. Preserve legacy TP snapshots alongside the canonical component cache, rank-local execution, paired prefill, collective graph guard and DFlash hooks. Fresh HIP/RDMA library, selected serving executable and operator/snapshot test builds pass. Nine CPU cache, runner, scheduler and TP suites pass; format, API 0.3.2, docs, metadata and dependency/link boundaries pass. Raw imported evidence is preserved byte-for-byte, including its pre-existing whitespace. Not a deployment or runtime qualification: GPU numerical/model and actual TP2 checks remain pending, as does reconciliation of unique Neuhaus RDMA changes. Private performance tuning remains on its separate checkpoint branch.
Import Neuhaus 4db55e8 and the restart-based regression correction ffa6f46 onto the canonical integration. Rank 1 accounts disk-only snapshot payloads against staging rather than refusing them at the smaller RAM-cache budget. Drop returns bytes to the same account that admitted the snapshot. The regression restarts both cache owners so it verifies persistent restoration without racing asynchronous rank-0 publication. TP executor and disk-store suites pass; shared formatting passes. Local integration only, no deployment. Co-authored-by: Sven Neuhaus <neuhaus@users.noreply.github.com>
Import Neuhaus 729997d and decoded-frontier TP probe coverage from 871a1ff. Each rotating GPU window owns its allocation, DMA-BUF and memory region; send, receive and queued partial descriptors select the matching address and lkey. Host-buffer fallback and exchange ordering remain intact. RDMA library and focused serving executable build; updated TP model probe passes a syntax check and shared formatting passes. Actual two-host DMA-BUF registration, transfers and full-model probe execution remain pending. No performance gain or deployed runtime qualification is claimed by this commit.
Co-authored-by: gufo-release-bot[bot] <334900109+gufo-release-bot[bot]@users.noreply.github.com>
Import Neuhaus b2a88c2 and 8d7e57e. Both head and worker user-unit templates pass the optional library path and explicitly run as the mapped container UID and GID. Document the variable in the head environment example. systemd-analyze --user verify accepts both templates; its only warning is in the unrelated installed spice-vdagent unit. No template was installed, no container was started and the running native trial was not reconfigured.
Adapt Neuhaus db407c7 to the canonical serving layout. The model-owned cache can evict the least recently used other conversation while preserving its source, shared branch points and its own earlier checkpoints. Select the policy through private TextRunnerPool configuration for TP2, rather than restoring the removed public model virtual hook. Ordinary model-owned cache defaults and component-cache behavior remain unchanged; API stays 0.3.2. Cache, canonical/legacy runner and TP executor suites pass (4/4), including Neuhaus's record-pressure regression. HIP serving executable builds; shared format, API and documentation gates pass. Local intake only, no deployment.
Adapt Neuhaus b652bae to canonical portable sockets. Watch the TCP receive half without consuming a queued hello; stop and join the watch before the handshake. Failed workers exit without waiting for an abandoned exchange. Keep native state queries in the platform leaf: Linux RDHUP and guarded Windows TCP_INFO v0. Unsupported queries fail explicitly; the existing HTTP peer-disconnect helper is unchanged. Use a condition variable to wake the load watcher promptly on shutdown, including callback-owned destruction. Add FIN-behind-unread-payload and callback-self-release regressions, retaining all original watch tests. Nine CPU cache/runner/scheduler/TP suites pass; focused ASan/UBSan instruments net.cpp, tp_control.cpp and the control test, with leak checking. HIP serving executable, shared format/API/docs/boundaries pass. Windows branch is source-reviewed against Microsoft docs, not compiled or run here. Two-host/full-model runtime qualification remains pending.
Adapt Neuhaus e17b72d to the canonical extension.cmake entry point. The verbs adapter does not use the dynamic-loader API. Retain GLOBAL libibverbs import for the canonical link-graph report. Focused serving executable links; target-graph and metadata drift checks pass. CLI reaches TP transport through the neutral provider registry, so the old direct model-header consumer declaration is no longer needed.
LostVector
marked this pull request as ready for review
November 12, 2026 07:04
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.
In plain English: This is our combined working branch: current canonical Gufo plus native two-machine inference and the fixes we have validated locally. It also keeps a ready chat from unnecessarily waiting through another chat's turn and lets pending progress saves run before more TP prompt work starts.
The maintained branch is
tp2, now atb24bee2a9d7495efedc13cc0b21fba918c526b3b. This aggregate draft compares it with forkmain, which remains at its prior canonical snapshot. Updating the source branch does not deploy a binary or change the running cluster.Included:
0d238d4fby ancestry; reviewed Neuhaus RDMA changes throughf070a179by selective intake, not full semantic/history parity.Current adoption record and exact data.
Validation:
6387a35a; subsequent9c79494bchanges only a test, and the adoption record changes only documentation/data. Follow-up CI fixes update generated test order, Windows test selection and layout-21 identity fixtures; production sources and serialization are unchanged. The two formerly failing repository tests now pass locally.The inherited strict TP2 literal-history warning remains failed and unwaived; it also reproduces on the pre-refresh deployed binary. Broader quality, all timings and new Nix/container qualification are not claimed. The unqualified smaller-vocabulary DFlash experiment
52130313and post-capture notification prototype are excluded.The two focused upstream proposals are gufo-org/gufo #1181 and neuhaus/gufo #17, each tested on its own base. This consolidation remains draft; no default-branch merge or service deployment is included.