SGLang Structured Serving
Orchestra-Research/AI-Research-SKILLs
Covers serving LLMs with SGLang, whose RadixAttention reuses cached prefixes, and constraining output to JSON, regex or grammar for agent and tool-calling workloads.
A skill your agent uses when quantizing a diffusion DiT with NVIDIA ModelOpt and making the resulting FP8 or NVFP4 checkpoint loadable, verifiable, and benchmarkable in SGLang Diffusion.
$ npx skills add sgl-project/sglang --skill sglang-diffusion-modelopt-quant -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install sgl-project/sglang sglang-diffusion-modelopt-quant --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/sgl-project/sglang.git skills-src && mkdir -p .claude/skills && cp -r skills-src/python/sglang/multimodal_gen/.agents/skills/sglang-diffusion-modelopt-quant .claude/skills/sglang-diffusion-modelopt-quant && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "sglang-diffusion-modelopt-quant" agent skill from https://github.com/sgl-project/sglang/tree/main/python/sglang/multimodal_gen/.agents/skills/sglang-diffusion-modelopt-quant into .claude/skills/sglang-diffusion-modelopt-quant/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sglang-diffusion-modelopt-quant", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/sgl-project/sglang/tree/main/python/sglang/multimodal_gen/.agents/skills/sglang-diffusion-modelopt-quantType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add sgl-project/sglang --skill sglang-diffusion-modelopt-quant -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install sgl-project/sglang sglang-diffusion-modelopt-quant --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sgl-project/sglang.git skills-src && mkdir -p .agents/skills && cp -r skills-src/python/sglang/multimodal_gen/.agents/skills/sglang-diffusion-modelopt-quant .agents/skills/sglang-diffusion-modelopt-quant && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "sglang-diffusion-modelopt-quant" agent skill from https://github.com/sgl-project/sglang/tree/main/python/sglang/multimodal_gen/.agents/skills/sglang-diffusion-modelopt-quant into .agents/skills/sglang-diffusion-modelopt-quant/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sglang-diffusion-modelopt-quant", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add sgl-project/sglang --skill sglang-diffusion-modelopt-quant -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install sgl-project/sglang sglang-diffusion-modelopt-quant --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sgl-project/sglang.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/python/sglang/multimodal_gen/.agents/skills/sglang-diffusion-modelopt-quant .cursor/skills/sglang-diffusion-modelopt-quant && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "sglang-diffusion-modelopt-quant" agent skill from https://github.com/sgl-project/sglang/tree/main/python/sglang/multimodal_gen/.agents/skills/sglang-diffusion-modelopt-quant into .cursor/skills/sglang-diffusion-modelopt-quant/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sglang-diffusion-modelopt-quant", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/sgl-project/sglang.git --path python/sglang/multimodal_gen/.agents/skills/sglang-diffusion-modelopt-quant--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add sgl-project/sglang --skill sglang-diffusion-modelopt-quant -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install sgl-project/sglang sglang-diffusion-modelopt-quant --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sgl-project/sglang.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/python/sglang/multimodal_gen/.agents/skills/sglang-diffusion-modelopt-quant .gemini/skills/sglang-diffusion-modelopt-quant && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "sglang-diffusion-modelopt-quant" agent skill from https://github.com/sgl-project/sglang/tree/main/python/sglang/multimodal_gen/.agents/skills/sglang-diffusion-modelopt-quant into .gemini/skills/sglang-diffusion-modelopt-quant/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sglang-diffusion-modelopt-quant", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install sgl-project/sglang sglang-diffusion-modelopt-quantInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add sgl-project/sglang --skill sglang-diffusion-modelopt-quant -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/sgl-project/sglang.git skills-src && mkdir -p .github/skills && cp -r skills-src/python/sglang/multimodal_gen/.agents/skills/sglang-diffusion-modelopt-quant .github/skills/sglang-diffusion-modelopt-quant && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "sglang-diffusion-modelopt-quant" agent skill from https://github.com/sgl-project/sglang/tree/main/python/sglang/multimodal_gen/.agents/skills/sglang-diffusion-modelopt-quant into .github/skills/sglang-diffusion-modelopt-quant/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sglang-diffusion-modelopt-quant", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add sgl-project/sglang --skill sglang-diffusion-modelopt-quant -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install sgl-project/sglang sglang-diffusion-modelopt-quant --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sgl-project/sglang.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/python/sglang/multimodal_gen/.agents/skills/sglang-diffusion-modelopt-quant .opencode/skills/sglang-diffusion-modelopt-quant && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "sglang-diffusion-modelopt-quant" agent skill from https://github.com/sgl-project/sglang/tree/main/python/sglang/multimodal_gen/.agents/skills/sglang-diffusion-modelopt-quant into .opencode/skills/sglang-diffusion-modelopt-quant/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sglang-diffusion-modelopt-quant", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
sglang-diffusion-modelopt-quantA skill your agent uses when quantizing a diffusion DiT with NVIDIA ModelOpt and making the resulting FP8 or NVFP4 checkpoint loadable, verifiable, and benchmarkable in SGLang Diffusion.
Sglang Diffusion Modelopt Quant is an agent skill from sgl-project/sglang. Use when quantizing a diffusion DiT with NVIDIA ModelOpt and making the resulting FP8 or NVFP4 checkpoint loadable, verifiable, and benchmarkable in SGLang Diffusion.
Its SKILL.md is about 5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in AI & LLM Engineering. It works with SGLang, NVIDIA AI Platform and Python. The repository describes itself as: SGLang is a high-performance serving framework for large language models and multimodal models. The licence is Apache-2.0.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit b7b2975. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
python3pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Sglang Diffusion Modelopt Quant loads about 5k tokens when it runs. Until then it costs about 50 tokens; SKILL.md has 2,027 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from sgl-project/sglang at commit b7b2975, republished under its Apache-2.0 licence (© sgl-project). 2,027 words, ~4,980 tokens.
.claude/skills/sglang-diffusion-modelopt-quant/SKILL.md (or your agent's skills folder).Use this skill when the task is to take a diffusion transformer through the full ModelOpt workflow:
This skill owns the ModelOpt-to-SGLang bridge. It is not a generic kernel-tuning skill.
quantize.py as the PTQ source of truth.dit_cpu_offload=false. dit_layerwise_offload=true is valid on the fixed path when you want lower DiT residency.flashinfer_trtllm); high-resolution Qwen Image can favor
SGLANG_DIFFUSION_FLASHINFER_FP4_GEMM_BACKEND=cutlass, while 1024x1024 can
remain BF16-faster. Benchmark the exact shape instead of assuming one backend
or quantized checkpoint wins.python/sglang/multimodal_gen/tools/build_modelopt_fp8_transformer.py, python/sglang/multimodal_gen/tools/build_modelopt_nvfp4_transformer.py, and python/sglang/multimodal_gen/tools/compare_diffusion_trajectory_similarity.py instead of inventing one-off scripts elsewhere.docs/docs/sglang-diffusion/quantization.mdx before closing the task.Read these sources before changing code:
examples/diffusers/README.mdexamples/diffusers/quantization/quantize.pyexamples/diffusers/quantization/config.pypython/sglang/multimodal_gen/runtime/layers/quantization/modelopt_fp8.pypython/sglang/multimodal_gen/runtime/layers/quantization/modelopt_quant.pypython/sglang/multimodal_gen/runtime/utils/quantization_utils.pypython/sglang/multimodal_gen/runtime/loader/transformer_load_utils.pyIf you are working on a new model family, inspect the transformer's config and tensor naming before changing the generic converter.
This repo now contains:
quant_method=modelopt plus quant_algo=FP8/NVFP4 resolution--quantization fp8 / mxfp4; keep those out of this ModelOpt PTQ/export workflow unless the user explicitly asks for runtime quantizationpython/sglang/multimodal_gen/tools/build_modelopt_fp8_transformer.pypython/sglang/multimodal_gen/tools/build_modelopt_nvfp4_transformer.pypython/sglang/multimodal_gen/tools/compare_diffusion_trajectory_similarity.pyValidated documentation and CI coverage currently center on these ModelOpt diffusion transformer override families:
Treat a new family, a new precision, or a new checkpoint layout as unsupported until it has a documented matrix row and a matching validation story.
Current B200 CI also contains an Ideogram4 NVFP4 native load case
(ideogram4_nvfp4_t2i via Comfy-Org/Ideogram-4). Treat that as source
evidence for an existing NVFP4 path, but do not expand the ModelOpt support
matrix to Ideogram4 unless docs/docs/sglang-diffusion/quantization.mdx is updated with the
exact checkpoint, loader path, quality check, and benchmark scope.
Before writing CLI examples, re-read the active branch's docs/docs/sglang-diffusion/quantization.mdx: FLUX.2 NVFP4 is an official black-forest-labs/* repo rather than a lmsys/* converted repo, and its preferred flag depends on the current documented loader flow. Use --transformer-path for a component override directory with config.json; use --transformer-weights-path when the repo or path should be probed as raw weights.
B200 CI coverage can include loose BF16-vs-quantized quality checks. Inspect the active branch's run_suite.py before assuming they are part of the suite; mainline and feature branches may differ. Those checks are intended to catch blank, corrupted, or obviously divergent images, not exact image parity.
Mainline documentation now tracks thirteen published ModelOpt checkpoints.
Twelve live under lmsys/*; the FLUX.2 NVFP4 raw export remains
black-forest-labs/FLUX.2-dev-NVFP4. Do not use older BBuf/* examples unless
you are explicitly testing a historical branch.
MiniMax-H3 is current-main evidence for the separate online FP8 path, not a
validated ModelOpt PTQ/export family. Its verified B200/B300 serving recipe
loads the unquantized root checkpoint with --quantization fp8 and preserves
the video/audio patch projections, timestep MLP, and final video/audio heads in
FP32. Do not add H3 to the ModelOpt support matrix or run the generic ModelOpt
converter until an exact H3 export, loader mapping, accuracy check, and
benchmark scope have been validated.
If the user asks for current H3 online quantization, route the command and
quality caveats through sglang-diffusion-performance and the MiniMax-H3
cookbook. Online FP8 is approximate and must be compared against eager
BF16/FP32 for both video and audio; combining it with Cache-DiT compounds two
approximations.
These related SGLang PRs are useful as ModelOpt diffusion support history. Re-check the PR state and the active source tree before treating any item as current behavior, and keep the docs/CI matrix as the support boundary.
Do not expand the validated matrix beyond the documented rows solely because a related PR exists. Add a row only after the exact checkpoint, loader path, accuracy check, and benchmark scope are validated on the active branch.
docs/docs/sglang-diffusion/quantization.mdx.unpublished explicitly instead of leaving the field blank.FP8 and NVFP4 are not wired into SGLang in exactly the same way.
FP8:
weight_scale and input_scalefloat8_e4m3fn weights from backbone.ptNVFP4:
Important caveat:
Before quantizing anything:
perf.jsonDo not start quantization work until the BF16 path is already healthy.
Use ModelOpt's official script. Generic template:
python quantize.py \
--model <model-name> \
--override-model-path <hf-repo-or-local-model> \
--model-dtype <Half|BFloat16> \
--format <fp8|fp4> \
--batch-size 1 \
--calib-size <calib-size> \
--n-steps <calib-steps> \
--quantize-mha \
--prompts-file <prompt-file> \
--quantized-torch-ckpt-save-path <out>/ckpt \
--hf-ckpt-dir <out>/hfFor current ModelOpt diffusion examples, use --format fp4 for NVFP4 exports.
Do not assume the checked-out ModelOpt version accepts a literal nvfp4 format string unless you verified it locally.
For multi-transformer models:
backbone.pt and the matching hf/<component> exportFP8 requires an extra conversion step:
PYTHONPATH=python python3 -m sglang.multimodal_gen.tools.build_modelopt_fp8_transformer \
--modelopt-hf-dir <out>/hf \
--modelopt-backbone-ckpt <out>/ckpt/backbone.pt \
--base-transformer-dir <base-model-transformer-dir> \
--output-dir <out>/sglang_transformer \
--overwriteWhat the converter does:
weight_quantizer._amax and input_quantizer._amax from backbone.ptweight_scale and input_scalefloat8_e4m3fnignore layers as BF16_quantizer.* tensors and fallback-layer scales that should not survive into the SGLang-native checkpointFor FLUX.1-dev, the validated fallback set currently keeps these modules in BF16:
transformer_blocks.*.norm1.lineartransformer_blocks.*.norm1_context.lineartransformer_blocks.*.ff.net.0.projtransformer_blocks.*.ff.net.2transformer_blocks.*.ff_context.net.0.projtransformer_blocks.*.ff_context.net.2single_transformer_blocks.*.norm.linearsingle_transformer_blocks.*.proj_mlpUse --model-type flux1 to force that profile, or rely on --model-type auto when the export config identifies FluxTransformer2DModel.
HunyuanVideo uses HunyuanVideoTransformer3DModel, so the validated
HunyuanVideo FP8 fallback preset keeps these modules in BF16:
context_embedder.*x_embedder.projtime_text_embed.(timestep_embedder|guidance_embedder|text_embedder).linear_[12]norm_out.linearproj_outtransformer_blocks.*.norm1.lineartransformer_blocks.*.norm1_context.linearsingle_transformer_blocks.*.norm.linearUse --model-type hunyuan-video to force that profile, or rely on
--model-type auto when the export config identifies
HunyuanVideoTransformer3DModel.
HunyuanVideo ModelOpt exports use diffusers module names that differ from
SGLang runtime names for fused QKV and fused QKV+MLP layers. Keep the
diffusers-to-runtime mapping in build_modelopt_fp8_transformer.py in sync
with runtime/models/dits/hunyuanvideo.py before trusting converted scale
tensors.
Qwen Image and Qwen Image Edit share QwenImageTransformer2DModel, so one
ModelOpt FP8 fallback preset covers both. The validated Qwen Image fallback set
keeps these modules in BF16:
img_intxt_intime_text_embed.timestep_embedder.linear_1time_text_embed.timestep_embedder.linear_2norm_out.linearproj_outtransformer_blocks.*.img_mlp.net.2transformer_blocks.*.img_modtransformer_blocks.*.txt_modUse --model-type qwen-image to force that profile, or rely on
--model-type auto when the export config identifies
QwenImageTransformer2DModel.
Qwen modulation weights can appear in safetensors as .img_mod.1.weight and
.txt_mod.1.weight. Canonicalize those module names to .img_mod and
.txt_mod before fallback matching.
For Qwen Image FP8, explicit BF16 fallback tensors must be written before honoring ModelOpt ignored weights. Otherwise converter stats can report a fallback while the output checkpoint still retains the source FP8 tensor, which causes severe image-quality regressions.
For FLUX.1-dev NVFP4 model families that need a mixed BF16+NVFP4 checkpoint, build the merged transformer explicitly:
PYTHONPATH=python python3 -m sglang.multimodal_gen.tools.build_modelopt_nvfp4_transformer \
--base-transformer-dir <base-model-transformer-dir> \
--modelopt-hf-dir <out>/hf/transformer \
--output-dir <out>/transformer-mixed \
--pattern-preset flux1-nvfp4The validated FLUX.1-dev mixed builder also needs to preserve:
quant_type: NVFP4 in config.jsonswap_weight_nibbles: false for the validated diffusers exportSingle-transformer example:
sglang generate \
--model-path <base-model> \
--transformer-path <quantized-transformer> \
--prompt "<prompt>" \
--seed <seed> \
--save-outputMulti-transformer example:
sglang generate \
--model-path <base-model> \
--transformer-path <quantized-transformer> \
--transformer-2-path <another-transformer-or-bf16-override> \
--prompt "<prompt>" \
--seed <seed> \
--save-outputFull ModelOpt Diffusers repo example (current Qwen Image NVFP4 path):
sglang generate \
--model-path lmsys/qwen-image-2512-modelopt-nvfp4-sglang \
--prompt "<prompt>" \
--seed <seed> \
--save-outputGuideline:
--transformer-path only when the model effectively has one transformer override to apply--model-path directly for published full ModelOpt Diffusers repos such
as the Qwen Image NVFP4 family; this is different from a transformer-only
override--<component>-path--component_paths.transformer_2=... also resolve to the same internal override mapUse two levels of validation.
Reduced deterministic validation:
Tool:
PYTHONPATH=python python3 -m sglang.multimodal_gen.tools.compare_diffusion_trajectory_similarity \
--model-path <base-model> \
--model-id <optional-native-model-id> \
--prompt "<prompt>" \
--width <w> \
--height <h> \
--num-inference-steps <steps> \
--guidance-scale <cfg> \
--seed <seed> \
--candidate-transformer-path <quantized-transformer> \
--output-json <report.json>Use --model-id FLUX.1-dev when --model-path points to a local directory but the runtime still needs the native FLUX.1 model registration.
Full-output validation:
Benchmark only when these match between BF16 and quantized:
Only the quantized checkpoint path should differ.
Interpretation rule:
If the generic FP8 path fails on a new model family:
Do not turn one validated model quirk into a generic rule unless another family also needs it.
Current diffusion ModelOpt FP8 support requires:
dit_cpu_offload=falsedit_layerwise_offload may be enabled when you want lower DiT residencyReason:
dit_cpu_offload is still treated conservativelyRuntime behavior:
dit_cpu_offload when it detects modelopt_fp8When documenting results:
| File | Role |
|---|---|
runtime/layers/quantization/__init__.py | registers diffusion quant methods |
runtime/layers/quantization/modelopt_fp8.py | static per-tensor ModelOpt FP8 path used by flat quant_method=modelopt exports |
runtime/layers/quantization/modelopt_quant.py | ModelOpt FP8 and NVFP4 runtime loading |
runtime/utils/quantization_utils.py | resolves flat ModelOpt configs and reconstructs NVFP4 config from metadata |
runtime/loader/transformer_load_utils.py | guards incompatible FP8 offload modes |
runtime/models/dits/flux_2.py | packed-QKV handling for the packed FLUX.2 NVFP4 family |
tools/build_modelopt_fp8_transformer.py | Build an SGLang-loadable FP8 transformer from a ModelOpt export |
tools/build_modelopt_nvfp4_transformer.py | Build mixed BF16+NVFP4 transformer directories when a family needs preserved BF16 layers |
tools/compare_diffusion_trajectory_similarity.py | reduced deterministic BF16-vs-quantized validation |
docs/docs/sglang-diffusion/quantization.mdx | public ModelOpt support matrix and CLI examples |
python/sglang/multimodal_gen/test/server/testcase_configs.py | reusable ModelOpt testcase constants, thresholds, and helpers |
python/sglang/multimodal_gen/test/server/gpu_cases.py | concrete GPU and B200 ModelOpt CI case lists |
© sgl-project, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in python/sglang/multimodal_gen/.agents/skills/sglang-diffusion-modelopt-quant of sgl-project/sglang.
Open the folder on GitHubat commit b7b2975
We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in sgl-project/sglang, which our catalogue first saw on October 7, 2026.
Sglang Diffusion Modelopt Quant next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Sglang Diffusion Modelopt Quant this skillsgl-project/sglang | 37k | 2 repos | ~5k | Automated safety check: Pass | Apache-2.0 | |
| SGLang Structured ServingOrchestra-Research/AI-Research-SKILLs | 13k | 3 repos | ~2.9k | Automated safety check: Pass | MIT | |
| Dstack Prototypingdstackai/dstack | 2.3k | — | ~1.6k | Automated safety check: Pass | MPL-2.0 | |
| Make Op VerifyCVCUDA/CV-CUDA | 2.7k | — | ~433 | Automated safety check: Pass | Custom licence | |
| Graphsignalgraphsignal/graphsignal | 257 | — | ~6.2k | Automated safety check: Pass | Apache-2.0 | |
| One EvalOpenDCAI/One-Eval | 165 | — | ~2.4k | Automated safety check: Pass | Apache-2.0 |
Orchestra-Research/AI-Research-SKILLs
Covers serving LLMs with SGLang, whose RadixAttention reuses cached prefixes, and constraining output to JSON, regex or grammar for agent and tool-calling workloads.
dstackai/dstack
Use with the dstack skill for model-serving work when the image, serving command, resources, backend/fleet choice, or service behavior is not proven.
CVCUDA/CV-CUDA
Verify a new CV-CUDA operator against the deterministic final regression checklist (the /make-op done-gate).
graphsignal/graphsignal
Profile AI inference workloads (vLLM, SGLang, TensorRT-LLM, PyTorch, any GPU application) with the Graphsignal profiler and read the results from its local /signals JSON endpoint.
OpenDCAI/One-Eval
驱动 One-Eval 对 API 或本地模型做端到端评测,覆盖纯文本、多模态、代码生成、函数调用和 Agent benchmark。当用户想评测模型在一个或多个 benchmark 上的表现、比较分数、补充 metric,或生成图文评测报告时使用本 skill。
BBuf/AI-Infra-Auto-Driven-SKILLS
Analyzes Torch Profiler traces from SGLang, vLLM and TensorRT-LLM servers into kernel attribution, overlap and fusion tables.
sgl-project/sglang
Replay-first debug flow for SGLang serving problems. An agent skill from sgl-project/sglang.
sgl-project/sglang
Unified LLM torch-profiler triage skill for sglang, vllm, TensorRT-LLM, and TokenSpeed.
sgl-project/sglang
Start and persistently pursue a goal to babysit an SGLang pull request until selected GitHub Actions workflows pass on the latest PR head.
sgl-project/sglang
Compute the optimal --mamba-full-memory-ratio (or --max-mamba-cache-size pin) for a hybrid attention + linear-attention (Mamba / GDN / KDA) model's two serving memory pools, from the workload and…
sgl-project/sglang
Debug hanging issues in SGLang distributed inference (TP/PP/DP/EP).
sgl-project/sglang
Conventions for SGLang environment variables — where to define, how to access, how to name, and how to deprecate.
Works with
Categories
A skill your agent uses when quantizing a diffusion DiT with NVIDIA ModelOpt and making the resulting FP8 or NVFP4 checkpoint loadable, verifiable, and benchmarkable in SGLang Diffusion. Sglang Diffusion Modelopt Quant is an agent skill from sgl-project/sglang. Use when quantizing a diffusion DiT with NVIDIA ModelOpt and making the resulting FP8 or NVFP4 checkpoint loadable, verifiable, and benchmarkable in SGLang Diffusion.
Sglang Diffusion Modelopt Quant fits situations like: quantizing a diffusion DiT with NVIDIA ModelOpt and making the resulting FP8; NVFP4 checkpoint loadable; benchmarkable in SGLang Diffusion.
Run `npx skills add sgl-project/sglang --skill sglang-diffusion-modelopt-quant -a claude-code`. Or copy the skill folder (python/sglang/multimodal_gen/.agents/skills/sglang-diffusion-modelopt-quant in sgl-project/sglang) into .claude/skills/sglang-diffusion-modelopt-quant in your project. Claude Code loads it when a task matches its description.
Run `npx skills add sgl-project/sglang --skill sglang-diffusion-modelopt-quant -a codex`. Or copy the skill folder (python/sglang/multimodal_gen/.agents/skills/sglang-diffusion-modelopt-quant in sgl-project/sglang) into .agents/skills/sglang-diffusion-modelopt-quant in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sgl-project/sglang --skill sglang-diffusion-modelopt-quant -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sglang-diffusion-modelopt-quant, .gemini/skills/sglang-diffusion-modelopt-quant, .github/skills/sglang-diffusion-modelopt-quant and .opencode/skills/sglang-diffusion-modelopt-quant in your project.
Going by SKILL.md and its folder, Sglang Diffusion Modelopt Quant needs the command-line tools its instructions call (python3 and python). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Sglang Diffusion Modelopt Quant is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 5k tokens (SKILL.md is roughly 20k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Sglang Diffusion Modelopt Quant: SGLang Structured Serving (Orchestra-Research/AI-Research-SKILLs, 13k stars), Dstack Prototyping (dstackai/dstack, 2.3k stars), Make Op Verify (CVCUDA/CV-CUDA, 2.7k stars) and Graphsignal (graphsignal/graphsignal, 257 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
sgl-project (a GitHub organization) maintains it in sgl-project/sglang, which has 36,851 GitHub stars. The repository holds 31 skills in this directory. The repository was last updated on October 8, 2026.
Source: sgl-project/sglang on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.