Clear torch.compile cache before each benchmark#13423
Clear torch.compile cache before each benchmark#13423huydhn wants to merge 1 commit intovllm-project:mainfrom
Conversation
vllm-project#13392 Signed-off-by: Huy Do <huydhn@gmail.com>
|
👋 Hi! Thank you for contributing to the vLLM project. 💬 Join our developer Slack at https://slack.vllm.ai to discuss your PR in #pr-reviews, coordinate on features in #feat- channels, or join special interest groups in #sig- channels. Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging. To run CI, PR reviewers can either: Add 🚀 |
Sounds good, let me try #13445. This change might make sense if we want all benchmark runs to be the same (with cold start), but I guess this is a small point. |
vLLM guarantees that all compilation finishes in its own warmup phase. no compilation will happen when we serve requests. |
This is a work around that I'm using to run v1 benchmark due to #13392
cc @youkaichao @ywang96