#1 [high] Process/Community: PR #589 has zero comments or reviews
PR #589 (https://github.com/NVIDIA/hyperflare-inference/pull/589) title: "Fix CUDA 12 batched copies, Linux ARM64 release portability, and Selene unified-memory budgeting".
pr_commentsreturned "No comments." — no review, no inline comments, no reactions recorded.- Orientation packet: state merged, ready for review; opened 2026-11-28, last updated 2026-11-28 (same day); base main, head aed8039; CI on head commit: passed; labels: none; reviews: none yet.
- Merge commit on main: ba3afb13 "Fix CUDA 12 batched copies, Linux ARM64 release portability, and Selene unified-memory budgeting (#589)" dated 2026-11-28 by Luke Alonso.
- Size: 21 files, +994/−133 (pr_files count = 21 files listed).
- Author lukealonso is a COLLABORATOR and one of the three "priority contributors" (@voipmonitor, @original-el8, @lukealonso) named in the charter, which says their PRs are "never closed out of hand as low value".
- So: no community engagement, no human review recorded, merged the day it opened by (apparently) the author himself.
#2 [high] The change: shape of the diff, 3 unrelated fixes in one PR
PR #589 bundles three unrelated defect fixes. File inventory (from pr_files, all modified unless noted):
- helios/src/cuda.rs (+57/−22): loads
cuMemcpyAsyncinDriver,Stream::copy_batchfallback now usescuMemcpyAsyncinstead ofcuMemcpyDtoDAsync_v2; newis_host_numa_unsupported()(status 1 = CUDA_ERROR_INVALID_VALUE or 801 = CUDA_ERROR_NOT_SUPPORTED);map_device_host_partsrefactored intotry_map_device_host_partsreturningResult<Option<DeviceHostParts>>;map_device_host_partswraps it and errors with "HOST_NUMA virtual memory allocation is not supported on this device or driver". - helios/src/runtime_core/memory.rs (+152/−22): shared host reserve helpers (host_service_headroom_bytes / host_reserve), integrated_offload_host_budget, uses try_map_device_host_parts.
- helios/src/runtime_core/model.rs (+7/−5):
allocate_cachesreturns pre-planned offload host budget toprepare_offload->prepare_with_inputs_budget. - helios/src/offload/mod.rs (+27/−1), helios/src/offload/registrar.rs (+8): split-mapping fallback plumbing (
HostRegistrar::try_map_split). - helios/src/execution/roce.rs (+20/−1):
RoceTransport::opencallsroce_ensure_libibverbsafter preflight. - helios/native/roce_proxy_dlopen.c (new, +236): dlopen/dlvsym lazy loader wrapping unmodified roce_proxy.c.
- helios/build.rs (+3/−2): compile roce_proxy_dlopen.c, link dl+pthread, no
ibverbslink lib. - helios/Cargo.toml (+1/−1), flare/Cargo.toml, flare-cli/Cargo.toml (+2/−2 each): (likely version bumps — to verify).
- .github/workflows/release.yml (+54/−28): build both Linux targets in ubuntu:22.04, ELF checks, smoke tests in 22.04 and 24.04.
- selene/src/offload.rs (+134/−14), selene/src/offload/tests.rs (+159), selene/src/registrar.rs (+11), selene/src/slab.rs (+27/−12): host budget scaling, prepare_with_inputs_budget, try_map_split/try_sized_by_rank fallback.
- eos/src/unix.rs (+60/−1): map_host drops MAP_POPULATE, madvise(MADV_HUGEPAGE) first, then MADV_POPULATE_WRITE or write_volatile fallback.
- docs: multi-host.md (+4/−2), prefix-cache-offload.md (+13/−6), release.md (+15/−10), runtime-core-design.md (+2/−2). Note: three distinct defect classes (CUDA copy fallback; release/portability + lazy libibverbs; Selene memory budgeting + eos THP) with disjoint blast radii, in one PR.
#3 [high] Related work: open #497 edits the same host-budget plumbing #589 changes
#497 (https://github.com/NVIDIA/hyperflare-inference/pull/497), "Reduce disk offload restore latency and integrated-memory intake overhead", author FujitsuPolycom (CONTRIBUTOR), opened 2026-11-24, still OPEN (updated 2026-11-27, head cf9d4c14), +1636/−249, 16 files. Its last Autobot review was "Ready To Merge"; it has an active Autobot case file. Overlap with #589:
- Same 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(6 files in common per the orientation packet). - #497's Round-2 fix SF2 removed a test-only seam
prepare_inner(..., host_budget: Option<u64>, ...)from selene/src/offload.rs, replacing it with a#[cfg(test)] fn headroom_for_test_budget. #589 (merged at ba3afb13, 2026-11-28) reintroduces almost exactly that shape in shipped code asprepare_with_inputs_budget(..., host_budget: Option<u64>, ...)(selene/src/offload.rs) andhelios::offload::prepare_with_inputs_budget. - #497 also deleted the dead
core: &Pathparameter ofprepareacross selene/helios/selene-manager tests; #589's newprepare_with_inputs_budgetkeepscore(it has callers, unlike #497'sprepare). - #497 changes integrated disk-only intake sizing (targets
intake_slots(layout, 1)on integrated hosts) andhelios/src/runtime_core/memory.rs; #589 rewriteshelios/src/runtime_core/memory.rshost budgeting (integrated_offload_host_budget,host_reserve_bytes) andallocate_caches' return type. => #589 merged before #497 and will force a rebase of #497 and a semantic reconciliation of host-budget plumbing (both now thread a host budget intoprepare*). Neither PR's description mentions the other.
#4 [high] Related work: open #323 rewrites the same host reserve functions
#323 (https://github.com/NVIDIA/hyperflare-inference/pull/323) "Make the system headroom of unified-memory cache sizing configurable", author javieratomic (CONTRIBUTOR), still OPEN (opened 2026-11-17, updated 2026-11-26), +631/−65, 23 files, labels: area:caching, area:memory, enhancement, triage:design-review. Its last Autobot review (2026-11-26) recommended "Changes Requested" with no blockers. Direct overlap with #589 (merged 2026-11-28):
- #323 adds
flare_selene::offload::system_headroom(total)returning the configured--system-headroom/[memory] system_headroomor the defaulttotal/20, and makes bothbudget()inhelios/src/runtime_core/memory.rsandhost_pool_budget()inselene/src/offload.rscall it. #589 changes the same two functions:budget()now calls the newhost_reserve_bytes(total)andhost_pool_budget()now delegates tohost_pool_budget_with_reserve(future, apply_reserve)/host_pool_budget_from(...). - #323's own open review item was "Both
prepare()wrappers drop the setting... Put the value onPrefixCacheOffloadbesidememory_bytes; drop the positional parameter from all four signatures" — #589 instead adds a further positionalhost_budget: Option<u64>parameter and a newprepare_with_inputs_budgetwrapper layer at exactly those call sites (selene/src/offload.rs, helios/src/offload/mod.rs). - #589's
host_service_headroom_bytes()(64 MiB at ≤16 GiB,min(2 GiB, total/32)) is the scaling function for the 2 GiB constant whose configurable replacement is #323's subject; #323's motivation is thetotal/20share (HOST_SYSTEM_SHARE), which #589 keeps unchanged. => #589 merged ahead of #323 and both rewrite the same reserve computation; #323 will need rebasing and reconciliation. Neither description mentions the other.
#6 [high] The change: lazy libibverbs loader, what it wraps, and what it leaves stale
Verified at PR head:
helios/native/roce_proxy_dlopen.c(new, 236 lines) dlopen("libibverbs.so.1", RTLD_NOW|RTLD_GLOBAL) underpthread_once,dlvsymwith version "IBVERBS_1.1" falling back todlsym, loads 17 verbs symbols (list matches the 17ibv_*calls inhelios/native/roce_proxy.c— get_device_list, get_device_name, free_device_list, open_device, close_device, query_port, query_gid, alloc_pd, dealloc_pd, reg_mr, dereg_mr, create_cq, destroy_cq, create_qp, destroy_qp, modify_qp, wc_status_str), plus optionalibv_reg_mr_iova2under "IBVERBS_1.8".- Does NOT wrap
ibv_poll_cqandibv_post_send(used at roce_proxy.c:753,822,871,957,1128,1299). Consistent: those are static-inline functions in verbs.h built on the provider op pointers reachable throughstruct ibv_context/ibv_qp, so no exported symbol is needed.ibv_reg_mrandibv_query_portARE exported functions in rdma-core, hence wrapped. - Redirects by
#define ibv_* flare_ibv_*before#include "roce_proxy.c", so the vendored file stays byte-identical (also claimed in the file header comment).#undef ibv_query_port/#undef ibv_reg_mrfirst to avoid redefinition warnings on newer headers. - Error path:
roce_ensure_libibverbs()copies "cannot load libibverbs.so.1 (...); install libibverbs1 and ibverbs-providers for multi-host RoCE serving" into the caller's buffer and returns −1; if a required symbol is missing it dlclose()s and reports "libibverbs.so.1 is missing required symbol ".
- Does NOT wrap
helios/build.rs:67-77: compiles native/roce_proxy_dlopen.c,cargo:rustc-link-lib=dl+pthread, noibverbslink lib (replacesrustc-link-lib=ibverbs).helios/src/execution/roce.rs:188-199:RoceTransport::opencallsroce_ensure_libibverbsafter the preflight checks (null region address etc.) and beforeroce_create, so the install hint appears only when opening a multi-host RoCE transport. New testlazy_libibverbs_loader_resolves_symbols_or_reports_install_hint(roce.rs:511-525) passes either way: if dlopen succeeds it asserts nothing about symbols beyond status==0.- Consequence: binaries no longer record a
libibverbs.soDT_NEEDED entry;docs/release.md,docs/multi-host.md,docs/runtime-core-design.md, and therocefeature comments in helios/flare/flare-cliCargo.tomlare updated to say "loads libibverbs.so.1 lazily at run time". - Not updated by the PR but now stale-ish:
THIRD_PARTY_NOTICES.md:76-79("Linux aarch64 builds also link the system libibverbs and pthread interfaces for RoCE"),NOTICE:18-19(proxy "compiled into Linux aarch64 builds" — still true but the wrapper is also compiled on x86_64 with--features roce),Dockerfile:37(installs libibverbs1 + ibverbs-providers in the runtime image),docs/container.md:32("ARM64 also includes libibverbs and its providers because Flare enables the RoCE transport on that architecture"),packaging/debian/package.sh:46-48(addsibverbs-providersdependency on arm64),packaging/debian/Dockerfile(builds on ubuntu:24.04 with libibverbs-dev, so the .deb still needs glibc 2.39 — the portability fix reaches the .tgz archive only),helios/Cargo.toml:29(therdmafeature comment still says "links libibverbs" — true, that feature uses the ibverbs-sys crate).
#9 [high] The change: release.yml now builds in ubuntu:22.04 and checks ELF; scope limits
Verified in .github/workflows/release.yml at PR head:
- Matrix unchanged in shape:
ubuntu-24.04/amd64/x86_64 andubuntu-24.04-arm/arm64/aarch64,fail-fast: false. The arm64 entry keepsbuild-packages: libibverbs-dev(needed for<infiniband/verbs.h>); the old per-targetruntime-packagesentry (libibverbs1 ibverbs-providerson arm64) is deleted, so nothing installs RDMA packages on the runner any more. - The build+package step now runs inside
docker run ... ubuntu:22.04 bash -eucwith the workdir bind-mounted (--volume "$PWD:/src"),CARGO_TARGET_DIR=/tmp/target, rustup installed in-container from sh.rustup.rs with$RUST_TOOLCHAIN(1.94.1 fromenv:), thencargo build --locked --release --manifest-path flare-cli/Cargo.toml --bin flareandpackaging/archive.py; output chowned back to the runner UID/GID. The runner-side "Install build dependencies" step (apt + rustup) is gone; Docker is now a hard requirement of the job. - The feature set is unchanged from before: plain
cargo build ... --bin flare, no--features roceon the command line. RoCE still arrives on aarch64 only, via the target-specific dependency inflare-cli/Cargo.toml:43-44(features = ["runtime-core","server","roce"]forcfg(all(linux, aarch64))). Consequence: the x86_64 archive contains no RoCE code at all, so the new "must not hard-link libibverbs" check is only meaningful for the arm64 archive; on x86_64 the archive also never had RoCE. - New verification step: extract, require the license/notice payload,
readelf -dmust not matchlibibverbs.so, a Python block rejects anyGLIBC_x.ysymbol version above (2,35) inreadelf --version-infooutput, then smoke testsflare --version+flare {run,agent,orbit} --helpinubuntu:22.04andubuntu:24.04containers that install nothing (nolibibverbs1). - The archive smoke test previously ran in
ubuntu:24.04with the RDMA packages installed; that is the concrete reason the ARM64 breakage reached users (release.yml checked compatibility in the environment that had the missing library). - Not changed by this PR but in tension with it:
packaging/debian/Dockerfilestill builds onubuntu:24.04(glibc 2.39) andpackaging/debian/package.sh:46-48still addsibverbs-providerson arm64, anddocs/debian.md:4,49still says the .deb is built in Ubuntu 24.04. So the portability fix coversflare-linux-*.tgzbut notflare-inference_*.deb. - The
versionjob, Windows jobs, andpackaging/archive.pyare untouched.
#11 [high] Claims and evidence: what is backed, and where the evidence cannot reach
From the PR description (not independently runnable here; CI on the head commit aed8039 passed per the orientation packet):
- eos:
cargo test --manifest-path eos/Cargo.toml2 passed, incl.map_host_advises_hugepages_and_prefaults_zeroed_pages. - selene: 506 passed with
--features test-support, incl.host_pool_budget_scales_small_socs_and_honors_explicit_limit_override,prepare_with_inputs_budget_avoids_post_kv_alloc_shrinkage_and_capture_failure,memory_only_falls_back_to_registered_mapping_when_host_numa_split_is_unsupported(the last usesUnsupportedSplitRegistrar, a test double, and separately asserts that an out-of-memorysplit_errorpropagates). - helios: filtered run
--features runtime-core,server,roce --lib -- cuda::tests runtime_core::memory::tests runtime_core::model::tests offload:: execution::roce::tests→ 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, flare-cli 24/24 integration + 196 unit, selene-manager 84/85 with one unrelated failure (
a_record_put_into_a_manager_on_another_host_is_restored_over_tcp, moved() metric count). - Local Docker replication of the release.yml flow in
ubuntu:22.04:Max GLIBC: GLIBC_2.34, nolibibverbs.soDT_NEEDED, clean 22.04 and 24.04 smoke tests withoutlibibverbs1. Where the evidence is thin, by the PR's own admission and by inspection: - No GPU test runs the CUDA 12 fallback branch: the in-tree
copy_batchGPU test (helios/src/cuda.rs:1592-1658) takes thememcpy_batchbranch whenever the driver exportscuMemcpyBatchAsync_v2; the fallback needs a CUDA <13 driver. Description lists "live GPU tests on discrete CUDA 12.x / Jetson Orin GA10B / Windows WDDM hardware" as unrun. - The lazy-loader test is satisfied by either outcome — it asserts an install hint only when dlopen fails (helios/src/execution/roce.rs:511-525); it never asserts that all 17 symbols resolved, and it cannot run on a host without libibverbs to prove the missing-package path on a RoCE-capable build.
- No
aarch64build and noubuntu-24.04-armCI run was performed ("Unrun checks"). - The
HOST_NUMAfallback is never exercised against a real GA10B/WDDM driver; only the mock registrar. - The Eos THP assertion is skipped if
/proc/self/smapsparsing does not find the VMA. No performance claim is made anywhere in this PR (unlike #497/#323); all claims are correctness/portability claims.
#12 [high] The why: no linked issue; defects found by inspection, not reported by users
Problem statements in the PR description map to no issue or report found in the repository:
- Searches 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 installall returned only PR #589 itself (or nothing).search_items kind=issue query="Jetson Orin support hardware"→ no matches. - The description itself says the ARM64 breakage was masked because "Release CI missed both incompatibilities because it checked the archive only inside
ubuntu:24.04withlibibverbs1installed" — i.e. it was found by inspection, not from a user report. - The only prior public signal in the repo of an ARM64 release binary being run in the field is issue #288 (closed, shadownetX, GB10 TP1 benchmarks): "B and C used the official ARM64 release binary" on a DGX Spark; that host has RDMA packages, so it would not have hit the
libibverbs1gap. Closed 2026-11-18. - Precedent for the HOST_NUMA / integrated-GPU work: #323 (open) documents the unified-memory reserve problem on 121.6 GiB DGX Spark hosts with measurements; #497 (open) documents integrated-memory intake over-sizing on GB10 with measurements. #589's Jetson Orin/GA10B/WDDM cases have no corresponding measurement or report anywhere in the repo.
- Precedent for the THP ordering:
docs/prefix-cache-offload.md:474-478described the mapping asMAP_POPULATE+ "advised for transparent huge pages" before this PR; no issue records the 4 KiB-page symptom. - Repo-wide, "Jetson"/"Orin" appear only in code comments (
helios/src/core/naming.rs:63,helios/src/cuda.rs:824,helios/src/execution/transport.rs:22,ignition/planning.py:81,ignition/preparation/core_storage.py:67,selene/src/offload/tests.rs:717) and, after this PR, in the new native wrapper comment. No doc lists Jetson Orin or JetPack as a supported platform:docs/cli-design.md:6,docs/core-design.md:3and the charter name SM103/SM120/SM121 only;helios/src/core/naming.rs:15PLATFORMS = ["ga102","ga10b","gb10","gb202","gb300"]. The platform existed since c9935887 (2026-11-27, Luke Alonso, "Support integrated GA10B GPUs, adaptive executor parking, and explicit memory limits") — one day before #589.
#13 [high] Project fit: charter scope vs Jetson/WDDM/CUDA-12 targets; doc consistency
- Charter (read via read_charter): vision is "fast local inference engine for NVIDIA GPUs... squeeze the most out of workstation and compact hardware—specifically SM120/SM121 workstations and DGX Spark". Goals list SM103, SM120, SM121 and host prefix-cache checkpoints shared via Selene, but 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 in this PR are hardware support outside the named matrix; the CUDA 12 discrete-GPU fix and the ARM64 portability fix also sit outside SM103/SM120/SM121-as-shipped.
- Charter "Supported matrix & compatibility": reviewers must "Check interactions across every supported model, cache scheme, parallel layout, multi-host setup, and hardware target named in the docs" — 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" say aarch64, Jetson, discrete CUDA 12 and WDDM were not exercised.
- Charter "Bring real evidence": "Bug fixes need to address the root cause". Each of the three fixes targets a named API-level root cause (wrong copy API; dynamic
ibverbslink + 24.04 toolchain; post-allocation re-query + unsupported VMM + post-fault THP advice), which reads as consistent with that rule; the missing part is hardware evidence. - Charter "GPU kernel code: report concrete defects only—do not propose designs" — none of the changes touch kernels; the
eos/src/unix.rsandcuda.rsedits are host/driver plumbing, so the rule does not bite. - Charter "PR descriptions: Expect four parts" — this description has Why / What changed / Claimed results / Evidence and limitations, i.e. compliant, and unusually detailed about what was not tested.
- Charter "Respect contributors / priority contributors (@lukealonso) carry extra weight — never closed out of hand as low value": the author is one of the three named.
- Docs that this PR leaves inconsistent with its own change:
docs/cli-design.md:871-877("an explicit memory limit... replaces... integrated-GPU host and system reserves; no additional hidden reserve is subtracted on top of an explicit limit") — which is exactly what the newintegrated_offload_host_budgetnow implements for the prefix-cache host budget, so #589 makes the existing doc true rather than changing it; butdocs/cli-design.mdnowhere mentions the new 64 MiB/min(2 GiB, total/32) scaling, that lives only indocs/prefix-cache-offload.md:1138-1147. docs/prefix-cache-offload.md:642-652now documents thecuMemcpyAsyncfallback in the list of required driver symbols;docs/multi-host.md:47-55,docs/release.md:27-35,65-80,docs/runtime-core-design.md:7-13all updated for lazy loading and glibc 2.35. Documentation coverage of the changed surface is good apart from the stale files listed in entry 6 (THIRD_PARTY_NOTICES.md, NOTICE, docs/container.md, packaging/debian/*, Dockerfile).
#15 [high] People: author owns helios/workflows, not selene budgeting; nobody reviewed
- Author: lukealonso, COLLABORATOR, one of the three charter "priority contributors". In the last 180 days: 12 merged PRs, 0 closed, 0 open (per orientation packet), touching docs (8), helios/src (8), ignition/preparation (5), .github/workflows (3). Recent merged work in the same window: #590 (Engram reader/PLE lookahead), #579 (InitialState hash bypass, TP drain, VLM teardown), #573 (tagged tool calls), #570 (CI setup-java), #569, #568, #546 (TP16 PCIe island), #545, #543, #510.
- The immediately preceding commit on main for the same areas is c9935887 (2026-11-27, Luke Alonso, "Support integrated GA10B GPUs, adaptive executor parking, and explicit memory limits") — #589 builds directly on it: GA10B/integrated detection,
MemoryLimit, and therank.integratedaccounting all come from that commit, and #589's Jetson/GA10B fixes andintegrated_offload_host_budgetare follow-ups to it. So #589 is a self-follow-up one day after its own prerequisite landed. - Who usually works in these areas: helios/src — Luke Alonso 217 commits in 180 days, 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 RoCE/native file and the release workflow are the author's own or near-own territory; the selene host-budget code is yatesdr's territory and the author is a rare committer there.
- Who owns the neighbouring concern:
selene/src/offload.rshost budgeting andSlabPool::sized_by_rankwere written by yatesdr (#92 acbf2858 "Share prefix KV cache across instances with the Selene pool", #80, #141, #365, #455) and Martin Vit (f2d959e3 "Split a memory-only host prefix store by rank"). #589 modifiesSlabPool::sized_by_rank's semantics andhost_pool_budgetwithout either author reviewing (no reviews recorded). - RoCE/native owner: the vendored
helios/native/roce_proxy.cwas contributed by Jason Cook / jasonc (40a24b6f, e350914a, e774a468, a5b3b2b0), and it is kept "byte-for-byte identical to FlashInfer" (NOTICE:15-21). #589's wrapper preserves that byte-identity by macro-renaming rather than editing the file — a fact that matters to the owner of that file, who has not reviewed. - Engagement so far: nobody. Zero comments, zero reviews, zero reactions (entry 1). No maintainer other than the author is recorded as interacting with #589.
- Compare with sibling PRs in the same area: #497 and #323 both went through flare-autobot reviews with detailed blockers ("Changes Requested", then "Ready to merge" for #497) and author responses. #589 has no such review and was merged the day it opened.
#16 [high] Related work: stacked on #504/#455, modifies APIs from #80/#92/#141, adds rebases
- #504 (merged, yatesdr, "selene, selene-manager, helios, ignition, heliopause: add pure-CUDA GPU and CPU lossless KV compression", 2026-11-25, 716df00f): 9 files in common with #589 including
helios/src/cuda.rs,selene/src/offload.rs,helios/src/runtime_core/memory.rs,helios/src/runtime_core/model.rs. #589 edits the code paths #504 added: the memory-only pool branch inprepare_with_inputs_budgetkeeps itsdirectory.is_none() && options.pool.is_none() && options.compression == KvCompression::Offguard before trying a split pool, andprepare_with_inputs_budgetpreserves #504'svalidate_compression()call. So #589 is stacked on #504 and is aware of it (itsprepare_with_inputs_budgetbody still callsoptions.validate_compression()?), but does not say so in the description. - #492, #436, #477, #486 (all closed, yatesdr): earlier compression attempts that changed the same selene/helios files; superseded by #504. No interaction with #589 beyond file overlap.
- #365 (merged, yatesdr, "Require pool attachment at startup and register pool memory off the I/O thread") and #455 (merged, yatesdr, "Capture single-process prefix checkpoints for the pool and drain DRAM on shutdown"): #589 changes
capture-path host budgeting (host_growth,planned_offload_host,chain_bytes) that #455 introduced for pool-only capture. #589'splanned_offload_hostfor capture istier_host.max((pages + row_slots) * page_record_bytes), matchingheadroom_with_inputs_for_budget'schaincomputation for a pool-only capture. - #141 (merged, yatesdr, "Selene host-tier eviction: unified host memory...") and #80/#101/#92 (merged, yatesdr): created
host_pool_budget,SlabPool::sized_by_rank,HostRegistrar::map_splitandeos::map_host— the four APIs #589 modifies. - #576 (open, fordbmorris, "Pin Helios execution and RoCE proxy threads...") and #301 (open, shadownetX, "persist learned graph costs") change
eos/src/unix.rsandhelios/src/cuda.rsrespectively — small overlap only, no semantic conflict found. - #554 (open DRAFT, ateska, engram RDMA READ), #585, #542, #484, #177, #213, #397, #496 from the orientation packet's "possibly related" list: overlaps are file-level or wording-level (#397 also mentions
CUDA_ERROR_INVALID_VALUEbut concerns kernel-node attributes), not semantic. #496 is the companion of #497 (merge order documented in #497's description: "#497 first, then rebase #496"), so #589 landing first adds one more rebase for both. - Nothing found that #589 supersedes, reverts or undoes: no earlier PR implemented a cuMemcpyAsync fallback, lazy ibverbs loading, 22.04 release builds, scaled integrated host reserves or MADV_HUGEPAGE-before-populate. The closest reverse-direction fact is #323 (configurable headroom) and #497 (integrated intake sizing), which #589 partially pre-empts.
#18 [high] Related work: the review bot flagged this exact plumbing on sibling PRs days earlier
Context for readers comparing #589 to its neighbours (all verified in this repo's records):
- The repo runs a
flare-autobotreview bot that posts Autobot Reviews with "Recommendation: Changes Requested" / "Ready To Merge" plus case-file links and an explicit opt-out (#autobot:ignore). #497 and #323 both carry such reviews; #589 carries none (see entry 1) — so the automated review either did not run or did not complete before the merge. - In those reviews, the recurring objection to exactly the shape #589 introduces is worth recording: #497's round-2 "Should fix" said "Two test-only seams in shipped signatures.
prepare_inner'shost_budgetisNoneon every production path (selene/src/offload.rs:519,528)... →#[cfg(test)]wrapper, or fold both flags intoFaults", and #323's open review says "Bothprepare()wrappers drop the setting... Put the value onPrefixCacheOffloadbesidememory_bytes; drop the positional parameter from all four signatures". - #589 at PR head has
helios::offload::prepare_with_inputs(helios/src/offload/mod.rs:82-103) andselene::offload::prepare_with_inputs(selene/src/offload.rs:497-520) both forwardingNoneforhost_budget, and the production path (helios/src/runtime_core/model.rs:967-975) callingprepare_with_inputs_budgetdirectly. So the same "wrapper drops the budget" asymmetry now exists for any other caller of the two wrappers, which is the exact criticism the reviewers raised one and two days earlier on sibling PRs. selene::offload::prepare(offload.rs:484-495) still forwards toprepare_with_inputs(..., 1, 0, None, registrar)withmax_active = 1,input_staging = 0— the position #497/#323 called a "silent under-sizing trap"; #589 does not change it.- This is recorded as connected context, not as a verdict: the project's own review process treated this shape as a "Should fix" twice in the two days before this PR merged.
#20 [high] The change: description vs code — matches, and five undeclared items
Description-vs-code reconciliation at PR head aed8039 (21 files, +994/−133): Confirmed as described:
DriverloadscuMemcpyAsync;Stream::copy_batchfallback calls it per entry (helios/src/cuda.rs:81,225,303,824-833);copy_dtod_asyncstill usescuMemcpyDtoDAsync_v2.helios/build.rscompilesroce_proxy_dlopen.c, linksdl+pthread, dropsibverbs; wrapper dlopenslibibverbs.so.1,dlvsym/dlsym,pthread_once, 17 trampolines + optionalibv_reg_mr_iova2,#includes the unmodifiedroce_proxy.c;RoceTransport::opencallsroce_ensure_libibverbsafter preflight (roce.rs:188-199).release.ymlbuilds+packages insideubuntu:22.04, checks nolibibverbs.soinDT_NEEDED, noGLIBC_> 2.35, smoke-tests both 22.04 and 24.04 with no RDMA packages.host_service_headroom_bytes/host_reserve_bytes/host_pool_budget_frominselene/src/offload.rs:805-885, shared intohelios/src/runtime_core/memory.rs:28,185,202;integrated_offload_host_budgethonors explicit limits;NativeModel::allocate_caches -> Result<Option<u64>>feedsprepare_offload -> prepare_with_inputs_budget;try_map_device_host_parts/try_map_split/try_sized_by_rankfall back on 1/801 only;eos::map_hostHUGEPAGE-then-populate.- All 9 docs files touched in the description match the diff. Undeclared (in the diff, not in the description):
pool_host_chargeaccounting inhelios/src/runtime_core/memory.rs:956,1013-1018,1021-1025: pool registration charges on integrated ranks are now added tohost_futurebefore computinghost_growthfor the capture path — a behaviour change in capture-page sizing on integrated GPUs, not mentioned.- New public
host_pool_budget_with_reserve(future, apply_reserve)(selene/src/offload.rs:856-885), exported but with no non-truecaller. map_device_host_partskeeps its name/signature but now returns the new "HOST_NUMA ... not supported" error instead of the previous raw driver status (same forSlabPool::sized_by_rank-> "split host mapping is not supported on this host").- The stale-file set in entry 6 (NOTICE, THIRD_PARTY_NOTICES.md, docs/container.md, Dockerfile, packaging/debian/*, docs/debian.md, docs/windows.md, he_lios/Cargo.toml
rdmacomment) still describes the old linked-libibverbs / 24.04 / HOST_NUMA-required world. helios/src/cuda.rs:781-790doc comment still says everycopy_batchaddress "is a device address" while the new fallback comment says rawcuMemHostAlloc(..., flags=0)pointers are accepted. Described but not done / not evidenced: nothing claimed is missing from the diff; the gaps are in verification (entry 11) and in the untouched sibling packaging/doc paths (entries 6, 9).
#21 [high] Research summary
Case file assembled for PR #589 (merged, 21 files, +994/−133). All nine angles have scratchpad entries (20 notes, entries 1–20), covering the change, why, related work, recent activity, people, community, project fit, claims/evidence, reach and process.
Highest-value findings a reader could not get from the description:
- No community engagement at all — zero comments, reviews or reactions, no labels; merged the same day it opened (ba3afb13). The repo's flare-autobot reviewer, which posted "Changes Requested"/"Ready To Merge" on sibling PRs #497 and #323 in the days before, did not comment on #589.
- Two open PRs are directly pre-empted and must now be reconciled: #323 (configurable system headroom) rewrites the same
budget()/host_pool_budget()functions, and #497 (integrated intake, same 6 files) had removed ahost_budget: Option<u64>seam that #589 re-adds — and both PRs' reviews flagged the exact "wrapper drops host_budget / test-only seam in shipped signature" shape as a Should-Fix; #589 reproduces it inprepare_with_inputs_budgetwithNoneon both wrappers. - No linked issue or user report exists for any of the three defects; the Jetson/JetPack target is outside the charter's named matrix (SM103/SM120/SM121, DGX Spark) and no doc lists Jetson as supported. #589 builds directly on c9935887 (integrated GA10B support, one day earlier) without saying so.
- Evidence gaps: the CUDA 12 fallback branch is never executed by any test (in-tree GPU test takes the CUDA ≥13 branch); the lazy-loader test passes whether dlopen succeeds or fails; HOST_NUMA fallback is only exercised against a mock registrar; no aarch64 build or arm CI run; release.yml only runs on tags so the new 22.04 flow had not run on main.
- Undeclared changes:
pool_host_chargenow shrinks the capture host budget on integrated GPUs; an exportedhost_pool_budget_with_reservewith no non-default caller; changed error text inmap_device_host_parts/sized_by_rank; acopy_batchdoc comment that still says every address is a device address while the new fallback accepts raw pinned-host pointers. - Scope limit of the portability fix: it reaches the
.tgzarchives only — the.debpath (packaging/debian Dockerfile on ubuntu:24.04,ibverbs-providersdependency) and several notices/docs (NOTICE, THIRD_PARTY_NOTICES.md, docs/container.md, docs/debian.md, docs/windows.md) still describe the old world. - One accounting wrinkle recorded as fact, not verdict: on a host without HOST_NUMA VMM the memory-only pool falls back to a replicated registered mapping, which the sizing charges at 1/512 of the whole pool per device while a split pool charges 1/512 of each rank's share — identical for ranks==1 (the Jetson/WDDM cases claimed), factor-
ranksfor multi-local-GPU.
#23 [high] Citations index: file:line anchors for every claim in the case file
All paths read at PR head aed8039 unless stated.
CUDA copy fallback: helios/src/cuda.rs:81 (CopyAsync type), :225,303 (field + symbol!("cuMemcpyAsync")), :781-790 (doc comment still "Every address is a device address"), :791-834 (copy_batch; :824-833 fallback), :842-852 (host_buffer = cuMemHostAlloc flags 0), :1142-1146 (copy_dtod_async unchanged), :1592-1658 (GPU test that takes the CUDA>=13 branch). Callers: helios/src/offload/transfer.rs:396-399, helios/src/offload/transfer/codec.rs:948, helios/src/execution/transport.rs:471,630,1087-1093, helios/src/offload/transfer/gpu_codec.rs:525,620 (copy_dtod_async only).
Lazy libibverbs: helios/native/roce_proxy_dlopen.c (whole file; :60-63 dlopen, :66 install hint, :70-104 17 symbols, :106-109 optional IBVERBS_1.8, :111-121 roce_ensure_libibverbs), helios/build.rs:67-77, helios/src/execution/roce.rs:36,188-199,511-525, helios/native/roce_proxy.c (17 ibv_* call sites incl. :753,822,871,957,1128,1299 for the static-inline poll_cq/post_send).
Release flow: .github/workflows/release.yml:1-6 (trigger), :37-53 (matrix, libibverbs-dev on arm64, docker now required), :58-80 (22.04 build+package), :81-121 (ELF checks + dual-container smoke test), :12 RUST_TOOLCHAIN 1.94.1.
Selene budgeting: selene/src/offload.rs:117-206 (headroom_with_inputs / _for_budget), :497-520 (prepare_with_inputs -> None), :523-... (prepare_with_inputs_budget; pool branch ~:600-645), :802-885 (HOST_SERVICE_HEADROOM_BYTES/HOST_SYSTEM_SHARE, host_service_headroom_bytes, host_reserve_bytes, host_pool_budget_from, host_pool_budget, host_pool_budget_with_reserve), selene/src/offload/tests.rs:706-723,727-... ,784-... (new tests), selene/src/registrar.rs:28-37 (try_map_split default), selene/src/slab.rs:160-268 (new/sized/try_sized_by_rank/sized_by_rank), selene/src/pool/startup.rs:223-230 (ClosedRegistrar).
Helios budgeting: helios/src/runtime_core/memory.rs:28,180-221 (budget + integrated_offload_host_budget), :601-697 (allocate_caches signature, integrated_state, host_budget_for), :825-857 (initial_budget, offload_host/tier_host), :956,1013-1025 (pool_host_charge, host_growth), :1102-1112 (planned_offload_host), :1128 (return), :1476-1525 (budget tests); helios/src/runtime_core/model.rs:906-918,925-975 (prepare_offload(planned_offload_host) -> prepare_with_inputs_budget); helios/src/offload/mod.rs:72-127; helios/src/offload/registrar.rs:27-37.
Eos: eos/src/unix.rs:85-120 (map_host), :207-248 (THP test); eos/src/windows.rs:166 (unchanged).
Stale siblings: NOTICE:15-29, THIRD_PARTY_NOTICES.md:74-79, docs/container.md:31-34, Dockerfile:9-13,37, packaging/debian/Dockerfile:6-12, packaging/debian/package.sh:46-48, docs/debian.md:4,49, docs/windows.md:154-163,212-217, helios/Cargo.toml:26-29.
Docs updated correctly: 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-877 (already promised "no additional hidden reserve", now true for the host budget).
CI: .github/workflows/native-serving.yml:13-22 (ubuntu-24.04 + windows-2022), :45-77 (test lines; helios line has no roce feature), :101-113 (rdma job, check-only, libibverbs-dev present).
History: c9935887 (2026-11-27 integrated GA10B — direct prerequisite), 716df00f #504, 8fbd2b7a #455, ad72c493 #365, acbf2858 #92, 230c5b40 #80, c6e82d44 #141, f2d959e3 (split memory-only store by rank, Martin Vit), dc0d40e0 (last RoCE/native change), 5a4e8679/94fbce5f (previous release.yml rewrites), merge ba3afb13.
#5 [medium] The change: CUDA 12 copy_batch fallback verified, and its doc contract
Verified in code at PR head (aed8039):
helios/src/cuda.rs:791-834Stream::copy_batch: withcuMemcpyBatchAsync_v2present (CUDA ≥13) it issues one batch; otherwise (CUDA <13) the fallback loops per entry callingcuMemcpyAsync.copy_dtod_async(cuda.rs:1142-1146) still usescuMemcpyDtoDAsync_v2and is used by the GPU KV codec (helios/src/offload/transfer/gpu_codec.rs:525,620), which only ever copies device↔device — so leaving it alone is consistent.- New
Type CopyAsync/Driver.copy_async(cuda.rs:81,225,303) viasymbol!("cuMemcpyAsync"). - Callers of
copy_batchthat mix pinned host and device addresses:helios/src/offload/transfer.rs:396-399(per-rank offload transfer, destinations/sources from descriptors),helios/src/offload/transfer/codec.rs:948, andhelios/src/execution/transport.rs:1087-1093(graph input staging:frame.inputis ahost_buffer=cuMemHostAlloc(..., flags = 0)fromtransport.rs:471,630;cuda.rs:842-852), exactly as the description says. - Existing GPU tests in-tree already exercise host+device batches through
copy_batch:cuda.rs:1592-1658(register_host+device_hostalias, plus 600 H2Dcopy_batchcalls), so the CUDA 13 path is covered by tests; the CUDA 12 fallback path is not (the tests take thememcpy_batchbranch where the driver has the symbol). Description lists live CUDA 12 GPU tests as unrun. - Caveat worth flagging for readers: on the CUDA 12 fallback each entry is now subject to
cuMemcpyAsync's own stream ordering, and the batched-copy memory-access attribute (SOURCE_ORDER_STREAM) means nothing in the fallback, so semantics stay "issue in order on one stream". The doc comment atcuda.rs:781-790still says "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 fallback comment says rawcuMemHostAllocpointers are accepted — the two passages describe different address-class assumptions in the same function.
#7 [medium] The change: helios host-budget plumbing, including undeclared pool_host_charge
Verified helios/src/runtime_core/memory.rs at PR head:
budget()(line ~180-190) now callshost_reserve_bytes(total)(imported fromflare_selene::offload) instead of localintegrated_host_bytes(total) + total/20; localintegrated_host_bytesdeleted. So the 2 GiB integrated-GPU host allowance becomes scaled (64 MiB ≤16 GiB, min(2 GiB, total/32) above).- New
integrated_offload_host_budget(memory, loaded, limit, future)(lines 194-221): None limit →host_pool_budget_from(free, total, future, true);MemoryLimit::Reserve(r)→free.min(total) - r - future; other limits →physical.min(cap - (loaded + future)). Tests at 1490-1525. allocate_cachesnow returnsResult<Option<u64>>— the planned offload host budget (planned_offload_host, lines ~1102-1112): capture →tier_host.max(chain_bytes)where chain = (pages + row_slots) * page_record_bytes; elsetier_host - cfg.memory_bytes.NativeModel::prepare_offloadreceives it (model.rs:906-918) and passes tocrate::offload::prepare_with_inputs_budget(model.rs:967-975), which forwards toflare_selene::offload::prepare_with_inputs_budget.- Also new in this function:
pool_host_chargeaccumulated from per-rank pool charges when the rank is integrated, andhost_growthfor capture now useshost_budget_for(host_future + pool_host_charge)— i.e. pool registration charges are now subtracted from the host budget on integrated GPUs. This is a change the description does NOT mention (it only speaks of "pre-planned offload host budget" and "post-KV-alloc double subtraction"). integrated_statecomputesloaded= fixed host bytes of integrated cores + embedding_host_bytes, max'd with the observed free-memory drop since load.- Note
host_pool_budget_with_reserve(future, apply_reserve)(selene/src/offload.rs:858) is exported but has no callers at the PR head (onlyhost_pool_budgetcalls it withtrue); theapply_reserve = falsebehaviour is only reachable through the new private helperhost_pool_budget_fromused byintegrated_offload_host_budget. Recorded as a detail, not a defect.
#8 [medium] The change: eos THP ordering verified, with a kernel-version caveat
Verified at PR head (eos/src/unix.rs:85-120):
- Before:
mmap(..., MAP_PRIVATE|MAP_ANONYMOUS|MAP_POPULATE)thenmadvise(MADV_HUGEPAGE). - After:
mmapwithoutMAP_POPULATE;madvise(MADV_HUGEPAGE)first; thenmadvise(MADV_POPULATE_WRITE)on Linux (treated as success only if it returns 0), else a page-stridewrite_volatile(0)loop over the whole mapping. - Undeclared behaviour worth noting for readers:
MADV_POPULATE_WRITEis Linux ≥ 5.14. On an older kernel the call returns EINVAL,populatedis false, and the code falls back to the byte-stride loop — correct, but the mapping is then prefaulted from userspace instead of byMAP_POPULATE, so the "prefault" is no longer a single kernel operation on such hosts. The Windows mapping (eos/src/windows.rs:166) is unchanged. map_hostbacksSlabPool::new(selene/src/slab.rs:162-178), i.e. every registered host prefix-cache pool, and the offload test harnesses.- New test
map_host_advises_hugepages_and_prefaults_zeroed_pages(eos/src/unix.rs:207-248) allocates 4 MiB, asserts the pages read as zero, and assertshgappears inVmFlags:for the mapping in/proc/self/smaps— but only if the VMA is found, so on a system where the smaps parse fails the assertion is skipped. Needseostests to have the mapping visible; CI runscargo test --manifest-path eos/Cargo.tomlon ubuntu-24.04 and windows-2022 (.github/workflows/native-serving.yml:47). - Author's claim: "
eos::map_hostappliesMADV_HUGEPAGE(VmFlags: hg) before prefaulting zeroed pages" — observed on their x86_64 host; they claim 2 passed for eos.
#10 [medium] The change: HOST_NUMA fallback semantics, and a rank>1 device-accounting wrinkle
Verified in selene/src/offload.rs / slab.rs / registrar.rs at PR head:
HostRegistrar::try_map_splithas a default implementation that callsmap_splitand wraps the result inSome(selene/src/registrar.rs:28-37), so every other implementor (pool/builder.rs, pool/startup.rs 'ClosedRegistrar', testing::IdentityRegistrar / TrackingRegistrar, selene-manager tests) keeps its old behaviour: anErrpropagates as anErr, never as a silent fallback.- Only
helios::offload::registrar::CudaRegistrar::try_map_split(helios/src/offload/registrar.rs:31-37) forwards to the newcuda::try_map_device_host_parts, which returnsOk(None)whencuDeviceGetAttribute(HOST_NUMA_ID),cuMemGetAllocationGranularity,cuMemCreateorcuMemSetAccessreturns status 1 (CUDA_ERROR_INVALID_VALUE) or 801 (CUDA_ERROR_NOT_SUPPORTED); any other status is propagated throughdriver.check(so OOM still fails startup).map_device_host_partsis kept for the non-try path and now errors with "HOST_NUMA virtual memory allocation is not supported on this device or driver". SlabPool::try_sized_by_rankreturnsOk(None)for the fallback;sized_by_rankis kept and errors with "split host mapping is not supported on this host".- In
prepare_with_inputs_budgetthe memory-only pool now does: try split; onNone,SlabPool::sized(...)+pool.register(registrar, context)(lines ~624-640). - Device-memory accounting detail:
headroom_with_inputs_for_budgetcharges the devicemapped.div_ceil(512)wheremapped = (pinned + intake).div_ceil(ranks)only when there is no disk and no pool (offload.rs:187-199) — i.e. exactly the memory-only case that can now fall back to a replicated registered mapping. A split pool costs each device 1/512 of its own share; a registered pool is mapped into every device at 1/512 of the whole pool (comment at slab.rs:186-199, docs/prefix-cache-offload.md:520-535). So on a HOST_NUMA-unsupported host withranks > 1the fallback maps up torankstimes the device bytes that the sizing charged. Forranks == 1(Jetson Orin GA10B single GPU, single-GPU WDDM) the two are identical. Multi-rank local GPUs without HOST_NUMA VMM is the Windows/multi-GPU case, which docs/windows.md:160-163 lists as not qualified. Recorded as a fact, not a judgment.
#14 [medium] Reach: who and what the three fixes touch
- Reach, users: the release workflow change affects every
flare-linux-amd64.tgzandflare-linux-arm64.tgzconsumer — minimum glibc drops from 2.39 (Ubuntu 24.04) to 2.35 (Ubuntu 22.04 / JetPack 6). Anyone currently running the archive on 24.04 is unaffected; anyone on 22.04/JetPack 6 gains the ability to start at all. - Reach, operators: multi-host RoCE no longer fails at process start when
libibverbs1is missing; instead a single-hostflare runstarts fine and the error (with an install hint) appears only when a RoCE transport is opened. Behaviour change: a misconfigured multi-host host now fails later, at transport open, rather than at dynamic-link time.docs/multi-host.md:47-55documents that. - Reach, deployment: release jobs now require Docker on the runner (both matrices use
docker run ubuntu:22.04), and the arm64 job still needslibibverbs-devfrom ubuntu:24.04's apt inside the 22.04 container — available there, but it pins the header version to 22.04's rdma-core (v39-ish) rather than 24.04's, while the runtime library comes from the user's system. Symbol selection is versioned (IBVERBS_1.1, optionalIBVERBS_1.8viadlvsymwithdlsymfallback), so an older build header vs newer runtime is handled by design. - Reach, defaults and configuration: no new flags. The values of the reserves change on integrated GPUs:
helios/src/runtime_core/memory.rs::budgetnow keeps 64 MiB instead of 2 GiB of host allowance at ≤16 GiB total RAM andmin(2 GiB, total/32)above 16 GiB, so on a 121.6 GiB DGX Spark host the integrated host allowance stays 2 GiB (unchanged) but on an 8 GiB Orin it drops to 64 MiB → larger KV cache. Existing users of GB10/GB300 boxes see no change (2 GiB either way at those sizes); small unified-memory hosts see more cache and less reserved headroom. - Reach, compatibility/artifacts: no file format, core format, wire protocol, checkpoint layout, or on-disk state changes; Selene pool records,
Preparationenum and existing registrations are untouched (the new parameters are additive withNonedefaults). Existingflare-inference_*.debusers get nothing from the portability fix (see entry 9). - Reach, dependencies:
helios/build.rsdrops theibverbslink dependency and addsdl; no Cargo.toml dependency versions change (only comments). Therdmafeature path (seleneibverbs-syscrate) is untouched and still hard-links;selene-manager/Dockerfile.rdmaand.github/workflows/native-serving.yml:101-113still install libibverbs-dev for it. - Reach, Windows:
docs/windows.md:212-217says Windows host-backed CUDA VMM for mapped graph storage "requires host-NUMA VMM support from the Windows driver and GPU", while this PR's stated purpose includes making a memory-only prefix cache work on Windows WDDM where HOST_NUMA is unsupported — i.e. the fallback covers the prefix-cache slab path, not graph storage. The PR does not update docs/windows.md. - Reach, multi-host:
RoceTransport::opennow has a possible new error path;helios/src/runtime_core/model.rs:60roce_specunchanged; the ABI/version check (roce_abi_version, PROXY_ABI) still runs where it did.
#17 [medium] Process: merged same day, green CI, release.yml untested until next tag
- PR state: merged (orientation packet "State: merged, ready for review"), opened 2026-11-28, last updated 2026-11-28, base main, head aed8039, merge commit ba3afb13 on main. It was not a draft.
- CI on head commit aed8039: passed (orientation packet).
Native servingworkflow (.github/workflows/native-serving.yml) is the PR-time suite: ubuntu-24.04 + windows-2022 matrix,cargo testfor eos, selene, selene-manager, helios (--features runtime-core,server, note: noroceon the CI line, sohelios/src/execution/roce.rsand the new loader test only compile in the separaterdmajob'scargo check ... --features roce,rdmaat native-serving.yml:113), flare-cli, flare. Therdmajob at native-serving.yml:101-113 runs on ubuntu-24.04 withlibibverbs-devinstalled and doescargo checkonly (no run), so CI proves the wrapper compiles against 24.04's headers but never executes thedlopenpath with a missing library..github/workflows/release.ymlruns only on version tagsv[0-9]+.[0-9]+.[0-9]+orworkflow_dispatch(release.yml:3-6), so the new 22.04 build, ELF checks and container smoke tests had not run onmainat the time of the PR — they would only run at the next tag (or a dispatch). - Age: zero days between opening and merge; no review round, no revision history visible (single head commit aed8039).
- Reviews: none. Labels: none. Discord: the description says "no username provided" (other PRs in this repo attribute a Discord handle, e.g. #497 "Discord: Dooner").
- Compare process on neighbouring open PRs: #497 had two Autobot review rounds with blockers before "Ready To Merge"; #323 has one Autobot review with "Changes Requested" outstanding. The flare-autobot case-file/review bot engaged on both and not on #589 — it did not comment (pr_comments returns none), so no automated review is on record for this PR either.
#19 [medium] Recent activity: builds on c9935887 (1 day old) and #504/#455/#365
Recency of the areas (from orientation packet + search_history), newest first, limited to what bears on #589:
- 2026-11-28: this PR's merge ba3afb13 (same time as 9031847a Engram and 85de9eae FP32 params by other authors in helios/src).
- 2026-11-27: c9935887 Luke Alonso "Support integrated GA10B GPUs, adaptive executor parking, and explicit memory limits" — touched helios/src/cuda.rs, helios/build.rs, helios/src/execution/transport.rs, helios/src/runtime_core/memory.rs, docs/cli-design.md. This is the direct prerequisite of #589's integrated/GA10B work; #589 continues it 1 day later. The PR description never mentions it.
- 2026-11-27: 5adb27f2 (remove speculative allowlist), c9693765 (intermediate batch capacities), 7745deea (Engram lookahead, docs/cli-design.md) — unrelated to #589's lines.
- 2026-11-26: 6d74db3a "Fix Rust compiler warnings across Helios, Heliopause, and Selene" — touched selene/src; #589 is the next selene/src change after it.
- 2026-11-26: #545 (RecipeParameters) and #543 (remove joint kernel tuning) by Luke Alonso, ignition-focused.
- 2026-11-25: 716df00f #504 lossless KV compression (yatesdr) — the last substantial change to
selene/src/offload.rs,helios/src/cuda.rs(added the GPU codec that usescopy_dtod_async) andhelios/src/runtime_core/memory.rsbefore #589. #589's edits sit directly on top of it. - 2026-11-24: #497 head updated (open), #499 row-shard collectives, #507 persistent worker metrics.
- 2026-11-21: 8fbd2b7a #455 single-process capture + DRAM drain (yatesdr) — introduced the capture path #589 re-budgets.
- 2026-11-19: dc0d40e0 "Harden Helios HTTP ingress, frontend bounds, RoCE/TP lifecycle" — last change to
helios/nativeand RoCE lifecycle before #589; #589 adds an error path in front ofroce_create. - 2026-11-18: ad72c493 #365 pool attachment at startup / registration off the I/O thread — last change to
helios/src/cuda.rs'smap_device_host_partsarea before #504. - 2026-11-14: 5a4e8679 "Stamp binary release versions from tags" — the previous release-workflow change; before that 94fbce5f 2026-11-11 "Publish release archives from version tags". So release.yml is only ~2 weeks old and this PR rewrites its build/smoke-test shape a third time.
- Nothing in the last 60 days conflicts with #589's approach or reverses it; no revert of related work appears in history.
#22 [medium] The change: three independent fixes bundled, with disjoint blast radius
#589 carries three unrelated defect fixes with separate root causes, separate verification burdens and disjoint blast radius, which matters for how the change reads against the charter's "Solve the right problem in the right place... smallest footprint in shared code" and "Bring real evidence" (charter lines 10-14 as quoted in the orientation packet).
- CUDA <13 batched-copy fallback — logic is ~5 lines (
helios/src/cuda.rs:824-833) plus one fn-pointer field; affects offload transfers (helios/src/offload/transfer.rs:396), the GPU codec (helios/src/offload/transfer/codec.rs:948) and graph input staging (helios/src/execution/transport.rs:1087-1093). Verification needs a CUDA 12.x driver; none was run (entry 11). - ARM64 release portability + lazy libibverbs — the largest structural piece: a new 236-line C translation unit (
helios/native/roce_proxy_dlopen.c), a build-script link change (helios/build.rs:67-77), one call site (helios/src/execution/roce.rs:188-199) and a rewritten release job (.github/workflows/release.yml:58-121). Verification requires an aarch64 build and a tag-triggered release run; neither happened (entry 11, entry 17). - Selene host budgeting + HOST_NUMA fallback + Eos THP ordering — the widest surface:
selene/src/{offload,slab,registrar}.rs,helios/src/runtime_core/{memory,model}.rs,helios/src/offload/{mod,registrar}.rs,eos/src/unix.rs, plus 4 docs. Changes the values of integrated-GPU reserves (entry 14) and the return type ofNativeModel::allocate_caches(entry 7). Verification needs a small unified-memory SoC, GA10B or WDDM hardware; none was run (entry 11). Consequences of bundling: (a) any one of the three failing on real hardware would require reverting or hot-fixing the whole merge commit ba3afb13; (b) the two open PRs that overlap (#323, #497) overlap only part 3, so the rebase cost lands entirely on that part; (c) the PR's own "Unrun checks" paragraph admits the gap for all three at once, which is unusual candour but also means no part is hardware-validated.