-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[CI] Register jit_kernel Test Files to Solve No Registry Found Error #21541
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,6 +18,13 @@ | |
| from sglang.jit_kernel.fused_qknorm_rope import ( | ||
| fused_qk_norm_rope as fused_qk_norm_rope_jit, | ||
| ) | ||
| from sglang.test.ci.ci_register import register_cuda_ci | ||
|
|
||
| register_cuda_ci( | ||
| est_time=17, | ||
| suite="stage-b-kernel-benchmark-1-gpu-large", | ||
| disabled="unknown est_time", | ||
| ) | ||
|
Comment on lines
+23
to
+27
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
|
||
| try: | ||
| from sgl_kernel import fused_qk_norm_rope as fused_qk_norm_rope_aot | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,6 +2,19 @@ | |
| import torch | ||
|
|
||
| from sglang.jit_kernel.cast import downcast_fp8 | ||
| from sglang.test.ci.ci_register import register_cuda_ci | ||
|
|
||
| register_cuda_ci( | ||
| est_time=24, | ||
| suite="stage-b-kernel-unit-1-gpu-large", | ||
| disabled="unknown est_time", | ||
| ) | ||
| register_cuda_ci( | ||
| est_time=120, | ||
| suite="nightly-kernel-1-gpu", | ||
| nightly=True, | ||
| disabled="unknown est_time", | ||
| ) | ||
|
Comment on lines
+7
to
+17
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The register_cuda_ci(
est_time=24,
suite="stage-b-kernel-unit-1-gpu-large",
)
register_cuda_ci(
est_time=120,
suite="nightly-kernel-1-gpu",
nightly=True,
) |
||
|
|
||
| DTYPES = [torch.bfloat16, torch.float16] | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,6 +9,19 @@ | |
| import torch | ||
|
|
||
| from sglang.jit_kernel.fused_qknorm_rope import fused_qk_norm_rope | ||
| from sglang.test.ci.ci_register import register_cuda_ci | ||
|
|
||
| register_cuda_ci( | ||
| est_time=64, | ||
| suite="stage-b-kernel-unit-1-gpu-large", | ||
| disabled="unknown est_time", | ||
| ) | ||
| register_cuda_ci( | ||
| est_time=256, | ||
| suite="nightly-kernel-1-gpu", | ||
| nightly=True, | ||
| disabled="unknown est_time", | ||
| ) | ||
|
Comment on lines
+14
to
+24
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The register_cuda_ci(
est_time=64,
suite="stage-b-kernel-unit-1-gpu-large",
)
register_cuda_ci(
est_time=256,
suite="nightly-kernel-1-gpu",
nightly=True,
) |
||
|
|
||
| try: | ||
| from sgl_kernel import fused_qk_norm_rope as fused_qk_norm_rope_aot | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
disabledparameter will cause this test to be registered but skipped by the CI. Since anest_timeis provided and the goal of this PR is to enable these tests, thedisabledparameter should be removed.