Commit 9a79b78
authored
[API change] deprecate tile_token_dim in trtllm_moe (#2086)
<!-- .github/pull_request_template.md -->
## 📌 Description
Deprecate `tile_token_dim` in trtllm_moe. It is already not used and
mark with deprecation warning, plan to deprecate totally in next major
release
<!-- 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
- [x] I have installed `pre-commit` by running `pip install pre-commit`
(or used your preferred method).
- [x] I have installed the hooks with `pre-commit install`.
- [x] 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.
-->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Refactor**
* Removed the deprecated `tile_tokens_dim` parameter from MOE benchmarks
and kernel functions, streamlining API calls and eliminating associated
deprecation warnings.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Signed-off-by: jiahanc <173873397+jiahanc@users.noreply.github.com>1 parent 54101e9 commit 9a79b78
File tree
10 files changed
+8
-91
lines changed- benchmarks
- routines
- samples
- csrc
- flashinfer/fused_moe
- tests/moe
10 files changed
+8
-91
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
170 | | - | |
| 169 | + | |
171 | 170 | | |
172 | 171 | | |
173 | 172 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
118 | 117 | | |
119 | 118 | | |
120 | 119 | | |
| |||
142 | 141 | | |
143 | 142 | | |
144 | 143 | | |
145 | | - | |
146 | 144 | | |
147 | 145 | | |
148 | 146 | | |
| |||
287 | 285 | | |
288 | 286 | | |
289 | 287 | | |
290 | | - | |
291 | 288 | | |
292 | 289 | | |
293 | 290 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | 119 | | |
127 | 120 | | |
128 | 121 | | |
| |||
560 | 553 | | |
561 | 554 | | |
562 | 555 | | |
563 | | - | |
564 | 556 | | |
565 | 557 | | |
566 | 558 | | |
| |||
705 | 697 | | |
706 | 698 | | |
707 | 699 | | |
708 | | - | |
709 | 700 | | |
710 | 701 | | |
711 | 702 | | |
| |||
780 | 771 | | |
781 | 772 | | |
782 | 773 | | |
783 | | - | |
784 | 774 | | |
785 | 775 | | |
786 | 776 | | |
| |||
1185 | 1175 | | |
1186 | 1176 | | |
1187 | 1177 | | |
1188 | | - | |
1189 | 1178 | | |
1190 | 1179 | | |
1191 | 1180 | | |
| |||
1277 | 1266 | | |
1278 | 1267 | | |
1279 | 1268 | | |
1280 | | - | |
1281 | | - | |
1282 | | - | |
1283 | | - | |
1284 | | - | |
1285 | | - | |
1286 | | - | |
1287 | | - | |
1288 | | - | |
1289 | | - | |
1290 | | - | |
1291 | | - | |
1292 | | - | |
1293 | | - | |
1294 | | - | |
1295 | | - | |
1296 | | - | |
1297 | | - | |
1298 | | - | |
1299 | | - | |
1300 | | - | |
1301 | 1269 | | |
1302 | 1270 | | |
1303 | 1271 | | |
| |||
1320 | 1288 | | |
1321 | 1289 | | |
1322 | 1290 | | |
1323 | | - | |
1324 | 1291 | | |
1325 | 1292 | | |
1326 | 1293 | | |
| |||
1381 | 1348 | | |
1382 | 1349 | | |
1383 | 1350 | | |
1384 | | - | |
1385 | 1351 | | |
1386 | 1352 | | |
1387 | 1353 | | |
| |||
1448 | 1414 | | |
1449 | 1415 | | |
1450 | 1416 | | |
1451 | | - | |
1452 | 1417 | | |
1453 | 1418 | | |
1454 | 1419 | | |
| |||
1527 | 1492 | | |
1528 | 1493 | | |
1529 | 1494 | | |
1530 | | - | |
1531 | 1495 | | |
1532 | 1496 | | |
1533 | 1497 | | |
| |||
1585 | 1549 | | |
1586 | 1550 | | |
1587 | 1551 | | |
1588 | | - | |
1589 | 1552 | | |
1590 | 1553 | | |
1591 | 1554 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments