You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
0.3.19
Patch Changes
e377f22 Thanks @thrgreenwald! - Fix runtime bar shared_slot VRAM 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 NativeExecutionArena and 2-slot reusable decode_bufs at BoundBlockAttnRes::bind, binding prefill shared_slot and decode_ring slots via new_slot_in (zero standalone runtime shared_slot allocations) and removing the unbacked 576 MiB elastic headroom inflation.
Replace unbounded bound_bar.families accumulation with BarFamilyCache eviction across KV layout growths (evicting stale layer_shapes, inactive tail prefill families, and LRU-capping decode families) so device memory and recorded CUDA graphs stay strictly O(1).
Attach arena runtime_scratch reserves directly to their owning claim in Recorded::claim_arena so graph scratch cannot steal constants_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 typed SubmitError::Capacity / RequestError::InsufficientMemory so capacity refusals never misclassify as DeviceLost or unload the model.
4990f19 Thanks @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_model in generated Vulkan shader headers (OpMemoryModel PhysicalStorageBuffer64 Vulkan) and bump SEAL_VERSION from 14 to 15 so cached pipelines recompile under the Vulkan Memory Model, ensuring coherent buffers emit explicit MakePointerAvailable/MakePointerVisible operands across separate Shader Array GL1 caches.
Upgrade routed_output.comp arrival barriers, vulkan/lib/streaming/control.glsl (streaming_atomic_load acquire semantics plus MakeAvailable/MakeVisible device fences/barriers), and vulkan/lib/attention/prefill.glsl to full VMM semantics.
Eliminate the unnecessary 64-workgroup cross-Shader-Array LAND_LEAD/LAND_HEARD spin-lock in streaming/land.hpp on 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_bytes in bank qualification and add SPIR-V VMM formation tests across default, AMD_PROPRIETARY, and MESA_RADV driver targets.
0b30605 Thanks @thrgreenwald! - Fix Vulkan hardware probe interception (seismic-probe) and chat completions stuck at prices_pending on fresh caches and multi-volume model folders (#371):
Serve seismic-probe invocations before CLI parsing via seismic::is_probe_invocation() and magnitude_executor::main_with_setup, restoring all Vulkan capability probes (including cooperative_matrix_f16 and wide_accumulators) on fresh installs and cleared caches, backed by a magnitude-inference seismic-probe subprocess integration test.
Prioritize blocking Loads storage/cost probes ahead of optional Costs(Whole) background refinement in Outstanding::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 SettleProgress and DeviceLock release events so run_priced / settle_prices waits across progressing measurement jobs and only returns prices_pending when measurement actually stalls.