When scaling Mixture-of-Experts (MoE) models on local hardware, performance expectations frequently run into bottleneck shifts. Testing Inkling 2 Mini on an MSI EdgeXpert platform equipped with NVIDIA GB10 unified memory highlights where execution stalls during high-throughput local inference. Detailed benchmarking on the Runtime Notes benchmark report demonstrates that pushing single-stream decoding to 101 tokens per second requires addressing GPU kernel execution directly rather than relying solely on memory bandwidth.
The hardware baseline rests on NVIDIA’s GB10 unified memory architecture, offering 128 GB of RAM shared dynamically between the host CPU and the integrated GPU accelerator. Unified memory simplifies hardware topology, but it introduces distinct latency behaviors across prompt prefill and token generation phases. Processing long context prompts demands splitting inputs into manageable chunks. In this setup, vLLM processes prompts in 4,096-token prefill chunks. On a 32,768-token prompt, the system takes 9.7 seconds just to compute and emit the first generated token. For interactive applications, a multi-second pause before output begins creates a real responsiveness bottleneck.
Profiling Expert GEMMs: Where the Milliseconds Go
Once the prefill phase finishes, token decode performance depends heavily on sparse feed-forward layers. Inkling 2 Mini routes incoming tokens through 128 total experts, activating 8 experts per token per layer. Profiling GPU execution steps exposes a steep computational tax: routed expert General Matrix Multiply (GEMM) kernels account for 53% of total decode step latency and 44% of time spent during 32K context prefills.
This kernel dominance stems from sparse memory access patterns and matrix multiplication launch costs. Unlike dense models where a single large GEMM operation maximizes accelerator occupancy, routed MoE experts trigger multiple smaller matrix multiplications. Gathering inputs, executing separate expert GEMMs, and scattering output tensors back into the hidden state creates execution overhead that standard batching struggles to hide.
Speculative Decoding and CUDA Graph Replaying
To push throughput beyond standard autoregressive limits, speculative decoding replaces single-token steps with parallel candidate verification. Replacing the default DSpark draft model with DFlash2 changes generation dynamics significantly. DFlash2 proposes 7 candidate tokens per step, allowing the primary Inkling 2 Mini model to verify the proposed sequence in a single forward pass across 8 matrix rows. This single pass evaluates the last accepted token alongside all 7 speculative guesses simultaneously.
Running speculative decode steps creates a heavy stream of rapid, small host-to-device kernel calls. Without intervention, host CPU launch overhead quickly limits GPU utilization. vLLM addresses this latency penalty through CUDA graph replaying with fixed tensor shape definitions. By pre-recording the exact GPU kernel execution sequence and replaying it directly on accelerator memory, the engine bypasses host CPU dispatch delays.
The performance impact of combining DFlash2 speculative decoding with CUDA graphs in vLLM is immediate. Single-request decoding hits 101.0 tok/s on an MSI EdgeXpert. When scaling to four concurrent request streams, aggregate system throughput reaches 195.7 tok/s. This aggregate speed surpasses published two-stream benchmarks on TensorFold (105.5 tok/s) and approaches alternative engines like knapcio’s SGLang configuration (112.0 tok/s single-stream).
Orchestrating local model workloads across diverse execution environments often benefits from lightweight control planes. Tools like GPUWorks manage vLLM container execution and hardware resource binding across heterogeneous platforms without requiring full Kubernetes clusters. Managing memory allocation and runtime flags at the orchestration layer ensures inference engines remain within hardware boundaries.
Memory Partitioning and Multi-Model Co-location
Hardware memory constraints dictate how large a model’s operational context can expand. On a 128 GB unified system, allocating memory indiscriminately leads to out-of-memory errors or reduced concurrency. Inkling 2 Mini’s memory footprint is bounded at 36% of total system memory (approximately 44 GiB). Utilizing FP8 precision for the Key-Value (KV) cache allows this 36% slice to store 1.85 full 131,072-token context windows.
Bounding Inkling’s memory usage leaves substantial headroom for co-located workloads. During these benchmark runs, a 27-billion parameter model (Qwen3.8-27B) occupied 34% of host memory in an idle state without degrading Inkling’s throughput. Strict memory partitioning proves that desktop workstation nodes can host heterogeneous multi-model stacks side by side.
Not every edge processing pipeline requires massive parameter counts or dynamic sparse routing. Lightweight distributed algorithms, such as the HaCI edge detection repository, operate with tiny host memory footprints (under 250 MB) and precise GPU allocations. Contrast this with MoE LLMs, where KV-cache management and expert execution dominate memory planning.
Practical Limitations and Engineering Realities
Despite achieving 101 tok/s, local MoE serving involves notable operational compromises. Speculative decoding efficiency hinges entirely on draft model acceptance rates. When processing code generation or complex reasoning tasks where draft proposals fail, the verification step rejects candidates and falls back to single-token output. In those low-acceptance scenarios, speculative verification adds wasted matrix multiplications, dropping performance below non-speculative baselines.
Furthermore, using fixed CUDA graph shapes in vLLM introduces rigidity into batch management. Requests with highly variable prompt lengths or erratic arrival patterns can suffer padding overhead or trigger frequent CUDA graph recompilations. Balancing fixed execution shapes against dynamic user traffic remains a major challenge when tuning throughput on single-node setups.
Looking forward, compiler optimizations that lower routed expert GEMM overhead directly will yield bigger gains than aggressive speculative draft tuning. Until custom MoE kernel fusions mature on unified memory hardware, engineering efforts must focus on maintaining high draft acceptance rates and enforcing tight KV-cache bounds.