-
Notifications
You must be signed in to change notification settings - Fork 728
test: Pre-download models before tests are ran #4811
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
…begin Signed-off-by: Jacky <[email protected]>
Signed-off-by: Jacky <[email protected]>
This reverts commit 6924769. Signed-off-by: Jacky <[email protected]>
WalkthroughA new pytest hook is added to Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Poem
Pre-merge checks✅ Passed checks (3 passed)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (7)
🧰 Additional context used🧠 Learnings (1)📚 Learning: 2025-10-03T01:53:15.023ZApplied to files:
🧬 Code graph analysis (3)tests/fault_tolerance/cancellation/test_sglang.py (4)
tests/fault_tolerance/cancellation/test_vllm.py (4)
tests/fault_tolerance/migration/test_trtllm.py (1)
🪛 Ruff (0.14.8)tests/fault_tolerance/cancellation/test_sglang.py164-164: Unused function argument: (ARG001) 248-248: Unused function argument: (ARG001) tests/fault_tolerance/migration/test_vllm.py118-118: Unused function argument: (ARG001) 118-118: Unused function argument: (ARG001) 162-162: Unused function argument: (ARG001) 162-162: Unused function argument: (ARG001) 210-210: Unused function argument: (ARG001) 210-210: Unused function argument: (ARG001) 270-270: Unused function argument: (ARG001) 270-270: Unused function argument: (ARG001) tests/fault_tolerance/cancellation/test_vllm.py137-137: Unused function argument: (ARG001) 210-210: Unused function argument: (ARG001) 210-210: Unused function argument: (ARG001) 280-280: Unused function argument: (ARG001) 280-280: Unused function argument: (ARG001) tests/fault_tolerance/migration/test_sglang.py118-118: Unused function argument: (ARG001) 118-118: Unused function argument: (ARG001) 162-162: Unused function argument: (ARG001) 162-162: Unused function argument: (ARG001) 210-210: Unused function argument: (ARG001) 210-210: Unused function argument: (ARG001) 270-270: Unused function argument: (ARG001) 270-270: Unused function argument: (ARG001) tests/fault_tolerance/migration/test_trtllm.py114-114: Unused function argument: (ARG001) 114-114: Unused function argument: (ARG001) 158-158: Unused function argument: (ARG001) 158-158: Unused function argument: (ARG001) 206-206: Unused function argument: (ARG001) 206-206: Unused function argument: (ARG001) 266-266: Unused function argument: (ARG001) 266-266: Unused function argument: (ARG001) tests/fault_tolerance/cancellation/test_trtllm.py144-144: Unused function argument: (ARG001) 216-216: Unused function argument: (ARG001) 287-287: Unused function argument: (ARG001) 372-372: Unused function argument: (ARG001) ⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (9)
🔇 Additional comments (9)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
keivenchang
left a comment
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.
NICE
Overview:
Pre-download models before the first test case is ran, avoid model download time from be counted against the first test case.
Details:
Added
pytest_runtestloopthat checks for model marker and download those models before any test case is started.The new pre-download is verified on CI, over
pre_merge:https://github.com/ai-dynamo/dynamo/actions/runs/20046561895/job/57493248332?pr=4811#step:8:108
Where should the reviewer start?
N/A
Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)
N/A
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.