[CI] Remove flashinfer cache cleanup to reduce unit test runtime#7476
Conversation
|
Thanks for your contribution! |
|
/skip-ci ci_iluvatar |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #7476 +/- ##
==========================================
Coverage ? 73.85%
==========================================
Files ? 398
Lines ? 54988
Branches ? 8616
==========================================
Hits ? 40613
Misses ? 11659
Partials ? 2716
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
PaddlePaddle-bot
left a comment
There was a problem hiding this comment.
🤖 AI Code Review |
2026-04-20 23:20:16
📋 Review 摘要
PR 概述:移除分布式测试中不必要的 flashinfer 缓存清理步骤,减少 CI 单元测试运行时间
变更范围:tests/layers/test_trtllm_allreduce_rms_fusion.py
影响面 Tag:CI
问题
未发现阻塞性问题。
总体评价
变更简洁明确,移除了与测试正确性无关的缓存清理操作(rm -rf /root/.cache/flashinfer),可有效减少 CI 测试启动开销。剩余代码中 os 和 subprocess 模块仍有使用,无死导入问题。
Motivation
The
flashinfer cachecleanup step was introducing unnecessary overhead during unit test execution.Since the cache removal is not required for test correctness, it leads to increased test runtime without providing additional value.
Modifications
/root/.cache/flashinfer) in the distributed test.Usage or Command
N/A
Accuracy Tests
N/A
Checklist
[FDConfig],[APIServer],[Engine],[Scheduler],[PD Disaggregation],[Executor],[Graph Optimization],[Speculative Decoding],[RL],[Models],[Quantization],[Loader],[OP],[KVCache],[DataProcessor],[BugFix],[Docs],[CI],[Optimization],[Feature],[Benchmark],[Others],[XPU],[HPU],[GCU],[DCU],[Iluvatar],[Metax]]pre-commitbefore commit.releasebranch, make sure the PR has been submitted to thedevelopbranch, then cherry-pick it to thereleasebranch with the[Cherry-Pick]PR tag.