Skip to content

Commit 5cd9805

Browse files
authored
minor: disable warning on auto-deduce (#1458)
<!-- .github/pull_request_template.md --> ## 📌 Description <!-- What does this PR do? Briefly describe the changes and why they’re needed. --> ## 🔍 Related Issues <!-- Link any related issues here --> ## 🚀 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 - [ ] I have installed `pre-commit` by running `pip install pre-commit` (or used your preferred method). - [ ] I have installed the hooks with `pre-commit install`. - [ ] I have run the hooks manually with `pre-commit run --all-files` and fixed any reported issues. > If you are unsure about how to set up `pre-commit`, see [the pre-commit documentation](https://pre-commit.com/). ## 🧪 Tests - [ ] Tests have been added or updated as needed. - [ ] All tests are passing (`unittest`, etc.). ## Reviewer Notes <!-- Optional: anything you'd like reviewers to focus on, concerns, etc. -->
1 parent 33b62a6 commit 5cd9805

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

flashinfer/comm/trtllm_ar.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -822,9 +822,6 @@ def trtllm_allreduce_fusion(
822822
"""
823823

824824
if use_oneshot is None:
825-
logging.warning(
826-
"use_oneshot is not specified. It would be enabled if token_num is less than the one-shot max token number (currently 128) for min-latency mode."
827-
)
828825
use_oneshot = token_num <= 128
829826

830827
if not use_oneshot:

0 commit comments

Comments
 (0)