Repository navigation
Fix externalized core signing, stream-0 weight race, export I/O, and multi-host tuning - #647
Conversation
|
A case file has been opened for 647. Future reviews will auto-run 90 minutes after code updates are pushed.
|
Autobot ReviewFull Review · Value Proposition · Case File Recommendation: Changes RequestedThe core correctness fixes (externalized envelope signing, stream-ordered VMM zeroing,
Walkthrough
Merge Risk: Medium · up to
|
…multi-host tuning Why these changes are needed Preparation, export, and core-signing workflows contain defects across five areas: 1. Signed envelopes above 128 MiB fail in `combine` and `promote`: `export::publish` externalizes signed metadata bodies larger than 128 MiB into `EXTERNAL_BODY_PREFIX` tensors and clears inline `signed.body` and `rank.body` bytes. `helios/src/core/conversion.rs::inject_dependency_descriptors` decoded those empty inline byte slices directly and re-signed with `EnvelopeBuilder::sign` instead of `sign_envelope`, causing `combine` and `promote` to fail deterministically on externalized cores. 2. Legacy stream-0 zeroing races with non-blocking weight copies: `ignition/preparation/core_storage.py::DeviceRegion.grow` zeroed newly mapped 2 MiB virtual memory granules with `cuMemsetD8_v2` on legacy stream 0 without synchronizing against non-blocking PyTorch streams copying persistent weights (`ignition/preparation/persistent.py`), allowing zero-fills to overwrite live weights. 3. Cached export performs redundant D2H copies, hashing, ring setup, FD duplication, and rejects `--reuse-weights --no-mtp`: - `heliopause/src/export/capture.rs` downloaded all of `request.numeric` over PCIe in Pass 1 even when `cache_scan` was active and the cache pass downloads weights separately. - `heliopause/src/export/io.rs` created a fresh `IoUring` per 4 MiB chunk in single-job reads/writes, `transfer.rs` pre-hashed and stream-hashed content-addressed payload objects verified against `PayloadId` on install, `weight_payload.rs::merge_runs` dropped partial overlaps while `Claimed` sorted a vector per piece (O(V^2 log V)), and `core.rs::convert_prepared` scanned payload views linearly. - `binding.rs::NativeExportStage` retained duplicate file-descriptor leases across ranks (risking `EMFILE`) and held its directory mutex across filesystem checks under the Python GIL; `python.rs::NativeRankSupervisor` held an outer mutex without detaching the GIL during `finish_shutdown`/`abort`. - `weight_reuse.rs::map_groups` rejected reused speculative weight cores when `--no-mtp` omitted draft weight views. - `eos/src/ioring.rs::ReadRing::flush` returned on a partial-submit error before adding `submitted` operations to `self.in_flight`, allowing `Drop` to free DMA buffers while kernel reads remained active. 4. Multi-host preparation and AOT lowering fail on distinct roots, sharded autotune, and multi-storage dependencies: - `ignition/preparation/aot.py::ForwardCache._prepare_ranks` exchanged host-local absolute paths across nodes instead of cache-root-relative paths. - `ignition/preparation/tuning.py` skipped pre-tuning cache sharing and post-tuning `reconcile_selections` when multi-host tuning was sharded, leaving ranks with divergent kernel selections across retries (issue #631). - `ignition/preparation/compilation.py::_storage_regions` aligned spans before grouping and could extend past `storage.nbytes()`, while `_reads_across_mutations` cleared all pending storage dependencies on the first mutated storage instead of only the mutated subset. 5. ABI, device-selection, and 32-bit bound bugs in native preparation helpers: - `ignition/preparation/peer_storage.py::_Access` declared `flags` as `c_uint64` (16 bytes) instead of `c_uint32` (12 bytes matching `CUmemAccessDesc`). - `ignition/preparation/kv_codec.py` queried GPU SM architecture from device 0 instead of the rank's storage device, and `kv_codec_gpu.cu` used a 30-entry `gf2_pow` table (broken at >= 1 GiB half-lengths), 32-bit packet-plan offsets (wrapping at >= 4 GiB), and fixed `__shared__[64]` batch limits. - `heliopause/src/export/binding.rs` did not resolve optional `PersistentWorker.metrics` buffers, and `heliopause/src/allocator.rs` placed host windows at a fixed 12 TiB `HOST_BASE` without checking `virtual_address_bits(device)` for narrow WDDM GPU VA spaces. What changed - Externalized signed-envelope rewriting (`helios/src/core/{protection.rs,conversion.rs,conversion/edit.rs}`): - Before: `conversion/edit.rs` re-signed envelopes inline while `conversion.rs::inject_dependency_descriptors` decoded `signed.body` / `rank.body` directly and called `builder.sign(key)`. - After: Extracted `protection::sign_rewritten_envelope` and `sign_rewritten_envelope_with_limit` to refresh deployment `body_digest`s, read rank bodies through `read_rank_body(rank, body_store)`, and sign with `EnvelopeBuilder::sign_envelope(key)`. Both `conversion/edit.rs` and `conversion.rs::inject_dependency_descriptors` use this helper; `conversion.rs` reads bodies through `metadata.body_store()`, strips stale `EXTERNAL_BODY_PREFIX` tensors on container rewrite, writes `signed.external_bodies`, and drops `metadata` before `fs::rename`. - Stream-ordered granule zeroing, ctypes ABI, and GPU KV codec (`ignition/preparation/{core_storage.py,peer_storage.py,kv_codec.py,runtime_core.py,kv_codec_gpu.cu}`): - Before: `DeviceRegion.grow` called synchronous stream-0 `cuMemsetD8_v2`; `peer_storage._Access.flags` was `c_uint64`; `compile_gpu_codec_cubin` queried device 0; `kv_codec_gpu.cu` used `gf2_pow[30][32]`, `uint32_t` plan totals, and `__shared__[64]`. - After: `DeviceRegion.grow` calls `cuMemsetD8Async` on `torch.cuda.current_stream(device).cuda_stream` and adopts `host_extent` from `flare_core_snapshot`; `_Access.flags` is `c_uint32`; `runtime_core.py` passes `device=storage.device` to `compile_gpu_codec_cubin`; `kv_codec_gpu.cu` expands `gf2_pow` to `[64][32]`, widens plan accumulators to `uint64_t` and the `*low_base_ptr + lane_byte_offs[lane_id]` offset expression to `size_t`, and uses caller-supplied batch arrays instead of `__shared__[64]`. - Heliopause export pipeline, allocator, supervisor, and `eos::ReadRing` (`heliopause/src/{allocator.rs,processes.rs,python.rs}`, `heliopause/src/export/{capture.rs,io.rs,transfer.rs,weight_payload.rs,core.rs,binding.rs,weight_reuse.rs}`, `eos/src/ioring.rs`): - Before: Pass 1 copied `request.numeric` over PCIe even when `cache_scan` was active; `io.rs` created a new `IoUring` per single-job read/write; `transfer.rs` hashed cached payload files twice; `weight_payload.rs` missed partial overlaps in `merge_runs` and sorted `Claimed` on every insert; `convert_prepared` scanned views linearly; `NativeExportStage` stored duplicate leases and held locks under the GIL; `NativeRankSupervisor` serialized `abort` behind `finish_shutdown` without detaching the GIL; `map_groups` rejected prior initializers covering omitted views; `PersistentWorker` ignored `metrics`; `allocator.rs` used a fixed 12 TiB `HOST_BASE`; `ReadRing::flush` returned errors before accounting `submitted` into `in_flight`. - After: `capture.rs` skips `request.numeric` D2H in Pass 1 via `pass_one_skip_numeric` when `cache_scan` is true while still pointer-scanning non-numeric bytes and preserving `data_spans`; `io.rs` reuses one `DirectRing` per scan/write worker and uses `transfer_single_direct` (`pread`/`pwrite`) for single-job Linux I/O; `transfer.rs` skips redundant payload-object SHA-256 pre-hashing/stream-hashing (relying on `PayloadId` verification at install and per-frame HMAC-SHA256) and batches reads up to `super::io::BLOCK` (8 MiB, split into 4 MiB `BLOCK_BYTES` wire frames); `weight_payload.rs` reuses `reachability::merge_ranges` and switches `Claimed` to a `BTreeMap<u64, u64>`, and `convert_prepared` uses a `HashMap`; `NativeExportStage` deduplicates leases by `PayloadId` and releases its lock/GIL around filesystem checks; `RankSupervisor` isolates its join handle behind its own `Mutex` and `NativeRankSupervisor` detaches the GIL; `weight_reuse.rs::map_groups` subtracts only exclusively omitted byte ranges (`(prior.views \ current.views) \ retained_by_allocation`) from prior initializers so tied/aliased retained views are preserved intact; `binding.rs` resolves and validates `stop_flag` and `metrics` through a shared `resolve_host_ref` helper; `allocator.rs` computes `window_host_layout` against `virtual_address_bits(device)` and exports `host_extent`; `eos::ReadRing::flush` updates `queued` and `in_flight` before `check(status)?` and returns `InvalidData` if `submitted > queued`. - Multi-host `ForwardCache`, sharded autotune reconciliation, and AOT lowering (`ignition/preparation/{aot.py,tuning.py,compilation.py}`): - Before: `ForwardCache._prepare_ranks` sent absolute paths across hosts; sharded multi-host tuning skipped `share_selections` and `reconcile_selections`; `_storage_regions` aligned before grouping without clamping to `storage.nbytes()`; `_reads_across_mutations` cleared all pending storages on the first mutated input. - After: `ForwardCache._prepare_ranks` exchanges cache-root-relative POSIX paths and `_share_artifacts(..., root=self.root)` resolves and bounds them to each host's cache root; `tuning.py` shares rank 0's cached selections before sharded tuning and runs `reconcile_selections` with `configure_tuning_shard(0, (0,))` afterward (restoring `shard_rank` in `finally`); `_storage_regions` groups raw overlaps before per-group clamped alignment and `_lower_storage` slices clamped multi-dtype `uint8` bases before `aten.view.dtype`; `_reads_across_mutations` removes only `pending & mutations[node]`. Claimed benefit and result - Verified fixes (exercised by unit and contract tests): externalized signed envelopes succeed through `inject_dependency_descriptors` and `promote`; `DeviceRegion.grow` passes the active CUDA stream to `cuMemsetD8Async`; `peer_storage._Access` matches the 12-byte `CUmemAccessDesc` ABI; `capture.rs` `cache_scan` skips numeric D2H in Pass 1 while preserving `data_spans`; `PersistentWorker.metrics`, omitted-draft and aliased-tied-view `--reuse-weights --no-mtp`, `Claimed`, `window_host_layout` VA-width checks, relative-path `ForwardCache` sharing, multi-host sharded autotune cache sharing and reconciliation (issue #631), per-group clamped `_storage_regions`, and multi-storage `_reads_across_mutations` behave as specified; `kv_codec_gpu.cu` compiles cleanly with `nvcc` and zero global/constant ELF symbols. - Expected performance and lifetime improvements (not benchmarked end-to-end on GPUs here): cached exports avoid the duplicate Pass-1 full-weight PCIe D2H copy, per-chunk `IoUring` creation, redundant payload SHA-256 passes, quadratic view/range scans, and cross-rank payload FD duplication; `eos::ReadRing` avoids freeing kernel-owned DMA buffers after partial submit errors. Supporting evidence and limitations All commands below ran on this rebased PR commit (parent `origin/main` `555db719`): - `eos` (`cargo test --locked --release`): 2 passed, 0 failed. - `heliopause` (`cargo test --locked --release --lib` with `PYO3_PYTHON` and Python `LIBDIR`): 221 passed, 0 failed, 6 ignored (CUDA), including `cache_scan_skips_numeric_ranges_in_pass_one_without_dropping_data_spans`, `map_groups_skips_omitted_draft_weights_and_clips_coalesced_initializers`, `map_groups_preserves_retained_initializer_when_omitted_view_aliases_it`, `claimed_tracks_disjoint_and_overlapping_pieces_in_order`, `persistent_worker_resolves_metrics_buffer_and_validates_alignment`, and `explicit_device_windows_are_validated`. - `helios` (`cargo test --locked --release --features runtime-core,server --lib -- core::`): 502 passed, 0 failed, 12 ignored (including `inject_dependency_descriptors_and_promote_handle_externalized_bodies`). - `flare-cli` (`cargo test --locked --release -- --test-threads=1`): 227 passed (201 unit, 26 integration), 0 failed, 3 ignored. - Python CPU tests with `CUDA_VISIBLE_DEVICES=""` against the paired public-`b12x` FlashInfer checkout: `test_persistent.py`, `test_tuning_shards.py`, and `test_peer_storage_groups.py` passed 33/33 with zero NVIDIA driver calls; `tests/preparation/{test_persistent,test_tuning_shards,test_forward_artifact_sharing,test_peer_storage_groups,test_core_storage,test_storage_lifetimes,test_core_boundary,test_persistent_worker}.py` passed 294 passed, 1 skipped (Windows-only), 0 failed; `tests/cli` passed 133/133 against `.venv`. - CUDA compilation (`FLARE_RUN_CUDA_TESTS=1 pytest tests/test_kv_codec.py`): 4 passed, 0 failed (`nvcc` compilation + cubin ELF symbol check). Material limitations and unrun checks: - Live VRAM-allocating GPU tests (`tests/preparation/test_virtual_storage_cuda.py`, live `kv_codec_gpu.cu` kernel execution, end-to-end GPU export/serving, and multi-host live export) could not run because all 16 host GPUs were occupied (~95-96 GiB / 97.9 GiB in use by an external workload). - Windows runtime execution for WDDM `HOST_BASE` placement and `eos::ReadRing` Windows `IoRing` paths was not exercised on Linux. Design-Signed-Off-By: Antigravity (Gemini); design-review=2e5b
e029dc8 to
5b700f5
Compare
Why these changes are needed
Preparation, export, and core-signing workflows contain defects across five areas:
combineandpromote:export::publishexternalizes signed metadata bodies larger than 128 MiB intoEXTERNAL_BODY_PREFIXtensors and clears inlinesigned.bodyandrank.bodybytes.helios/src/core/conversion.rs::inject_dependency_descriptorsdecoded those empty inline byte slices directly and re-signed withEnvelopeBuilder::signinstead ofsign_envelope, causingcombineandpromoteto fail deterministically on externalized cores.ignition/preparation/core_storage.py::DeviceRegion.growzeroed newly mapped 2 MiB virtual memory granules withcuMemsetD8_v2on legacy stream 0 without synchronizing against non-blocking PyTorch streams copying persistent weights (ignition/preparation/persistent.py), allowing zero-fills to overwrite live weights.--reuse-weights --no-mtp:heliopause/src/export/capture.rsdownloaded all ofrequest.numericover PCIe in Pass 1 even whencache_scanwas active and the cache pass downloads weights separately.heliopause/src/export/io.rscreated a freshIoUringper 4 MiB chunk in single-job reads/writes,transfer.rspre-hashed and stream-hashed content-addressed payload objects verified againstPayloadIdon install,weight_payload.rs::merge_runsdropped partial overlaps whileClaimedsorted a vector per piece (O(V² log V)), andcore.rs::convert_preparedscanned payload views linearly.binding.rs::NativeExportStageretained duplicate file-descriptor leases across ranks (riskingEMFILE) and held its directory mutex across filesystem checks under the Python GIL;python.rs::NativeRankSupervisorheld an outer mutex without detaching the GIL duringfinish_shutdown/abort.weight_reuse.rs::map_groupsrejected reused speculative weight cores when--no-mtpomitted draft weight views.eos/src/ioring.rs::ReadRing::flushreturned on a partial-submit error before addingsubmittedoperations toself.in_flight, allowingDropto free DMA buffers while kernel reads remained active.ignition/preparation/aot.py::ForwardCache._prepare_ranksexchanged host-local absolute paths across nodes instead of cache-root-relative paths.ignition/preparation/tuning.pyskipped pre-tuning cache sharing and post-tuningreconcile_selectionswhen multi-host tuning was sharded, leaving ranks with divergent kernel selections across retries (Multi-host autotune: rank selection divergence recurs on every retry (2042/2078/2078 across 3 consecutive attempts, warm caches included); only --autotune-effort off succeeds #631).ignition/preparation/compilation.py::_storage_regionsaligned spans before grouping and could extend paststorage.nbytes(), while_reads_across_mutationscleared all pending storage dependencies on the first mutated storage instead of only the mutated subset.ignition/preparation/peer_storage.py::_Accessdeclaredflagsasc_uint64(16 bytes) instead ofc_uint32(12 bytes matchingCUmemAccessDesc).ignition/preparation/kv_codec.pyqueried GPU SM architecture from device 0 instead of the rank's storage device, andkv_codec_gpu.cuused a 30-entrygf2_powtable (broken at >= 1 GiB half-lengths), 32-bit packet-plan offsets (wrapping at >= 4 GiB), and fixed__shared__[64]batch limits.heliopause/src/export/binding.rsdid not resolve optionalPersistentWorker.metricsbuffers, andheliopause/src/allocator.rsplaced host windows at a fixed 12 TiBHOST_BASEwithout checkingvirtual_address_bits(device)for narrow WDDM GPU VA spaces.What changed
helios/src/core/{protection.rs,conversion.rs,conversion/edit.rs}):conversion/edit.rsre-signed envelopes inline whileconversion.rs::inject_dependency_descriptorsdecodedsigned.body/rank.bodydirectly and calledbuilder.sign(key).protection::sign_rewritten_envelopeandsign_rewritten_envelope_with_limitto refresh deploymentbody_digests, read rank bodies throughread_rank_body(rank, body_store), and sign viaEnvelopeBuilder::sign_envelope(key). Bothconversion/edit.rsandconversion.rs::inject_dependency_descriptorsuse this helper;conversion.rsreads bodies throughmetadata.body_store(), strips staleEXTERNAL_BODY_PREFIXtensors when rewriting the container, writessigned.external_bodies, and dropsmetadatabeforefs::rename.ignition/preparation/{core_storage.py,peer_storage.py,kv_codec.py,runtime_core.py,kv_codec_gpu.cu}):DeviceRegion.growcalled synchronous stream-0cuMemsetD8_v2;peer_storage._Access.flagswasc_uint64;compile_gpu_codec_cubinqueried device 0;kv_codec_gpu.cuusedgf2_pow[30][32],uint32_tplan totals, and__shared__[64].DeviceRegion.growcallscuMemsetD8Asyncontorch.cuda.current_stream(device).cuda_streamand adoptshost_extentfromflare_core_snapshot;_Access.flagsisc_uint32;runtime_core.pypassesdevice=storage.devicetocompile_gpu_codec_cubin;kv_codec_gpu.cuexpandsgf2_powto[64][32], widens packet-plan accumulators touint64_tand the*low_base_ptr + lane_byte_offs[lane_id]offset expression tosize_t, and uses caller-supplied batch arrays instead of__shared__[64].eos::ReadRing(heliopause/src/{allocator.rs,processes.rs,python.rs},heliopause/src/export/{capture.rs,io.rs,transfer.rs,weight_payload.rs,core.rs,binding.rs,weight_reuse.rs},eos/src/ioring.rs):request.numericover PCIe even whencache_scanwas active;io.rscreated a newIoUringper single-job read/write;transfer.rshashed cached payload files twice;weight_payload.rsmissed partial overlaps inmerge_runsand sortedClaimedon every insert;convert_preparedscanned views linearly;NativeExportStagestored duplicate leases and held locks under the GIL;NativeRankSupervisorserializedabortbehindfinish_shutdownwithout detaching the GIL;map_groupsrejected prior initializers covering omitted views;PersistentWorkerignoredmetrics;allocator.rsused a fixed 12 TiBHOST_BASE;ReadRing::flushreturned errors before accountingsubmittedintoin_flight.capture.rsskipsrequest.numericD2H in Pass 1 viapass_one_skip_numericwhencache_scanis true while still pointer-scanning non-numeric bytes and preservingdata_spans;io.rsreuses oneDirectRingper scan/write worker and usestransfer_single_direct(pread/pwrite) for single-job Linux I/O;transfer.rsskips redundant payload-object SHA-256 pre-hashing/stream-hashing (relying onPayloadIdverification at install and per-frame HMAC-SHA256) and batches reads up tosuper::io::BLOCK(8 MiB, split into 4 MiBBLOCK_BYTESwire frames);weight_payload.rsreusesreachability::merge_rangesand switchesClaimedto aBTreeMap<u64, u64>, andconvert_prepareduses aHashMap;NativeExportStagededuplicates leases byPayloadIdand releases its lock/GIL around filesystem checks;RankSupervisorisolates its join handle behind its ownMutexandNativeRankSupervisordetaches the GIL;weight_reuse.rs::map_groupssubtracts only exclusively omitted byte ranges ((prior.views \ current.views) \ retained_by_allocation) from prior initializers so tied/aliased retained views are preserved intact;binding.rsresolves and validatesstop_flagandmetricsthrough a sharedresolve_host_refhelper;allocator.rscomputeswindow_host_layoutagainstvirtual_address_bits(device)and exportshost_extent;eos::ReadRing::flushupdatesqueuedandin_flightbeforecheck(status)?and returnsInvalidDataifsubmitted > queued.ForwardCache, sharded autotune reconciliation, and AOT lowering (ignition/preparation/{aot.py,tuning.py,compilation.py}):ForwardCache._prepare_rankssent absolute paths across hosts; sharded multi-host tuning skippedshare_selectionsandreconcile_selections;_storage_regionsaligned before grouping without clamping tostorage.nbytes();_reads_across_mutationscleared all pending storages on the first mutated input.ForwardCache._prepare_ranksexchanges cache-root-relative POSIX paths and_share_artifacts(..., root=self.root)resolves and bounds them to each host's cache root;tuning.pyshares rank 0's cached selections before sharded tuning and runsreconcile_selectionswithconfigure_tuning_shard(0, (0,))afterward (restoringshard_rankinfinally);_storage_regionsgroups raw overlaps before per-group clamped alignment and_lower_storageslices clamped multi-dtypeuint8bases beforeaten.view.dtype;_reads_across_mutationsremoves onlypending & mutations[node].Claimed benefit and result
inject_dependency_descriptorsandpromote;DeviceRegion.growpasses the active CUDA stream tocuMemsetD8Async;peer_storage._Accessmatches the 12-byteCUmemAccessDescABI;capture.rscache_scanskips numeric D2H in Pass 1 while preservingdata_spans;PersistentWorker.metrics, omitted-draft and aliased-tied-view--reuse-weights --no-mtp,Claimed,window_host_layoutVA-width checks, relative-pathForwardCachesharing, multi-host sharded autotune cache sharing and reconciliation (Multi-host autotune: rank selection divergence recurs on every retry (2042/2078/2078 across 3 consecutive attempts, warm caches included); only --autotune-effort off succeeds #631), per-group clamped_storage_regions, and multi-storage_reads_across_mutationsbehave as specified;kv_codec_gpu.cucompiles cleanly withnvccand zero global/constant ELF symbols.IoUringcreation, redundant payload SHA-256 passes, quadratic view/range scans, and cross-rank payload FD duplication;eos::ReadRingprevents freeing kernel-owned DMA buffers after partial submit errors.Supporting evidence and limitations
All checks below ran on PR head
5b700f57(rebased ontoorigin/main555db719):eos(cargo test --locked --release --manifest-path eos/Cargo.toml): 2 passed, 0 failed.heliopause(cargo test --locked --release --manifest-path heliopause/Cargo.toml --lib): 221 passed, 0 failed, 6 ignored (CUDA), includingcache_scan_skips_numeric_ranges_in_pass_one_without_dropping_data_spans,map_groups_skips_omitted_draft_weights_and_clips_coalesced_initializers,map_groups_preserves_retained_initializer_when_omitted_view_aliases_it,claimed_tracks_disjoint_and_overlapping_pieces_in_order,persistent_worker_resolves_metrics_buffer_and_validates_alignment, andexplicit_device_windows_are_validated.helios(cargo test --locked --release --manifest-path helios/Cargo.toml --features runtime-core,server --lib -- core::): 502 passed, 0 failed, 12 ignored (includinginject_dependency_descriptors_and_promote_handle_externalized_bodies).flare-cli(cargo test --locked --release --manifest-path flare-cli/Cargo.toml -- --test-threads=1): 227 passed (201 unit, 26 integration), 0 failed, 3 ignored.CUDA_VISIBLE_DEVICES=""against the paired public-b12xFlashInfer checkout:tests/preparation/{test_persistent,test_tuning_shards,test_peer_storage_groups}.pypassed 33/33 with zero NVIDIA driver calls (verifying stream handle forwarding incuMemsetD8Async).test_persistent.py,test_tuning_shards.py,test_forward_artifact_sharing.py,test_peer_storage_groups.py,test_core_storage.py,test_storage_lifetimes.py,test_core_boundary.py,test_persistent_worker.py): 294 passed, 1 skipped (Windows-only layout test), 0 failed.tests/cli: 133 passed, 0 failed against.venv.FLARE_RUN_CUDA_TESTS=1 pytest tests/test_kv_codec.py): 4 passed, 0 failed (nvcccompilation + cubin ELF symbol check).e029dc84(unchanged crates):selene(549 passed),selene-manager(426 passed, 1 ignored),flare(237 unit + 8 integration passed, 4 ignored),helios --skip frontend::(1,658 passed, 46 ignored, 1 failing test requiring gatedFLARE_TEST_TEMPLATE_DIR), andFLARE_RUN_CUDA_TESTS=1test_storage_lifetimes_cuda.py+test_packed_weights_cuda.py.Material limitations and unrun checks:
tests/preparation/test_virtual_storage_cuda.py, livekv_codec_gpu.cukernel execution, end-to-end GPU export/serving, and multi-host live export) could not run because all 16 host GPUs were occupied (~95–96 GiB / 97.9 GiB in use by an external workload).HOST_BASEplacement andeos::ReadRingWindowsIoRingpaths was not exercised on Linux.Discord: lukealonso