0.3.19
Patch Changes
-
e377f22Thanks @thrgreenwald! - Fix runtimebar shared_slotVRAM exhaustion and unbounded graph cache growth on BlockAttnRes (Inkling 2) and RNN/DSpark drafter models (#370):- Deduplicate and eagerly materialize BlockAttnRes fused projection weights at bind time with exact certify/prepare/bind parity, eliminating ~46–87 MiB of unbudgeted lazy allocations out of
constants_claim. - Pre-allocate a single shared
NativeExecutionArenaand 2-slot reusabledecode_bufsatBoundBlockAttnRes::bind, binding prefillshared_slotanddecode_ringslots vianew_slot_in(zero standalone runtimeshared_slotallocations) and removing the unbacked576 MiBelastic headroom inflation. - Replace unbounded
bound_bar.familiesaccumulation withBarFamilyCacheeviction across KV layout growths (evicting stalelayer_shapes, inactive tail prefill families, and LRU-capping decode families) so device memory and recorded CUDA graphs stay strictly O(1). - Attach arena
runtime_scratchreserves directly to their owning claim inRecorded::claim_arenaso graphscratchcannot stealconstants_claim's reserved floor. - Apply the same pre-allocated workspace arena, exact budgeting, and KV-aware bounded cache eviction to
native_draft_rnn.rs, and preserve typedSubmitError::Capacity/RequestError::InsufficientMemoryso capacity refusals never misclassify asDeviceLostor unload the model.
- Deduplicate and eagerly materialize BlockAttnRes fused projection weights at bind time with exact certify/prepare/bind parity, eliminating ~46–87 MiB of unbudgeted lazy allocations out of
-
4990f19Thanks @thrgreenwald! - Fix Vulkan Memory Model cross-Shader-Array coherency and streamed MoE display freezes/qualification mismatches on AMD RDNA2/RDNA3 (#355):- Emit
#pragma use_vulkan_memory_modelin generated Vulkan shader headers (OpMemoryModel PhysicalStorageBuffer64 Vulkan) and bumpSEAL_VERSIONfrom 14 to 15 so cached pipelines recompile under the Vulkan Memory Model, ensuringcoherentbuffers emit explicitMakePointerAvailable/MakePointerVisibleoperands across separate Shader Array GL1 caches. - Upgrade
routed_output.comparrival barriers,vulkan/lib/streaming/control.glsl(streaming_atomic_loadacquire semantics plusMakeAvailable/MakeVisibledevice fences/barriers), andvulkan/lib/attention/prefill.glslto full VMM semantics. - Eliminate the unnecessary 64-workgroup cross-Shader-Array
LAND_LEAD/LAND_HEARDspin-lock instreaming/land.hppon Vulkan (SEISMIC_PARKS_IN_KERNELS == 0), reading the final head count and landing entries directly without spinning. - Add detailed byte-diff diagnostics (tensor kind, mismatching byte count, first offset, actual/expected/marker bytes) to
require_bytesin bank qualification and add SPIR-V VMM formation tests across default,AMD_PROPRIETARY, andMESA_RADVdriver targets.
- Emit
-
0b30605Thanks @thrgreenwald! - Fix Vulkan hardware probe interception (seismic-probe) and chat completions stuck atprices_pendingon fresh caches and multi-volume model folders (#371):- Serve
seismic-probeinvocations before CLI parsing viaseismic::is_probe_invocation()andmagnitude_executor::main_with_setup, restoring all Vulkan capability probes (includingcooperative_matrix_f16andwide_accumulators) on fresh installs and cleared caches, backed by amagnitude-inference seismic-probesubprocess integration test. - Prioritize blocking
Loadsstorage/cost probes ahead of optionalCosts(Whole)background refinement inOutstanding::ordered()so models on external folders/drives are measured immediately instead of waiting behind whole-walk refinement. - Advance
SustainedClock::establish()past early doubling stages already covered by a single pass so slow fallback kernels settle in a few passes instead of exhausting the measurement job budget. - Track per-job progress via
SettleProgressandDeviceLockrelease events sorun_priced/settle_priceswaits across progressing measurement jobs and only returnsprices_pendingwhen measurement actually stalls.
- Serve