Problem and Overview
Hosting large-scale Mixture-of-Experts (MoE) models typically requires multi-GPU infrastructure. This repository provides a streamlined deployment recipe to serve Qwen3.8 Flash Next on a single NVIDIA DGX Spark unit (GB10, 128 GB). It achieves this by relying on NVIDIA's quantization-aware-distilled (QAD) FP4 checkpoint, which maintains benchmark scores close to the unquantized bf16 baseline while significantly reducing memory requirements.
Underlying Technologies
- Engine: TensorFold's low-level Zig runtime (
tensorfold-native release v1.2.7, commit 93a2e93e) applied with custom recipe patches.
- Quantization: NVFP4 format for 512 routed experts (10 active per token, group size 16, CSF compression), alongside MXFP8 for attention layers and shared experts. Vision components and MTP experts are also quantized.
- Environment: Orchestrated inside NVIDIA's PyTorch container and started via shell automation (
start.sh), presenting an OpenAI-compliant HTTP API.
Target Audience and Maturity
The project targets ML engineers, research labs, and infrastructure teams working with DGX Spark hardware. With over 460 stars, it represents a working recipe for cutting-edge low-bit inference. However, because it depends on specific commit-level patches and custom Zig engine binaries, it should be regarded as a specialized deployment tool rather than a hardened, general-purpose production framework.