Repository navigation
Preserve transport ownership and restore fabric state after link resets - #3
Merged
Merged
Conversation
Carry immutable device bindings through planning and observation, share apply and restoration decisions, and persist executable boot configuration. Reject invalid device identifiers before script generation. CLI syntax and record schemas remain compatible; malformed identifiers and extra port fields are rejected. Validation: 138 fabric tests pass in an isolated Debian 13 LXC.
Share validated topology and admission planning between production and the queue oracle. Centralize scheduling accounting, retain registrations on release failure, bound receive completions, serialize worker membership, and lease reclaimable remote mappings. Preserve ext-net ABI and wire version 6. Validation: production/emulated builds, 26 plugin tests, five planning tests, three core executables, deterministic retirement barriers, 530 remote allocation lifetimes and source-inventory checks pass in an isolated Debian LXC.
Use one resource delta pipeline for apply, restoration and removal, preserving stale-resource and adoption rules. Honor explicit hostname policy in generated scripts and retain HostState positional argument compatibility. Validation: all 144 fabric tests pass, including generated service dispatch, restoration policy and unrelated-filter preservation.
Scan extracted source without Git metadata, enforce confined regular files, and provide a complete distributed-source manifest updater. Record hardware evidence by revision and conditions; remove stale teardown guidance and references to absent components. Validation: seven release checks pass, both source scans report zero findings, extracted source builds and staged fabric-tool planning succeed.
Support eight local ranks with bounded connection, completion, registration and mapping tables sized for NCCL's startup channel pool. Use shared-memory registry layout 2; ext-net ABI and hardware wire version 6 remain unchanged. Keep mapping-eviction tests on a small explicit cache. Validation: existing CPU plugin tests and lifetime barriers pass, including 1536 simultaneous registrations and 300 CQs; bounded diagnostic GPU channel cases pass with the same capacity envelope.
Record exact source and binary identities for physical collective, PyTorch, emulator, ownership and local boot checks. Publish sanitized measurements and keep the product research-only outside those conditions. Document independently persisted interface addresses and explicit group reconciliation after carrier resets. Local boot restoration succeeds while running neighbors require repair; automatic group recovery is unsupported. Record the shared-GPU LL128 failure with both sircl and Socket controls. Install the evidence artifact with the documentation. Runtime interfaces and wire compatibility are unchanged. Validation: 72 physical sweeps with 1,152 size rows, zero reported correctness errors and zero monitored error/drop deltas; physical graph/teardown before and after group repair; seven GPU channel cases; real local reboot and unrelated-filter preservation. Source/archive CPU suites pass for the pinned transport implementation. Documentation privacy and whitespace checks pass.
Install a periodic local reconciliation timer that reloads the retained fabric service. Startup and reload share the validated add-only invocation, including marker, relay limit and host selection. Healthy markers remain in the retained service cgroup rather than being killed by repeated restarts. Each host repairs its own routes and neighbors after an adjacent link resets. Start periodic checks after successful immediate installation. Removing boot persistence stops reconciliation before deleting its units and inputs while preserving live relay state. Boot-only installations remain removable. Transport ABI and wire behavior are unchanged; persistent interface addresses remain a network-configuration prerequisite. Validation: 145 fabric tests; fake-root lifecycle checks; real systemd timer and reload integration in an isolated unprivileged Debian container, including missing-state repair, retained marker PID and marker survival after removal.
Select LL and Simple for emulation subprocesses and reject protocol requests that enable LL128 unless diagnostic intent is explicit. Per-collective requests retain a safe global default. Record the selected protocols in the result. CPU memory copies do not guarantee LL128's ordered 128-byte data/flag visibility. Forced-LL128 corruption reproduces with two PyTorch versions and an independent native NCCL program; PyTorch is not a necessary cause. Excluding LL128 is a mitigation, not a claim that its memory-ordering requirement is implemented. The production RDMA plugin, tuner cost tables, wire and parent environment are unchanged. Diagnostic LL128 runs remain available with --allow-ll128. Validation: CPU selection checks cover defaults, explicit supported values, per-collective policies, exclusions and diagnostic opt-in. Existing fabric contracts and real systemd reload/cgroup integration pass independently.
Stopping the periodic systemctl client does not cancel its manager-side reload job. Stop scheduling and wait for the fabric service's active and queued jobs to finish before removing inputs or replacing installed code. Keep marker processes alive. A bounded wait retains inputs on timeout. Validation: a real systemd regression with a delayed reload fails without the wait and passes with it; removal waits 3.35 seconds and preserves the marker. Fabric tests cover a queued reload and input lifetime; 146 pass. This changes installer coordination only, with no transport ABI or wire change.
Qualify periodic local restoration on a four-host Spark path. A middle-host reboot converges without operator repair, injected route/neighbor loss is repaired, healthy marker PIDs persist and pre/post traffic passes. Record exact source, binary and NCCL identities with sanitized measurements. Qualify the LL/Simple selection mitigation with both tested PyTorch versions. Retain the unsupported status of raw LL128 and the native/PyTorch controls; do not imply that CPU copies implement its visibility requirement. Record pending-job retirement and the restored serving state. Transport interfaces and hardware wire behavior are unchanged. Validation: 16 physical sweeps with 256 size rows, zero reported correctness errors and zero monitored error/drop growth; 14 GPU channel cases; unsafe request rejection; real systemd timer/reload and retirement checks; 146 fabric tests; source/archive CPU and installed-documentation checks; privacy and whitespace scans.
Record the exact emulator revision and compiled-library hash used by raw LL128 controls, plus the independent native probe source hash and its rank, datatype and allocation conditions. This separates diagnostic controls from the source containing the safe launcher policy. No executable code or compatibility changes. Validation: artifact hashes match the retained source and library; source privacy and whitespace checks pass.
Check launcher failure before decoding a rank summary, and report an empty-summary rejection directly in teardown checks. An unsupported protocol request now retains its actionable explanation instead of failing with a list-index error. Successful checks and retained-graph negative controls are unchanged. Validation: both checker entry points reproduce the error without the change; five protocol regression tests pass with it, including safe selection and diagnostic opt-in.
FujitsuPolycom
added a commit
that referenced
this pull request
Nov 21, 2026
Versions - Plugin and fabric-tool 0.1.3; transport-core 0.1.2 (its topology parser changed; ABI stays 1). Wire version stays 6. - Rename the unreleased notes to RELEASE_NOTES-0.1.3.md and cover all three steps merged since v0.1.2: resource ownership (#3), review fixes (#4), and single-function-per-port topologies (#6). - Read the core version in check_e2e.py from its VERSION file, and add a test that ties every stated version to the VERSION files. Hardware claims - State that 0.1.3 is CPU-tested only and that no qualification row covers it. - Record the tags that keep the revisions cited by the validation records reachable (validation/2026-10-23-*). - README: boot restoration was checked once on hardware with an earlier fabric-tool revision; point to that record instead of "not yet qualified". - Ring of four: it ran nccl-tests with the 0.1.0 transport (confirmed by the owner); correct the README, the 0.1.0 measurements and the example. - Relaxed ordering disabled and the installer behind the 0.1.0 path result are recorded inconsistently and no retained record settles them; both documents now say so instead of contradicting each other. Documentation and version files only, plus release tests and one script line. No tag is created for 0.1.3 until hardware qualification is recorded.
FujitsuPolycom
added a commit
that referenced
this pull request
Nov 21, 2026
…#5) Versions - Plugin and fabric-tool 0.1.3; transport-core 0.1.2 (its topology parser changed; ABI stays 1). Wire version stays 6. - Rename the unreleased notes to RELEASE_NOTES-0.1.3.md and cover all three steps merged since v0.1.2: resource ownership (#3), review fixes (#4), and single-function-per-port topologies (#6). - Read the core version in check_e2e.py from its VERSION file, and add a test that ties every stated version to the VERSION files. Hardware claims - State that 0.1.3 is CPU-tested only and that no qualification row covers it. - Record the tags that keep the revisions cited by the validation records reachable (validation/2026-10-23-*). - README: boot restoration was checked once on hardware with an earlier fabric-tool revision; point to that record instead of "not yet qualified". - Ring of four: it ran nccl-tests with the 0.1.0 transport (confirmed by the owner); correct the README, the 0.1.0 measurements and the example. - Relaxed ordering disabled and the installer behind the 0.1.0 path result are recorded inconsistently and no retained record settles them; both documents now say so instead of contradicting each other. Documentation and version files only, plus release tests and one script line. No tag is created for 0.1.3 until hardware qualification is recorded.
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.
The fabric tool preserves resolved interface bindings and resource ownership across planning, apply, restoration and removal. Periodic local reconciliation restores missing relay state after carrier resets while retaining healthy marker processes. Installer updates and removal wait for pending restoration before replacing inputs.
The transport uses a shared validated admission plan, explicit registration and request lifetimes, mapping leases and bounded emulator registries sized for NCCL initialization pools. CPU-staged GPU emulation selects LL/Simple and rejects unsafe LL128 requests unless explicitly enabled for diagnosis. Source manifests, privacy checks and source-specific measurement records identify the distributed artifacts.
Compatibility: ext-net interfaces, core ABI 1 and hardware wire version 6 are preserved. The private emulator shared-memory layout is version 2 and cannot share a fabric with layout 1. Malformed identifiers and oversized receive completions are rejected; provider release failures retain retry ownership. The production plugin's protocol costs are unchanged.
Validation:
cf395521d061107b8e0c43bc3bd735e48b08c584, including source/archive builds, CPU tests, privacy checks and staged installation.Product status remains research-only. Recovery requires ready links, independently configured addresses and compatible ownership; interrupted application jobs are not resumed. Raw LL128 on the CPU-staged path remains unsupported. Qualification conditions and artifact identities are in
docs/qualification.md,docs/recovery-validation.mdand their linked evidence.