Instructions to use WaveCut/LingBot-Video-MoE-30B-A3B-SDNQ-uint4-static with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use WaveCut/LingBot-Video-MoE-30B-A3B-SDNQ-uint4-static with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("WaveCut/LingBot-Video-MoE-30B-A3B-SDNQ-uint4-static", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
LingBot SDNQ runtime adapter
lingbot_sdnq_runtime is part of this model repository. It loads ordinary
SDNQ-packed Linear weights and also reconstructs LingBot's 3-D MoE w1, w2,
and w3 tensors from packed UINT4 storage.
On the official RunPod Torch 2.8 / CUDA 12.8 image, torch._grouped_mm only
accepts compute capability 9.0 and the upstream sglang-kernel wheel targets a
newer Torch ABI. The adapter therefore supplies Torch implementations of only
SGLang's token-alignment and top-k sum-reduction helpers. Expert GEMMs and
activation stay on the pinned SGLang Triton fused-MoE implementation.
For MoE inference install the upstream-pinned runtime without dependency resolution so it does not replace the tested Torch build:
pip install --no-deps sglang==0.5.13.post1 apache-tvm-ffi==0.1.9 tilelang==0.1.8 triton==3.6.0
The adapter intentionally does not cache dequantized bf16 expert weights; reported residency therefore remains the SDNQ packed representation.