0.3.18
Patch Changes
-
ea659e3Thanks @thrgreenwald! - Fix post-long-prefill decode collapse and prompt-group VRAM/host-RAM stranding on streamed MoE models (#194):- Guard
ExecutorDomain::yield_statewithStoreBindings::has_shrinkableandseismic::Pool::can_return_freedso unvacatableCacheKind::Spareslabs in partially-occupied state pool blocks no longer callQueue::concludeon every flight boundary (eliminating per-token pipelined decode successor orphaning andcuGraphExecKernelNodeSetParamsthrash that collapsed post-16k decode by 3–4×). - Pause
Behind::Continuationdecode pipelining for a single quiet flight gap when an opengroup_classneeds to close intoIdleClassor a yieldingIdleClass(CacheKind::GraphSlots) release is waiting for a quiet gap, so prompt-group buffers detach immediately at decode start and return VRAM/host RAM to the expert bank. - Generalize
grow_expert_bankandvalue_cacheCacheKind::GraphSlotsmarginal valuation/eviction toBankHolding::Hoston tiered discrete GPUs so host-tier expert slots can also reclaim yieldingIdleClasshost buffers.
- Guard
-
f5d75aaThanks @thrgreenwald! - Gate standingConvertForm::referencemeasurement andStreamedFigures.converton unified-memory executors so discrete GPUs (which place through their host tier and never executerouted_land's device convert at runtime) neither runrouted_landduring standing assessment nor fail streamed MoE load preview on an unobtainable convert record (#355). -
42d8db2Thanks @thrgreenwald! - Fix cold-start drafter reloads and UMA partial-lease deadlocks:- Settle automatic drafter admission against measured standing records before locking the load target, and keep in-flight and ready instances stable across background
Autodrafter transitions without triggering unnecessary replacement reloads. - Bound partial host-record leases to
seeded_fromand scope extension membership tolent_claimedso released or seeding bulk-extension records cannot deadlock subsequent passes on unified-memory devices.
- Settle automatic drafter admission against measured standing records before locking the load target, and keep in-flight and ready instances stable across background
-
#366
92f86b1Thanks @RishabhChangwani! - Give the DSpark draft block graph'sdense_outputan empty inject with one row per block row, so RNN DSpark drafters no longer fail the first draft with "parameterproductaxis 0 does not satisfy the call schema". -
#366
07dac3cThanks @RishabhChangwani! - Prepare each DSpark draft kernel once per draft instead of again for every new inject/block graph, removing multi-second draft stalls on the first draft steps and as the context grows. -
7db23d3Thanks @thrgreenwald! - Fix a Metal shader compilation failure inper_layer_gate_stage(no member named 'form' in 'projection::operands<0>') that prevented Gemma 4 E2B/E4B models with non-NVFP4/MXFP8 weights (such asq4g32s@rows32) from loading on Apple Silicon Macs (#367). -
5b597c1Thanks @thrgreenwald! - Fix pre-release QA issues across Vulkan, Linux worker allocation, Metal tuning, catalog downloads, and sharded local model paths:- Run
DeadBranchElimandMergeReturnbeforeInlineExhaustiveon Mesa RADV whenever a called helper has an early or loop return, eliminating 20+ minute SPIRV-ToolsPrettyPrintshader compile hangs on models such as Inkling-2-Mini, Gemma 4 26B-A4B, and Qwen4-35B-A3B. - Apply the
M_ARENA_MAX=2glibc heap policy only toserve, notinference-worker, removing multi-core futex contention during parallel Linux shader compilation. - Update the pinned revision for
nvidia/NVIDIA-Nemotron-3.5-Bolt-E4B-4GBinmodels.lock.jsonafter the upstream repo rewrite so downloads no longer fail with HTTP 403. - Fix unsigned underflow (
max(0, G - 8)) in Metalattention_decode_k8v4WIDE_BANDEDlaunch conditions forG < 8models (such as Gemma 4 E4B and Qwen3.5-4B) and rejectmax(0, a - b)at check time inseismic-lang. - Resolve
InstalledModelPackage.pathto the snapshot root consistently and join relative components natively so/api/v1/local-modelsprimaryPathno longer duplicates subdirectories on sharded Hugging Face packages.
- Run
-
650c041Thanks @thrgreenwald! - Improve tight-VRAM and older-GPU support across CUDA and Vulkan:- Phase-accurate
VisionXORHeadauxiliary residency and runtimevision_idlerelease so multimodal models withmmprojandDFlash 2fit together in 6 GB VRAM. - Speed-aware drafter admission with
ModelAssessor::adoptre-evaluation, plus CLI/ACN/OpenAPI single-source-of-truth wiring forDrafterWithheldReasonand Explore storage sizing. settle_bankPCIe/chunk_div pricing and capacity-neutral conveyor widening on discrete GPUs to fix plain prefill regressions.- Vulkan VRAM overcharge fixes (
recorded_graph_upload_bytes,VULKAN_BLOCK_SLACK, driver-awareVkDriverIdcosts),hard_least_objectallocator floor separation, Pascal SPIR-V workgroup reconvergence inreduce_group_exclusive_add, and LinuxKReclaimablehost-RAM accounting.
- Phase-accurate
-
448476fThanks @thrgreenwald! - Eliminate early returns in Vulkanattention_span, separate staticATTENTION_FRESHguards across Vulkan attention shaders, and prune unreachable functions and dead instructions onAMD_PROPRIETARYVulkan (SEAL_VERSION13) so history-only (F=0) attention pipelines (such as Gemma 4 12B) do not ship dead fresh-row barriers or syntheticMergeReturnswitches intoamdvlk64.dllLLPC (#355). -
01cbe55Thanks @thrgreenwald! - Fix a deterministic Vulkan warm-up and decode deadlock on fused streamed MoE models (such as Qwen4-35B-A3B) when CPU sites are admitted and host RAM backs all routed experts (POLICY_RESOLVED == 1 && POLICY_WHOLE == 0):- Add conditional
TimelineNode::Publish(publish_under) toseismicwith exact planned host-heap accounting soPublishnodes evaluate explicit launch conditions instead of inheriting an omittedrouted_landlaunch. - Emit mutually exclusive early (
WhileClear(POLICY_WHOLE) && WhileSet(POLICY_RESOLVED)right afterrouted_route_streamed) and post-land (WhileClear(POLICY_WHOLE) && WhileClear(POLICY_RESOLVED)) site publications on Vulkan fused streamed MoE layers, unblockingParkKind::Siteand improving CPU/GPU overlap.
- Add conditional