Skip to content

@magnitudedev/cli@0.3.18

Latest

Choose a tag to compare

0.3.18

Patch Changes

  • ea659e3 Thanks @thrgreenwald! - Fix post-long-prefill decode collapse and prompt-group VRAM/host-RAM stranding on streamed MoE models (#194):

    • Guard ExecutorDomain::yield_state with StoreBindings::has_shrinkable and seismic::Pool::can_return_freed so unvacatable CacheKind::Spare slabs in partially-occupied state pool blocks no longer call Queue::conclude on every flight boundary (eliminating per-token pipelined decode successor orphaning and cuGraphExecKernelNodeSetParams thrash that collapsed post-16k decode by 3–4×).
    • Pause Behind::Continuation decode pipelining for a single quiet flight gap when an open group_class needs to close into IdleClass or a yielding IdleClass (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_bank and value_cache CacheKind::GraphSlots marginal valuation/eviction to BankHolding::Host on tiered discrete GPUs so host-tier expert slots can also reclaim yielding IdleClass host buffers.
  • f5d75aa Thanks @thrgreenwald! - Gate standing ConvertForm::reference measurement and StreamedFigures.convert on unified-memory executors so discrete GPUs (which place through their host tier and never execute routed_land's device convert at runtime) neither run routed_land during standing assessment nor fail streamed MoE load preview on an unobtainable convert record (#355).

  • 42d8db2 Thanks @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 Auto drafter transitions without triggering unnecessary replacement reloads.
    • Bound partial host-record leases to seeded_from and scope extension membership to lent_claimed so released or seeding bulk-extension records cannot deadlock subsequent passes on unified-memory devices.
  • #366 92f86b1 Thanks @RishabhChangwani! - Give the DSpark draft block graph's dense_output an empty inject with one row per block row, so RNN DSpark drafters no longer fail the first draft with "parameter product axis 0 does not satisfy the call schema".

  • #366 07dac3c Thanks @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.

  • 7db23d3 Thanks @thrgreenwald! - Fix a Metal shader compilation failure in per_layer_gate_stage (no member named 'form' in 'projection::operands<0>') that prevented Gemma 4 E2B/E4B models with non-NVFP4/MXFP8 weights (such as q4g32s@rows32) from loading on Apple Silicon Macs (#367).

  • 5b597c1 Thanks @thrgreenwald! - Fix pre-release QA issues across Vulkan, Linux worker allocation, Metal tuning, catalog downloads, and sharded local model paths:

    • Run DeadBranchElim and MergeReturn before InlineExhaustive on Mesa RADV whenever a called helper has an early or loop return, eliminating 20+ minute SPIRV-Tools PrettyPrint shader compile hangs on models such as Inkling-2-Mini, Gemma 4 26B-A4B, and Qwen4-35B-A3B.
    • Apply the M_ARENA_MAX=2 glibc heap policy only to serve, not inference-worker, removing multi-core futex contention during parallel Linux shader compilation.
    • Update the pinned revision for nvidia/NVIDIA-Nemotron-3.5-Bolt-E4B-4GB in models.lock.json after the upstream repo rewrite so downloads no longer fail with HTTP 403.
    • Fix unsigned underflow (max(0, G - 8)) in Metal attention_decode_k8v4 WIDE_BANDED launch conditions for G < 8 models (such as Gemma 4 E4B and Qwen3.5-4B) and reject max(0, a - b) at check time in seismic-lang.
    • Resolve InstalledModelPackage.path to the snapshot root consistently and join relative components natively so /api/v1/local-models primaryPath no longer duplicates subdirectories on sharded Hugging Face packages.
  • 650c041 Thanks @thrgreenwald! - Improve tight-VRAM and older-GPU support across CUDA and Vulkan:

    • Phase-accurate Vision XOR Head auxiliary residency and runtime vision_idle release so multimodal models with mmproj and DFlash 2 fit together in 6 GB VRAM.
    • Speed-aware drafter admission with ModelAssessor::adopt re-evaluation, plus CLI/ACN/OpenAPI single-source-of-truth wiring for DrafterWithheldReason and Explore storage sizing.
    • settle_bank PCIe/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-aware VkDriverId costs), hard_least_object allocator floor separation, Pascal SPIR-V workgroup reconvergence in reduce_group_exclusive_add, and Linux KReclaimable host-RAM accounting.
  • 448476f Thanks @thrgreenwald! - Eliminate early returns in Vulkan attention_span, separate static ATTENTION_FRESH guards across Vulkan attention shaders, and prune unreachable functions and dead instructions on AMD_PROPRIETARY Vulkan (SEAL_VERSION 13) so history-only (F=0) attention pipelines (such as Gemma 4 12B) do not ship dead fresh-row barriers or synthetic MergeReturn switches into amdvlk64.dll LLPC (#355).

  • 01cbe55 Thanks @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) to seismic with exact planned host-heap accounting so Publish nodes evaluate explicit launch conditions instead of inheriting an omitted routed_land launch.
    • Emit mutually exclusive early (WhileClear(POLICY_WHOLE) && WhileSet(POLICY_RESOLVED) right after routed_route_streamed) and post-land (WhileClear(POLICY_WHOLE) && WhileClear(POLICY_RESOLVED)) site publications on Vulkan fused streamed MoE layers, unblocking ParkKind::Site and improving CPU/GPU overlap.