Skip to content
cccskills

Browse skills

44 skills (repositories by sgl-project) · sorted by popularity

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

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

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

add-sgl-kernel

FreeSummary

Add a CUDA/C++ GPU operation to sgl-kernel using AOT, meaning compilation before use. Follow the implementation through PyTorch registration, Python API exposure, SGLang integration, correctness tests, and benchmarks that account for cache reuse.

  • Adding a CUDA/C++ operation to sgl-kernel
  • Registering an operation with PyTorch and exposing a Python API
  • Testing numerical results and invalid inputs
sgl-project/sglang37.3KUpdated Oct 19, 2026

Monitor selected GitHub Actions checks on an SGLang pull request until they pass on its latest commit. Diagnose failures, push small validated fixes, and retry only failed jobs within defined limits.

  • Monitor selected PR checks until they pass
  • Separate code failures from infrastructure problems
  • Apply small fixes and track the resulting checks
sgl-project/sglang37.3KUpdated Oct 19, 2026

ci-test-audit

FreeSummary

Review existing tests and CI, the automated checks run during development, for redundant coverage, misplaced tests, and opportunities to reduce runtime or cost. Receive file-specific recommendations based on documented improvement patterns, with uncertain findings separated.

  • Investigating a slow test suite
  • Finding redundant or misplaced tests
  • Reviewing CI runtime and cost
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

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

Calculate how to divide serving memory between recurrent state and KV cache, two memory pools used by hybrid models. Use startup logs and workload settings to recommend a ratio, estimate concurrency, and identify the limiting pool.

  • Choosing a memory ratio for a hybrid model
  • Investigating limits on concurrent requests
  • Recalculating memory allocation for context length
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

Review SGLang Cookbook pull requests for configuration errors, documentation mismatches, benchmark issues, and broken links. Get findings for each file and an overall recommendation on whether to approve, request changes, or block the contribution.

  • Reviewing a new model's Cookbook contribution
  • Checking documentation against generated launch commands
  • Checking benchmark definitions and measurement consistency
sgl-project/sglang37.3KUpdated Oct 19, 2026

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

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

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

Build and debug sglang tests comparing token probabilities during prompt processing and step-by-step generation. Separate numerical differences from reused-state bugs, choose test thresholds, and locate the first operation that diverges.

  • Adding probability consistency tests for a model
  • Choosing or justifying a kl_div threshold
  • Separating numerical differences from cache state bugs
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

Analyze LLM serving traces to identify GPU time usage, opportunities to run operations concurrently, and known patterns for combining operations. Produce three consistent tables from saved traces or live captures on supported servers.

  • Identify GPU operations that dominate inference time
  • Compare input processing and token generation
  • Trace GPU operations back to Python code
sgl-project/sglang37.3KUpdated Oct 19, 2026

Verify file splits, function moves, module extractions, and renames by reproducing changes from a base commit and comparing files byte for byte. Generate repeatable proof scripts and reports that expose changes beyond relocation.

  • Splitting a refactor into preparation, movement, and follow-up commits
  • Generating repeatable proof scripts for code moves
  • Verifying every provable commit in a branch
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

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

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

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

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

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