Example Launch Command
SGLang supports different DLLM algorithms such asLowConfidence and JointThreshold.
Command
First-Done-First-Out (FDFO) Scheduling
FDFO scheduling is enabled by default: each request leaves the batch as soon as its block is resolved, instead of advancing in lockstep where fast-converging requests must wait for slow long-tail requests before leaving the batch (head-of-line blocking). This improves throughput and is orthogonal to--dllm-algorithm, so it works with any dLLM algorithm. Pass --no-dllm-fdfo to fall back to synchronous lockstep scheduling:
Command
Example Configuration File
Depending on the algorithm selected, the configuration parameters vary. LowConfidence Config:Config
Config
Example Client Code Snippet
Just like other supported models, diffusion language models can be used via the REST API or Python client. Python client example for making a generation request to the launched server:Example
Command
Supported Models
Below the supported models are summarized in a table.| Model Family | Example Model | Description |
|---|---|---|
| LLaDA2.0 (mini, flash) | inclusionAI/LLaDA2.0-flash | LLaDA2.0-flash is a diffusion language model featuring a 100B Mixture-of-Experts (MoE) architecture. |
| SDAR (JetLM) | JetLM/SDAR-8B-Chat | SDAR series diffusion language model (Chat), dense architecture. |
| SDAR (JetLM) | JetLM/SDAR-30B-A3B-Chat | SDAR series diffusion language model (Chat), MoE architecture. |
| DiffusionGemma | google/diffusiongemma-26B-A4B-it | Uniform-state (renoising) block-diffusion multimodal (text + image) MoE, 25.2B total / 3.8B active, served with the Gemma4Renoise sampler. |
