[Kernel] Move sgl-kernel under sglang.kernels.aot (#32648)

This commit is contained in:
Xiaoyu Zhang
2026-07-29 17:25:00 +08:00
committed by GitHub
parent 1b9dfa14e6
commit c32c4ef79c
370 changed files with 300 additions and 269 deletions
+2 -2
View File
@@ -289,14 +289,14 @@ def load_permissions(user_login):
def has_sgl_kernel_changes(pr):
"""
Check if the PR has changes to the sgl-kernel directory.
Check if the PR has changes to the AOT kernel directory.
This is used to determine if we need a full workflow rerun
(to rebuild the kernel) vs just rerunning failed jobs.
"""
try:
files = pr.get_files()
for f in files:
if f.filename.startswith("sgl-kernel/"):
if f.filename.startswith("python/sglang/kernels/aot/"):
return True
return False
except Exception as e: