# Configuration for the GitHub Labeler action # Automatically adds labels to PRs based on the files changed # Router specific (Rust code in sgl-model-gateway) model-gateway: - changed-files: - any-glob-to-any-file: 'sgl-model-gateway/**/*' # Kernel specific sgl-kernel: - changed-files: - any-glob-to-any-file: 'python/sglang/kernels/aot/**/*' # JIT kernel specific jit-kernel: - changed-files: - any-glob-to-any-file: - 'python/sglang/kernels/!(*.md)' - 'python/sglang/kernels/!(aot)/**/*' # Documentation documentation: - changed-files: - any-glob-to-any-file: - '**/*.md' - '**/*.mdx' - 'docs/**/*' - 'README*' - 'docs/**/*' # Dependencies dependencies: - changed-files: - any-glob-to-any-file: - '**/requirements*.txt' - '**/Cargo.toml' - '**/Cargo.lock' - '**/pyproject*.toml' - '**/setup.py' - '**/poetry.lock' - '**/package.json' - '**/package-lock.json' # Multi-modal Multi-modal: - changed-files: - any-glob-to-any-file: - '**/*multimodal*' - '**/*vision*' - '**/*vlm*' # Diffusion diffusion: - changed-files: - any-glob-to-any-file: 'python/sglang/multimodal_gen/**/*' # LoRA lora: - changed-files: - any-glob-to-any-file: - '**/*lora*' # Quantization quant: - changed-files: - any-glob-to-any-file: - '**/*quant*' - '**/*quantization*' # Speculative decoding speculative-decoding: - changed-files: - any-glob-to-any-file: - '**/*speculative*' # AMD specific amd: - changed-files: - any-glob-to-any-file: - '**/*amd*' - '**/*rocm*' # NPU specific npu: - changed-files: - any-glob-to-any-file: - '**/*npu*' - '**/*ascend*' # Blackwell blackwell: - changed-files: - any-glob-to-any-file: - '**/*nvfp4*' - 'python/sglang/srt/layers/attention/trtllm_mla_backend.py' - 'python/sglang/srt/layers/attention/trtllm_mha_backend.py' # DeepSeek specific deepseek: - changed-files: - any-glob-to-any-file: - '**/*deepseek*' memory-pool: - changed-files: - any-glob-to-any-file: - 'python/sglang/srt/mem_cache/pool/**/*' - 'python/sglang/srt/mem_cache/allocator/**/*' - 'python/sglang/srt/mem_cache/layout/**/*' - 'python/sglang/srt/mem_cache/**/*memory_pool*' - 'test/registered/mem_cache/**/*' unified-radix-cache: - changed-files: - any-glob-to-any-file: - 'python/sglang/srt/mem_cache/unified_cache/**/*' - 'python/sglang/srt/mem_cache/cpp_radix_tree/**/*' - 'python/sglang/srt/mem_cache/**/*radix*' - 'python/sglang/srt/mem_cache/chunk_cache.py' - 'python/sglang/srt/mem_cache/evict_policy.py' - 'python/sglang/srt/mem_cache/base_prefix_cache.py' - 'test/registered/radix_cache/**/*' hicache: - changed-files: - any-glob-to-any-file: - '**/*hicache*' - '**/*hiradix*' - '**/HiCache/**/*' - 'benchmark/hicache/**/*' - 'test/registered/hicache/**/*' - 'python/sglang/srt/managers/cache_controller.py' - 'python/sglang/srt/mem_cache/pool_host/**/*' - 'python/sglang/srt/mem_cache/hybrid_cache/**/*' - 'python/sglang/srt/mem_cache/storage/**/*' - 'python/sglang/srt/mem_cache/buffer_mode/**/*' - 'python/sglang/srt/mem_cache/**/*host*' - 'python/sglang/srt/mem_cache/**/*storage*' - 'python/sglang/srt/mem_cache/l2_transfer.py' # Deterministic deterministic: - changed-files: - any-glob-to-any-file: 'python/sglang/srt/batch_invariant_ops/**/*' # Piecewise CUDA Graph piecewise-cuda-graph: - changed-files: - any-glob-to-any-file: 'python/sglang/srt/compilation/**/*' # Moore Threads specific mthreads: - changed-files: - any-glob-to-any-file: - '**/*mthreads*' - '**/*musa*' - '**/musa/**' # Apple Silicon specific apple-silicon: - changed-files: - any-glob-to-any-file: - '**/*metal*' - '**/*mlx*' - '**/mlx/**' - '**/*mps*'