Improve Per Commit Test job filtering for sglang-kernel (#18054)
This commit is contained in:
@@ -99,6 +99,19 @@ jobs:
|
|||||||
sgl_kernel:
|
sgl_kernel:
|
||||||
- "sgl-kernel/**"
|
- "sgl-kernel/**"
|
||||||
- ".github/workflows/pr-test-amd.yml"
|
- ".github/workflows/pr-test-amd.yml"
|
||||||
|
# Exclude non-ROCm platform configs and code
|
||||||
|
- "!sgl-kernel/pyproject_cpu.toml"
|
||||||
|
- "!sgl-kernel/pyproject.toml"
|
||||||
|
- "!sgl-kernel/pyproject_musa.toml"
|
||||||
|
- "!sgl-kernel/setup_musa.py"
|
||||||
|
- "!sgl-kernel/csrc/cpu/**"
|
||||||
|
# Exclude documentation and non-functional files
|
||||||
|
- "!sgl-kernel/README.md"
|
||||||
|
- "!sgl-kernel/LICENSE"
|
||||||
|
- "!sgl-kernel/THIRDPARTYNOTICES.txt"
|
||||||
|
- "!sgl-kernel/.clang-format"
|
||||||
|
- "!sgl-kernel/analyze_whl_kernel_sizes.py"
|
||||||
|
- "!sgl-kernel/rename_wheels.sh"
|
||||||
multimodal_gen:
|
multimodal_gen:
|
||||||
- "python/sglang/multimodal_gen/**"
|
- "python/sglang/multimodal_gen/**"
|
||||||
- "python/sglang/cli/**"
|
- "python/sglang/cli/**"
|
||||||
|
|||||||
@@ -58,7 +58,12 @@ jobs:
|
|||||||
- "python/sglang/!(multimodal_gen)/**"
|
- "python/sglang/!(multimodal_gen)/**"
|
||||||
- "python/pyproject_cpu.toml"
|
- "python/pyproject_cpu.toml"
|
||||||
- "test/**"
|
- "test/**"
|
||||||
- "sgl-kernel/**"
|
# Only trigger on CPU-specific sgl-kernel changes
|
||||||
|
- "sgl-kernel/pyproject_cpu.toml"
|
||||||
|
- "sgl-kernel/csrc/cpu/**"
|
||||||
|
- "sgl-kernel/python/**"
|
||||||
|
- "sgl-kernel/include/**"
|
||||||
|
- "sgl-kernel/tests/**"
|
||||||
- ".github/workflows/pr-test-xeon.yml"
|
- ".github/workflows/pr-test-xeon.yml"
|
||||||
- "docker/xeon.Dockerfile"
|
- "docker/xeon.Dockerfile"
|
||||||
|
|
||||||
|
|||||||
@@ -58,6 +58,20 @@ jobs:
|
|||||||
- "python/pyproject_xpu.toml"
|
- "python/pyproject_xpu.toml"
|
||||||
- "test/**"
|
- "test/**"
|
||||||
- "sgl-kernel/**"
|
- "sgl-kernel/**"
|
||||||
|
# Exclude non-XPU platform configs and code
|
||||||
|
- "!sgl-kernel/pyproject_cpu.toml"
|
||||||
|
- "!sgl-kernel/pyproject_rocm.toml"
|
||||||
|
- "!sgl-kernel/pyproject_musa.toml"
|
||||||
|
- "!sgl-kernel/setup_rocm.py"
|
||||||
|
- "!sgl-kernel/setup_musa.py"
|
||||||
|
- "!sgl-kernel/csrc/cpu/**"
|
||||||
|
# Exclude documentation and non-functional files
|
||||||
|
- "!sgl-kernel/README.md"
|
||||||
|
- "!sgl-kernel/LICENSE"
|
||||||
|
- "!sgl-kernel/THIRDPARTYNOTICES.txt"
|
||||||
|
- "!sgl-kernel/.clang-format"
|
||||||
|
- "!sgl-kernel/analyze_whl_kernel_sizes.py"
|
||||||
|
- "!sgl-kernel/rename_wheels.sh"
|
||||||
- ".github/workflows/pr-test-xpu.yml"
|
- ".github/workflows/pr-test-xpu.yml"
|
||||||
- "docker/xpu.Dockerfile"
|
- "docker/xpu.Dockerfile"
|
||||||
|
|
||||||
|
|||||||
@@ -122,6 +122,20 @@ jobs:
|
|||||||
- ".github/workflows/pr-test.yml"
|
- ".github/workflows/pr-test.yml"
|
||||||
sgl_kernel:
|
sgl_kernel:
|
||||||
- "sgl-kernel/**"
|
- "sgl-kernel/**"
|
||||||
|
# Exclude non-CUDA platform configs and code
|
||||||
|
- "!sgl-kernel/pyproject_cpu.toml"
|
||||||
|
- "!sgl-kernel/pyproject_rocm.toml"
|
||||||
|
- "!sgl-kernel/pyproject_musa.toml"
|
||||||
|
- "!sgl-kernel/setup_rocm.py"
|
||||||
|
- "!sgl-kernel/setup_musa.py"
|
||||||
|
- "!sgl-kernel/csrc/cpu/**"
|
||||||
|
# Exclude documentation and non-functional files
|
||||||
|
- "!sgl-kernel/README.md"
|
||||||
|
- "!sgl-kernel/LICENSE"
|
||||||
|
- "!sgl-kernel/THIRDPARTYNOTICES.txt"
|
||||||
|
- "!sgl-kernel/.clang-format"
|
||||||
|
- "!sgl-kernel/analyze_whl_kernel_sizes.py"
|
||||||
|
- "!sgl-kernel/rename_wheels.sh"
|
||||||
jit_kernel:
|
jit_kernel:
|
||||||
- "python/sglang/jit_kernel/**"
|
- "python/sglang/jit_kernel/**"
|
||||||
- "python/pyproject.toml"
|
- "python/pyproject.toml"
|
||||||
|
|||||||
Reference in New Issue
Block a user