Commit 6521ee2
fix: add missing dense_output parameter to topk_routing_with_score_function
The router.py passes dense_output=True for inference mode but the
merge took dev's version of moe_utils.py which lacks this parameter.
Added from main to fix TypeError in InferenceTopKRouter.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent fc2d334 commit 6521ee2
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
662 | 662 | | |
663 | 663 | | |
664 | 664 | | |
| 665 | + | |
665 | 666 | | |
666 | 667 | | |
667 | 668 | | |
| |||
774 | 775 | | |
775 | 776 | | |
776 | 777 | | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
777 | 781 | | |
778 | 782 | | |
779 | 783 | | |
| |||
0 commit comments