-
Notifications
You must be signed in to change notification settings - Fork 11
refine ci workflow #12
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
Conversation
|
@mingfeima, can you please kindly help to review the PR to refine kernel ci pipeline? |
tests/run_suite.py
Outdated
| estimated_time: float = 60 | ||
|
|
||
|
|
||
| # Add Intel Xeon tests |
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.
this should be xpu tests, right?
| } | ||
|
|
||
|
|
||
| def auto_partition(files, rank, size): |
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.
can you elaborate more what does this function do?
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.
this file is fully ported from sglang main, aiming to achieve load balance when tests workload is heavy. we may not use this function for now. Shall I remove this function?
|
How much time does each CI run take for now? |
6-8 mins for the whole process. 5 mins for docker build and 1-2 mins for kernel test. |
Summary
This PR aims to optimize the CI pipeline by aligning the testing workflow with the sglang main repository. The key change is to adopt run_suite.py as the central script for managing test scope, replacing ad-hoc test selection logic. This improves consistency, maintainability, and scalability of CI across platforms.
Motivation
By aligning with the sglang main repo’s practice of using run_suite.py, we can:
✅ Centralize test suite definitions.
✅ Enable dynamic and reusable test scope management.
✅ Simplify future additions (e.g., new platforms(BMG, CRI), test categories).
python run_suite.py --suite per-commit
Key Changes: