Case file — PR #589 "Fix CUDA 12 batched copies, Linux ARM64 release portability, and Selene unified-memory budgeting"
Repository: NVIDIA/hyperflare-inference · PR: https://github.com/NVIDIA/hyperflare-inference/pull/589
Base main, head aed8039, merged as ba3afb13 (2026-11-28) · +994 / −133 in 21 files · labels: none · reviews: none · comments: none · CI on head: passed.
All file:line anchors below are at PR head aed8039 unless stated otherwise.
Key findings
- Merged with no review of any kind, and it re-introduces a shape the project's own review bot had flagged as a should-fix on sibling PRs 1–2 days earlier. #589 has zero comments, zero reviews, zero reactions (PR conversation is empty; orientation packet "Reviews: none yet"). Open PR #497's round-2 Autobot review objected to "two test-only seams in shipped signatures …
prepare_inner'shost_budgetisNoneon every production path … →#[cfg(test)]wrapper", and #323's open review says "Bothprepare()wrappers drop the setting … drop the positional parameter from all four signatures". #589 ships exactly that wrapper:prepare_with_inputs_budget(..., host_budget: Option<u64>, ...)inselene/src/offload.rsandhelios/src/offload/mod.rs, while bothprepare_with_inputswrappers still forwardNone(helios/src/offload/mod.rs:82-103,selene/src/offload.rs:497-520). - It lands directly on top of two open PRs that rewrite the same functions and will force rebases plus semantic reconciliation, with neither PR mentioned in the description. #497 (open, FujitsuPolycom, +1636/−249) touches the same 6 files and had just removed a host-budget seam; #323 (open, javieratomic, +631/−65) makes the same
budget()/host_pool_budget()computations configurable. #589 merged first (2026-11-28). - Undeclared behaviour change: pool registration charges now shrink the capture host budget on integrated GPUs.
pool_host_charge(helios/src/runtime_core/memory.rs:956,1013-1018,1021-1025) is added intohost_futurebeforehost_growthis computed; the description speaks only of "pre-planned offload host budget" and post-KV-alloc double subtraction. - The portability fix covers the
.tgzarchive only.packaging/debian/Dockerfilestill builds the.debon Ubuntu 24.04 (glibc 2.39) andpackaging/debian/package.sh:46-48still addsibverbs-providerson arm64;docs/debian.md:4,49still says 24.04.NOTICE,THIRD_PARTY_NOTICES.md:74-79,Dockerfile:37anddocs/container.md:31-34still describe a linked-libibverbsworld. - No linked issue, and the targeted hardware is outside the project's declared matrix. No user report or issue exists for any of the three defects; the ARM64 breakage was found by inspecting CI, not by a report. The charter names SM103/SM120/SM121 workstations and DGX Spark and says "not interested in … broad hardware support"; Jetson Orin/GA10B/JetPack and Windows WDDM appear nowhere in
docs/cli-design.md:6ordocs/core-design.md:3(not opened). - Five verification gaps the PR itself admits or that inspection shows: no CUDA <13 driver ever runs the new
copy_batchfallback; noaarch64build and noubuntu-24.04-armCI run; theHOST_NUMAfallback is exercised only by a mock registrar, never GA10B/WDDM;lazy_libibverbs_loader_resolves_symbols_or_reports_install_hintpasses whichever way dlopen goes; and the rewrittenrelease.ymlis tag-triggered, so it had not run onmainat merge time. - Three unrelated defect classes in one merge commit with disjoint blast radius and separate verification burdens (CUDA copy API ~5 lines; a new 236-line C translation unit + rewritten release job; a multi-crate memory-budgeting rework), so any hardware failure on one part means reverting or hot-fixing all of
ba3afb13.
The change
Shape. 21 files, +994/−133, three independent fixes bundled (file inventory confirmed against pr_files):
| Group | Files | Size |
|---|---|---|
| CUDA copy fallback | helios/src/cuda.rs |
part of +57/−22 |
| Lazy libibverbs + release | helios/native/roce_proxy_dlopen.c (new, +236), helios/build.rs (+3/−2), helios/src/execution/roce.rs (+20/−1), .github/workflows/release.yml (not opened) (+54/−28), `helios |
flare |
| Selene budgeting + HOST_NUMA + Eos THP | selene/src/{offload.rs +134/−14, offload/tests.rs +159, registrar.rs +11, slab.rs +27/−12}, helios/src/runtime_core/{memory.rs +152/−22, model.rs +7/−5}, helios/src/offload/{mod.rs +27/−1, registrar.rs +8}, eos/src/unix.rs +60/−1, 4 docs |
widest surface |
1. CUDA 12 batched copies (helios/src/cuda.rs). Driver gains CopyAsync / copy_async (cuda.rs:81,225,303, symbol!("cuMemcpyAsync")). Stream::copy_batch (cuda.rs:791-834) keeps the single cuMemcpyBatchAsync_v2 call when the driver exports it (CUDA ≥13) and otherwise loops per entry calling cuMemcpyAsync (cuda.rs:824-833), replacing cuMemcpyDtoDAsync_v2, which under UVA cannot infer direction for pinned host pointers. copy_dtod_async (cuda.rs:1142-1146) still uses cuMemcpyDtoDAsync_v2, consistently, since its only callers copy device↔device (helios/src/offload/transfer/gpu_codec.rs:525 (not opened),620). Mixed host/device callers of copy_batch are as the description says: helios/src/offload/transfer.rs:396-399, helios/src/offload/transfer/codec.rs:948 (not opened), and graph input staging helios/src/execution/transport.rs:1087-1093 where frame.input comes from cuMemHostAlloc(..., flags = 0) (transport.rs:471,630; cuda.rs:842-852).
Undeclared detail: the doc comment at cuda.rs:781-790 still states "Every address is a device address, including the device alias of registered host memory. CPU addresses of registrations are not necessarily GPU-accessible", while the new fallback comment says raw cuMemHostAlloc(..., flags=0) pointers are accepted — two different address-class contracts inside one function.
2. Lazy libibverbs loading (helios/native/roce_proxy_dlopen.c, new 236 lines). dlopen("libibverbs.so.1", RTLD_NOW|RTLD_GLOBAL) under pthread_once (:60-63); dlvsym with version IBVERBS_1.1 falling back to dlsym; 17 required ibv_* symbols (:70-104) matching the 17 calls in helios/native/roce_proxy.c, plus optional ibv_reg_mr_iova2 under IBVERBS_1.8 (:106-109). It #defines ibv_* → flare_ibv_* before #include "roce_proxy.c", so the vendored file stays byte-identical (the file header claims this; the #undef lines for ibv_query_port/ibv_reg_mr avoid redefinition warnings). ibv_poll_cq and ibv_post_send are deliberately not wrapped — they are static inline in verbs.h (not opened) built on provider op pointers (roce_proxy.c:753,822,871,957,1128,1299). Failure path returns −1 with "cannot load libibverbs.so.1 (…); install libibverbs1 and ibverbs-providers for multi-host RoCE serving" (:66,111-121). helios/build.rs:67-77 compiles it and links dl+pthread, dropping rustc-link-lib=ibverbs. RoceTransport::open calls roce_ensure_libibverbs after the preflight checks (helios/src/execution/roce.rs:188-199), so the install hint appears only when a RoCE transport is opened.
3. Release builds (release.yml). Matrix shape unchanged (ubuntu-24.04/x86_64, ubuntu-24.04-arm/aarch64, fail-fast: false, :37-53); the old per-target runtime-packages (libibverbs1 ibverbs-providers) is deleted; libibverbs-dev stays on arm64 for the header. Build+package now runs inside docker run … ubuntu:22.04 with the work tree bind-mounted, rustup 1.94.1 installed in-container, cargo build --locked --release --manifest-path flare-cli/Cargo.toml --bin flare then packaging/archive.py (not opened) (:58-80). Verification (:81-121): license/notice payload present; readelf -d must not mention libibverbs.so; a Python check rejects any GLIBC_x.y above 2.35 in readelf --version-info; smoke tests flare --version and flare {run,agent,orbit} --help in dependency-free ubuntu:22.04 and ubuntu:24.04. Docker is now a hard requirement of the job. Feature set is unchanged — no --features roce on the command line — so RoCE still arrives on aarch64 only via flare-cli/Cargo.toml:43-44 (features = ["runtime-core","server","roce"] for cfg(all(linux, aarch64))); the x86_64 archive has no RoCE code and the new DT_NEEDED check is meaningful only for arm64.
4. Selene / Helios host budgeting. selene/src/offload.rs:802-885 adds HOST_SERVICE_HEADROOM_BYTES, host_service_headroom_bytes (64 MiB at ≤16 GiB, min(2 GiB, total/32) above), host_reserve_bytes (scaled service headroom + unchanged total/20 system share), host_pool_budget_from, host_pool_budget, host_pool_budget_with_reserve(future, apply_reserve). Shared into helios/src/runtime_core/memory.rs:28,185,202, where budget() now calls host_reserve_bytes (the local 2 GiB integrated_host_bytes is deleted) and integrated_offload_host_budget (:194-221) honours an explicit --memory-limit without implicit reserves (MemoryLimit::Reserve(r) → free.min(total) − r − future). NativeModel::allocate_caches now returns Result<Option<u64>> (memory.rs:1102-1112, planned offload host budget; capture → tier_host.max(chain_bytes) where chain = (pages + row_slots) * page_record_bytes, else tier_host − cfg.memory_bytes), which prepare_offload (model.rs:906-918) forwards to prepare_with_inputs_budget (model.rs:967-975). host_pool_budget_with_reserve's apply_reserve=false path has no caller at head (only host_pool_budget passes true).
5. HOST_NUMA fallback. New try_map_device_host_parts returns Ok(None) only when cuDeviceGetAttribute(HOST_NUMA_ID), cuMemGetAllocationGranularity, cuMemCreate or cuMemSetAccess returns status 1 (CUDA_ERROR_INVALID_VALUE) or 801 (CUDA_ERROR_NOT_SUPPORTED); every other status flows through driver.check, so OOM still fails startup (helios/src/cuda.rs). HostRegistrar::try_map_split has a default implementation that calls map_split and wraps it in Some (selene/src/registrar.rs:28-37), so pool/builder, ClosedRegistrar (selene/src/pool/startup.rs:223-230), IdentityRegistrar/TrackingRegistrar and selene-manager tests keep propagating Err. Only CudaRegistrar::try_map_split (helios/src/offload/registrar.rs:31-37) forwards to the new path, and SlabPool::try_sized_by_rank (selene/src/slab.rs:160-268) returns Ok(None); the memory-only branch of prepare_with_inputs_budget (selene/src/offload.rs:~600-645) then does SlabPool::sized(...) + register(registrar, context). map_device_host_parts and sized_by_rank keep their names but now emit new messages ("HOST_NUMA virtual memory allocation is not supported on this device or driver"; "split host mapping is not supported on this host"). Rank>1 wrinkle: headroom_with_inputs_for_budget charges mapped.div_ceil(512) where mapped = (pinned + intake).div_ceil(ranks) only when there is no disk and no pool (offload.rs:187-199) — exactly the memory-only case that can now fall back to a replicated registered mapping that every device maps at 1/512 of the whole pool (slab.rs:186-199, docs/prefix-cache-offload.md:520-535), so for ranks > 1 the fallback maps up to ranks× the device bytes charged. Identical for ranks == 1 (Jetson Orin single GPU, single-GPU WDDM).
6. Eos THP ordering (eos/src/unix.rs:85-120). Before: mmap(MAP_PRIVATE|MAP_ANONYMOUS|MAP_POPULATE) then madvise(MADV_HUGEPAGE). After: no MAP_POPULATE; MADV_HUGEPAGE first; then MADV_POPULATE_WRITE (success only on return 0) with a page-stride write_volatile(0) fallback. MADV_POPULATE_WRITE needs Linux ≥5.14; older kernels get EINVAL and use the userspace loop — correct, but no longer a single kernel-side prefault. eos/src/windows.rs:166 (not opened) unchanged. map_host backs SlabPool::new (selene/src/slab.rs:162-178).
Bundling. The three parts have separate root causes, separate verification burdens and disjoint blast radius; the only cross-PR overlap (#497, #323) touches part 4/6 only, so all rebase cost lands there, and the "Unrun checks" paragraph admits the gap for all three at once.
The why
- No linked issue for any of the three defects. Searches across the repo's items for
libibverbs JetPack glibc arm64 release,glibc archive does not start release binary,Jetson Orin prefix cache memory limit,GA10B WDDM prefix cache,cuMemcpyAsync batch DtoD CUDA 12,transparent huge pages madvise MAP_POPULATE host mapping,RoCE multi-host RDMA dependency installreturn only PR #589 itself or nothing;Jetson Orin support hardware(issues) returns nothing. - The description states the ARM64 gap was masked because "Release CI missed both incompatibilities because it checked the archive only inside
ubuntu:24.04withlibibverbs1installed" — i.e. found by inspecting CI, not from a user report. - The only field signal of an ARM64 archive being run is issue #288 (closed, shadownetX, GB10 TP1 benchmarks, closed 2026-11-18), which reports running "the official ARM64 release binary" on a DGX Spark — a host that has RDMA packages, so it would not have hit the
libibverbs1gap. - Precedent with measurements exists for the unified-memory family of problems, but not for the specific Jetson/WDDM cases: #323 documents the unified-memory reserve problem on 121.6 GiB DGX Spark hosts with measurements; #497 documents integrated-memory intake over-sizing on GB10 with measurements. #589's Orin (8–32 GiB), GA10B and Windows WDDM scenarios have no measurement or report anywhere in the repo.
- The THP ordering symptom is also unreported: before this PR
docs/prefix-cache-offload.md:474-478described the mapping asMAP_POPULATE+ "advised for transparent huge pages"; no issue records the 4 KiB-page symptom. - "GA10B" as a platform is one day old:
helios/src/core/naming.rs:15PLATFORMS = ["ga102","ga10b","gb10","gb202","gb300"], added byc9935887(2026-11-27, Luke Alonso, "Support integrated GA10B GPUs, adaptive executor parking, and explicit memory limits"). #589 is a self-follow-up to that commit, which the description never mentions.
Related work
- #497 (open, FujitsuPolycom, +1636/−249, 16 files, head cf9d4c14, updated 2026-11-27; last Autobot review "Ready To Merge") — "Reduce disk offload restore latency and integrated-memory intake overhead". Same 6 files:
selene/src/offload.rs,selene/src/offload/tests.rs,helios/src/offload/mod.rs,helios/src/runtime_core/{memory,model}.rs,docs/prefix-cache-offload.md. Its round-2 fix removed a test-onlyprepare_inner(..., host_budget: Option<u64>, ...)seam in favour of#[cfg(test)] fn headroom_for_test_budget; #589 re-adds the shape in shipped code asprepare_with_inputs_budget. #497 also deletes a deadcore: &Pathparameter. Both now thread a host budget intoprepare*, so #497 needs a rebase and a semantic reconciliation. Neither description mentions the other. - #323 (open, javieratomic, +631/−65, 23 files, opened 2026-11-17, updated 2026-11-26; labels area:caching/area:memory/enhancement/triage:design-review; Autobot "Changes Requested", no blockers) — "Make the system headroom of unified-memory cache sizing configurable". Adds
flare_selene::offload::system_headroom(total)feedingbudget()(helios/src/runtime_core/memory.rs) andhost_pool_budget()(selene/src/offload.rs) — the two functions #589 also rewrites. #589 scales the 2 GiB service constant; #323 configures thetotal/20system share, which #589 keeps unchanged. Needs rebase and reconciliation. - #504 (merged, yatesdr, 2026-11-25,
716df00f) — pure-CUDA/CPU lossless KV compression; 9 files in common with #589. #589'sprepare_with_inputs_budgetsits on top of it and preservesoptions.validate_compression()?and thedirectory.is_none() && options.pool.is_none() && options.compression == KvCompression::Offguard on the memory-only branch. Stacked, but not declared as such. - #455 (merged, yatesdr, 2026-11-21,
8fbd2b7a) — single-process pool capture + DRAM drain; introduced the capture path #589 re-budgets (planned_offload_hostfor capture matchesheadroom_with_inputs_for_budget's chain computation). #365 (merged,ad72c493) — pool attachment at startup / registration off the I/O thread; last change to themap_device_host_partsarea before #504. - #80/#92/#141 (merged, yatesdr) created the four APIs #589 modifies:
host_pool_budget,SlabPool::sized_by_rank,HostRegistrar::map_split,eos::map_host.selene/src/slab.rssplit-by-rank work also involves Martin Vit (f2d959e3). - #496 (open) is #497's documented companion ("#497 first, then rebase #496"), so #589 landing first adds one more rebase to that pair. #397, #484, #554, #585, #542, #177, #213 from the orientation list are file-level or wording-level overlaps only (#397 also mentions
CUDA_ERROR_INVALID_VALUEbut concerns kernel-node attributes). #576 (#open) and #301 (open) toucheos/src/unix.rsandhelios/src/cuda.rsrespectively with no semantic conflict found. - Nothing found that #589 supersedes, reverts or undoes: no earlier PR implemented a
cuMemcpyAsyncfallback, lazy ibverbs loading, 22.04 release builds, scaled integrated host reserves, or HUGEPAGE-before-populate. The nearest reverse-direction fact is that #323 and #497 are partially pre-empted.
Recent activity
- 2026-11-27
c9935887Luke Alonso, "Support integrated GA10B GPUs, adaptive executor parking, and explicit memory limits" — toucheshelios/src/cuda.rs,helios/build.rs,helios/src/execution/transport.rs,helios/src/runtime_core/memory.rs,docs/cli-design.md. Direct prerequisite: GA10B/integrated detection,MemoryLimit,rank.integratedaccounting all come from it; #589 continues it one day later. - 2026-11-26
6d74db3a"Fix Rust compiler warnings across Helios, Heliopause, and Selene" — the previousselene/srcchange before #589. Same day: #545, #543 (author, ignition). - 2026-11-25
716df00f#504 — last substantial change toselene/src/offload.rs,helios/src/cuda.rs(added the GPU codec usingcopy_dtod_async) andhelios/src/runtime_core/memory.rsbefore #589. - 2026-11-21
8fbd2b7a#455; 2026-11-19dc0d40e0"Harden Helios HTTP ingress, frontend bounds, RoCE/TP lifecycle" — lasthelios/native/RoCE change before #589, which adds an error path in front ofroce_create. - 2026-11-14
5a4e8679"Stamp binary release versions from tags" and 2026-11-1194fbce5f"Publish release archives from version tags" — the release workflow is ~2 weeks old; #589 rewrites its build/smoke-test shape a third time. - 2026-11-28, same time as this merge, other authors landed
9031847a(Engram reader/PLE) and85de9eae(FP32 parameter binding) inhelios/src. - No revert of related work appears in the last 60 days; nothing conflicts with #589's approach.
People
- Author: lukealonso, COLLABORATOR, one of the three charter "priority contributors" (@voipmonitor, @original-el8, @lukealonso) whose PRs are "never closed out of hand as low value". Last 180 days: 12 merged PRs, 0 closed, 0 open, touching docs (8), helios/src (8), ignition/preparation (5), .github/workflows (3) — including #590, #579, #573, #570, #569, #568, #546, #545, #543, #510.
- Commit dominance in the touched areas (180 days): helios/src — Luke Alonso 217, Martin Vit 51, yatesdr 47; selene/src — yatesdr 32, Luke Alonso 4, Martin Vit 2; helios/native — Jason Cook 4, Luke Alonso 3; .github/workflows — Luke Alonso 15, yatesdr 4, Martin Vit 3; eos/src — Luke Alonso 4, yatesdr 2. So the native/RoCE file and the release workflow are effectively the author's territory; the Selene host-budget code is yatesdr's and the author is a rare committer there.
- Owners of the modified code who did not review:
host_pool_budget,SlabPool::sized_by_rank,map_splitandmap_hostwere written by yatesdr (#92acbf2858, #80230c5b40, #141c6e82d44, #365) and Martin Vit (f2d959e3, split memory-only host store by rank). The vendoredhelios/native/roce_proxy.cis Jason Cook/jasonc's (40a24b6f, e350914a, e774a468, a5b3b2b0) and is kept byte-identical to FlashInfer (NOTICE:15-21) — #589's macro-renaming wrapper preserves that byte-identity rather than editing the file, which matters to that file's owner. - Engagement so far: nobody. No maintainer other than the author appears anywhere on the PR.
Community
pr_commentson #589 returns "No comments.": no review, no inline comments, no reactions, no labels, no Discord handle ("no username provided" in the body, whereas e.g. #497 gives "Discord: Dooner").- Neighbouring PRs did get review: #497 had two Autobot review rounds with blockers before "Ready To Merge"; #323 has one Autobot review with "Changes Requested" outstanding. The
flare-autobotbot's case-file/review mechanism ran on both and produced nothing on #589 before its merge. - Interest drawn by #589 itself: none recorded in the repository.
Project fit
- Charter vision/goals: "fast local inference engine for NVIDIA GPUs … squeeze the most out of workstation and compact hardware—specifically SM120/SM121 workstations and DGX Spark"; goals name SM103, SM120, SM121 and host prefix-cache checkpoints shared via Selene. No Jetson/JetPack/ARM64-SoC target.
- Charter "Stay focused": "We want changes that help more people run Flare locally (#6). We're not interested in piling on extra model aliases, random switches, or broad hardware support." The Jetson Orin/GA10B and Windows-WDDM fixes sit outside the named matrix; the CUDA 12 discrete-GPU fix and the ARM64 glibc/ibverbs fix also sit outside SM103/SM120/SM121-as-shipped, though Ubuntu 22.04 compatibility arguably widens "run Flare locally".
- Charter "Supported matrix & compatibility": reviewers must check every supported model, cache scheme, parallel layout, multi-host setup and documented hardware target. This PR changes multi-host RoCE loading, the release archive, the prefix-cache pool mapping strategy and integrated-GPU cache sizing, and its own "Unrun checks" state aarch64, Jetson, discrete CUDA 12 and WDDM were not exercised.
- Charter "Bring real evidence" (bug fixes address the root cause): each fix names an API-level root cause (wrong copy API; dynamic ibverbs link + 24.04 toolchain; post-allocation re-query + unsupported VMM + post-fault THP advice) — consistent on root cause, thin on hardware evidence.
- Charter "GPU kernel code: report concrete defects only, do not propose designs": not engaged — no kernels are touched (
cuda.rs,eos/src/unix.rsare driver/host plumbing). - Charter "PR descriptions: four parts": satisfied and unusually candid (Why / What changed / Claimed results / Evidence and limitations / Unrun checks).
- Docs consistency: 9 documented surfaces updated and matching the diff (
docs/prefix-cache-offload.md:474-478,520-535,642-652,1138-1152,docs/multi-host.md:47-55,docs/release.md:27-35,65-80,docs/runtime-core-design.md:7-13).docs/cli-design.md:871-877already promised that an explicit memory limit subtracts "no additional hidden reserve", whichintegrated_offload_host_budgetnow actually implements — the PR makes an existing doc true but does not document the new 64 MiB/min(2 GiB, total/32)scaling there (only indocs/prefix-cache-offload.md:1138-1147). Stale after this PR:NOTICE:15-29,THIRD_PARTY_NOTICES.md:74-79("Linux aarch64 builds also link the system libibverbs and pthread interfaces"),Dockerfile:9-13,37,docs/container.md:31-34,packaging/debian/*,docs/debian.md:4,49,docs/windows.md:154-163,212-217, andhelios/Cargo.toml:26-29(the separaterdmafeature comment "links libibverbs" is still true — that path usesibverbs-sys).
Claims and evidence
Backed (per PR body; CI on aed8039 green):
- eos: 2 passed incl.
map_host_advises_hugepages_and_prefaults_zeroed_pages(eos/src/unix.rs:207-248; asserts zeroed pages andhgin/proc/self/smapsVmFlags:). - selene: 506 passed with
--features test-support, incl. small-SoC/explicit-limit budget tests,prepare_with_inputs_budget_avoids_post_kv_alloc_shrinkage_and_capture_failure, andmemory_only_falls_back_to_registered_mapping_when_host_numa_split_is_unsupported(uses anUnsupportedSplitRegistrardouble, and separately asserts an OOMsplit_errorpropagates). - helios: filtered run 40 passed / 16 ignored (GPU-only) incl.
lazy_libibverbs_loader_resolves_symbols_or_reports_install_hintandintegrated_offload_host_budget_matches_small_soc_scaling_and_explicit_limits. - flare 228 passed (226 + 2 hub reruns, 4 ignored); flare-cli 24/24 integration + 196 unit (195 + 1 serial rerun, 3 ignored), with one unrelated
distribution::tests::source_waits_for_receiver_file_verificationtimeout/BrokenPipe; selene-manager 84/85 with one unrelateda_record_put_into_a_manager_on_another_host_is_restored_over_tcpmetric-count failure. - Local Docker replay of the
release.ymlflow inubuntu:22.04:Max GLIBC: GLIBC_2.34, nolibibverbs.soDT_NEEDED, clean 22.04 and 24.04 smoke tests withoutlibibverbs1.
Not backed / cannot be:
- The CUDA <13 branch is never executed by any test: the in-tree GPU test (
helios/src/cuda.rs:1592-1658,register_host+device_hostalias + 600 H2Dcopy_batchcalls) takes thememcpy_batchbranch whenever the driver exportscuMemcpyBatchAsync_v2. Description lists CUDA 12.x live GPU tests as unrun. - No
aarch64build and noubuntu-24.04-armCI run ("Unrun checks"); therelease.ymlrewrite had not executed because the workflow is tag-workflow_dispatchtriggered (release.yml:3-6). lazy_libibverbs_loader_resolves_symbols_or_reports_install_hint(helios/src/execution/roce.rs:511-525) passes whichever waydlopengoes — it never asserts that all 17 symbols resolved, and it cannot prove the missing-package message on a host that lacks libibverbs.- The
HOST_NUMAfallback is never exercised against a real GA10B or WDDM driver (mock registrar only). The Eos THP assertion is skipped if the smaps parse fails. - CI itself never runs with
--features rocein the test job:native-serving.yml:45-77builds helios with--features runtime-core,server; therdmajob (:101-113) doescargo check --features roce,rdmaon ubuntu-24.04 withlibibverbs-dev— compile-only, never adlopenmiss. - No performance claim is made anywhere (unlike #497/#323): all claims are correctness/portability.
Reach
- Users: every
flare-linux-amd64.tgz/flare-linux-arm64.tgzconsumer — minimum glibc drops from 2.39 to 2.35 (Ubuntu 22.04 / JetPack 6). Users already on 24.04 are unaffected..debusers get nothing (see Process/undeclared). - Operators: multi-host RoCE no longer fails at process start when
libibverbs1is missing; a single-hostflare runstarts and the error (with install hint) appears only when a RoCE transport opens — a misconfigured host now fails later. Documented indocs/multi-host.md:47-55. - Deployment: release jobs now require Docker on both runners (previously installed apt packages + rustup directly). The arm64 job still installs
libibverbs-devinside the 22.04 container, so the build-time header pins to 22.04's rdma-core, while the runtime library is the user's; symbol selection is versioned (IBVERBS_1.1, optionalIBVERBS_1.8viadlvsymwithdlsymfallback). - Defaults/config: no new flags. Reserve values change on integrated GPUs — 64 MiB instead of 2 GiB host allowance at ≤16 GiB total RAM,
min(2 GiB, total/32)above — so a 121.6 GiB DGX Spark keeps 2 GiB (unchanged) while an 8 GiB Orin reserve drops to 64 MiB and gains KV cache. GB10/GB300 users see no change at those sizes. - Compatibility: no file format, core format, wire protocol, checkpoint layout or on-disk state changes; Selene pool records, the
Preparationenum and existing registrations are untouched (new parameters are additive withNone). Windows graph storage still requires host-NUMA VMM (docs/windows.md:212-217) — the fallback covers the prefix-cache slab path only, anddocs/windows.mdis not updated. - Dependencies:
ibverbslink dep dropped fordl; no Cargo dependency versions change (only comments). Therdmafeature path (selene viaibverbs-sys) still hard-links, and.github/workflows/native-serving.yml:101-113(not opened) plusselene-manager/Dockerfile.rdmastill installlibibverbs-devfor it.
Process
- Not a draft. Opened and merged 2026-11-28 (single head commit
aed8039, mergeba3afb13), no revision round, no labels, no review. - CI on
aed8039passed. The PR-time suite (native-serving.yml: ubuntu-24.04 + windows-2022) covers eos, selene, selene-manager, helios (--features runtime-core,server), flare-cli and flare; the RoCE path is compile-checked only in the separaterdmajob. release.ymlis tag/workflow_dispatch-triggered, so its new 22.04 build, ELF checks and dual-container smoke tests had not run onmainat merge; they will first run at the nextv*tag.- Post-merge exposure: a failure in any of the three fixes means reverting or hot-fixing
ba3afb13as a unit.
Open questions / not found
- Why the bundling? Nothing in the PR explains why three unrelated fixes ship in one commit; no linked umbrella issue.
- Where did the Jetson/GA10B/WDDM symptoms come from? No issue, report, measurement or reproduction in the repository. The only in-repo prior art for unified-memory budgeting with numbers is #323 (DGX Spark) and #497 (GB10).
- Did automated review run and fail, or not run? The bot reviewed #497 and #323 within days of the same merge; #589 has no Autobot review on record.
- How are #497 and #323 meant to be reconciled? Neither PR nor #589 mentions the other; the required rebase and the "wrapper drops the budget" design question are unresolved in the record.
- Is the
ranks > 1registration accounting (fallback maps up toranks× the charged device bytes) acceptable? Recorded as a fact; no discussion exists. - What happens to
pool_host_chargeon integrated capture sizing? Undeclared behaviour change with no test named in the PR body targeting it. - Does anything verify the
flare-linux-arm64.tgzfix on aarch64 before release? Not in this PR: no aarch64 build and no arm CI run. - Not found: any maintainer review, any user report, any performance claim, any revert of related work, and any Discord handle for the author.