Skip to content
cccskills

sgl-project

@sgl-project

Organization

44 skills7 repositories 40.1K

Repositories

Skills (44)

Refine in search

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.6KUpdated Oct 21, 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.6KUpdated Oct 21, 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.6KUpdated Oct 21, 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.6KUpdated Oct 21, 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.6KUpdated Oct 21, 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.6KUpdated Oct 21, 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.6KUpdated Oct 21, 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.6KUpdated Oct 21, 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.6KUpdated Oct 21, 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.6KUpdated Oct 21, 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.6KUpdated Oct 21, 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.6KUpdated Oct 21, 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.6KUpdated Oct 21, 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.6KUpdated Oct 21, 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.6KUpdated Oct 21, 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.6KUpdated Oct 21, 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.6KUpdated Oct 21, 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.6KUpdated Oct 21, 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.6KUpdated Oct 21, 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.6KUpdated Oct 21, 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.6KUpdated Oct 21, 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.6KUpdated Oct 21, 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.6KUpdated Oct 21, 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.6KUpdated Oct 21, 2026

Is this your account? Link GitHub to bring it onto your creator page (Japanese)