Skip to content
cccskills

Results for “sglang”

66 skills · sorted by relevance

Add, rename, or review SGLang environment variables using consistent definitions, types, names, and access methods. The skill also guides migration from old names and temporary test overrides that restore the original values afterward.

  • Adding a new SGLang environment variable
  • Migrating deprecated environment variable names
  • Temporarily overriding settings in tests
sgl-project/sglang37.3KUpdated Oct 19, 2026

Integrate or upgrade cache-dit in SGLang diffusion, the image generation system. Follow guidance for resolving code conflicts, adding cache settings, testing feature combinations, and comparing generated images using quality measurements and logs.

  • Upgrading cache-dit in SGLang diffusion
  • Resolving conflicts when porting upstream changes
  • Adding per-request cache settings
sgl-project/sglang37.3KUpdated Oct 19, 2026

Add a diffusion model or Diffusers generation pipeline to SGLang. Examine reference code, choose a suitable pipeline structure, reuse existing components, and implement model settings and processing stages, with guidance for later multi-GPU support.

  • Adding a new diffusion model to SGLang
  • Porting a Diffusers generation pipeline
  • Adding a variant by reusing existing model components
sgl-project/sglang37.3KUpdated Oct 19, 2026

add-jit-kernel

FreeSummary

Develop lightweight CUDA operations for SGLang using JIT, which compiles code on first use. A tensor-scaling example explains implementation conventions, input validation, memory access helpers, and when to choose this approach.

  • Add a lightweight CUDA operation to SGLang
  • Choose between JIT and ahead-of-time compilation
  • Validate tensor inputs in a kernel launcher
sgl-project/sglang37.3KUpdated Oct 19, 2026

Add or verify model support in SGLang's Rust processor so chat requests produce the same prompt text and token IDs as Python. Use reference-generated test cases to find differences in tools, reasoning settings, conversation history, and errors.

  • Adding model support to sglang-processor
  • Porting model rendering from sgl-router
  • Rechecking prompt behavior after a Dynamo update
sgl-project/sglang37.3KUpdated Oct 19, 2026

Organize SGLang GPU operations when adding or moving code. It guides API placement, operation registration, test organization, and migration checks to preserve existing behavior, references, and continuous integration coverage.

  • Choose where to place a new GPU operation
  • Split or move existing operation files
  • Review API registration and test placement
sgl-project/sglang37.3KUpdated Oct 19, 2026

Quantize diffusion transformers with NVIDIA ModelOpt, using FP8 or NVFP4 lower-precision numbers, and prepare the saved weights for SGLang Diffusion. Follow a workflow for loading, checking output quality, and comparing speed under matching conditions.

  • Preparing ModelOpt FP8 weights for SGLang Diffusion
  • Checking quality after diffusion model quantization
  • Comparing BF16 and quantized generation speed
sgl-project/sglang37.3KUpdated Oct 19, 2026

Guide changes to SGLang runtime configuration and shared process state. Identify where resolved settings, runtime flags, resources, and per-forward state belong, and use the documented access patterns and checks when developing or testing.

  • Review how server settings are read and updated
  • Choose where shared and per-forward state should live
  • Check configuration publication order in worker processes
sgl-project/sglang37.3KUpdated Oct 19, 2026

generate-profile

FreeSummary

Launch an SGLang server, run a quick accuracy check, and capture an execution trace for performance inspection. Return the trace location and generated files, ready to open in Perfetto or Chrome tracing.

  • Capture an execution trace of SGLang inference
  • Check basic accuracy before profiling
  • Record input processing and token generation separately
sgl-project/sglang37.3KUpdated Oct 19, 2026

Understand and modify SGLang's CI pipelines, including test stage order, start conditions, early stopping after failures, and workload splitting. Use the guide to add jobs and investigate failed, skipped, or cancelled checks.

  • Add a test job to an SGLang CI stage
  • Investigate failed or skipped CI checks
  • Update test partitions and waiting job counts
sgl-project/sglang37.3KUpdated Oct 19, 2026

Write and register SGLang unit and end-to-end tests, from choosing models and file locations to reusing server fixtures. Follow project rules for meaningful assertions, CI registration, dependency mocking, and safe server cleanup after tests.

  • Adding CPU-only unit tests for component logic
  • Testing features through a running SGLang server
  • Registering tests in an appropriate CI suite
sgl-project/sglang37.3KUpdated Oct 19, 2026

Prepare batches of merged SGLang pull requests for a release branch. It checks conflicts and previous attempts, starts the cherry-pick workflow, monitors completion, and reports created pull requests or failure reasons.

  • Prepare multiple merged PRs for a release branch
  • Check conflicts before starting workflows
  • Detect previous cherry-pick PRs
sgl-project/sglang37.3KUpdated Oct 19, 2026

Measure denoising latency in SGLang diffusion models and identify slow operations with profiler traces. Compare performance and output quality on the same GPUs, check existing optimizations, and gather evidence before starting low-level kernel work.

  • Measuring diffusion denoising latency
  • Ranking slow operations from profiler traces
  • Checking whether existing optimizations address a bottleneck
sgl-project/sglang37.3KUpdated Oct 19, 2026

Guide changes and reviews for SGLang’s Scheduler, TokenizerManager, and ModelRunner classes. Keep initialization in small, replaceable helpers and separate computation from coordination so large classes retain clear responsibilities and explicit dependencies.

  • Reviewing changes to SGLang’s three large classes
  • Splitting initialization into replaceable helpers
  • Moving computation out of ModelRunner
sgl-project/sglang37.3KUpdated Oct 19, 2026

Convert an existing SGLang cookbook page to shared templates driven by model configuration. Preserve its deployment commands and interactive choices, transfer eligible benchmark measurements, and check equivalence, links, and rendered behavior.

  • Migrating a legacy SGLang cookbook page
  • Moving deployment choices into model configuration
  • Transferring reproducible benchmark measurements
sgl-project/sglang37.3KUpdated Oct 19, 2026

Choose SGLang Diffusion settings for a specific model, GPU, and memory budget. Compare generation speed, memory use, and output quality to select command-line options, including CPU offloading, multiple GPUs, caching, and reduced precision.

  • Choosing generation settings for a specific model and GPU
  • Reducing GPU memory use to fit a memory budget
  • Comparing performance settings across multiple GPUs
sgl-project/sglang37.3KUpdated Oct 19, 2026

Guide test design for SGLang's scripted runtime by deciding when a test harness API adds real value. Favor direct reads, meaningful outcome checks, and the engine's actual execution loop over unnecessary wrappers.

  • Decide whether a test harness needs a new API
  • Review wrappers around directly accessible test state
  • Test timeout behavior through the real engine loop
sgl-project/sglang37.3KUpdated Oct 19, 2026

Collect and review SGLang startup logs to identify unnecessary output and trace its source. Get saved logs and specific cleanup proposals while preserving useful diagnostics, with runtime changes left for user approval.

  • Investigating repeated messages in startup logs
  • Checking which startup warnings need attention
  • Comparing startup logs across models and GPU counts
sgl-project/sglang37.3KUpdated Oct 19, 2026

Add a model page to the SGLang Cookbook using shared templates. Organize verified launch settings and measured benchmarks, create configuration files and documentation, and update navigation, vendor cards, and page validation.

  • Add documentation for a newly supported model
  • Organize verified launch recipes by hardware
  • Publish measured speed and accuracy results
sgl-project/sglang37.3KUpdated Oct 19, 2026

Investigate recurring SGLang automated test failures by comparing logs, commit history, and GPU environments. Narrow down code changes or machine-specific problems, optionally reproduce failures remotely, and summarize the evidence in a structured report.

  • Finding the change behind a recurring test failure
  • Checking whether failures depend on a GPU or runner
  • Reproducing a test failure on a remote GPU server
sgl-project/sglang37.3KUpdated Oct 19, 2026

Investigate SGLang runs that freeze across multiple GPUs. It uses stack traces, communication logs, GPU memory dumps, and comparisons between processes to locate state differences, trace their causes, and guide fixes.

  • Locate where a multi-GPU inference run freezes
  • Compare logs from distributed processes
  • Trace the first difference in process state
sgl-project/sglang37.3KUpdated Oct 19, 2026

debug-cuda-crash

FreeSummary

Investigate CUDA crashes in SGLang using logs and inputs saved before execution. Inspect tensor shapes, data types, and numerical anomalies, with guidance for separate process logs and additional CUDA debugging tools.

  • Investigating illegal memory access and device-side assertions
  • Tracing NaN or Inf values through kernel calls
  • Saving inputs before a CUDA crash
sgl-project/sglang37.3KUpdated Oct 19, 2026

Apply consistent names to SGLang speculative decoding code, which verifies draft tokens to generate text. Distinguish tokens with or without the bonus token, counts, counters, and arrays when adding identifiers, renaming code, or reviewing changes.

  • Naming variables in speculative decoding code
  • Renaming identifiers to match their meaning
  • Reviewing metric and counter names
sgl-project/sglang37.3KUpdated Oct 19, 2026

Investigate SGLang serving failures by collecting server state, preserving failing requests, and replaying them on a clean target. Summarize evidence and likely causes, then choose the next debugging tool for crashes, stalls, or performance regressions.

  • Investigate failed health checks and growing queues
  • Reproduce request-specific timeouts or crashes
  • Investigate output changes after deployment
sgl-project/sglang37.3KUpdated Oct 19, 2026