[chore] Fix CI pre-commit mypy error#3040
Conversation
Signed-off-by: jiahanc <173873397+jiahanc@users.noreply.github.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe PR updates Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
There was a problem hiding this comment.
Code Review
This pull request updates the allreduce_fusion function in flashinfer/comm/allreduce.py to include quant_out, scale_out, and routed_scaling_factor parameters in an internal call. A review comment suggests passing the actual quant_out and scale_out variables from the function arguments instead of hardcoding them to None to properly support quantization outputs.
Signed-off-by: jiahanc <173873397+jiahanc@users.noreply.github.com>
yzh119
left a comment
There was a problem hiding this comment.
LGTM, do you have any idea which PR breaks the pre-commit CI on mainline? How does it escape check?
Relevant code was introduced in this PR #2982. pre-commit didnt fail in PR stage but failed right after it merged |
📌 Description
Fix CI pre-commit mypy error
🔍 Related Issues
🚀 Pull Request Checklist
Thank you for contributing to FlashInfer! Before we review your pull request, please make sure the following items are complete.
✅ Pre-commit Checks
pre-commitby runningpip install pre-commit(or used your preferred method).pre-commit install.pre-commit run --all-filesand fixed any reported issues.🧪 Tests
unittest, etc.).Reviewer Notes
Summary by CodeRabbit