TensorRT-LLMs/tensorrt_llm/_torch/custom_ops
Yukun He 0ae7017342
Unify two versions of AllReduce custom op (#3032)
* Rewrite unit test for unified allreduce op. Removing the legacy unit test.
* Revise formats, fusion_op bindings. Put all tensors as optional inputs.
* Move the MoeAllreduceOp to a separate custom op.
* Move all the fusion patterns to the new version of the AllReduce fusion kernel. Remove the AllReduce strategy config. Revise the AllReduce strategies and fusion pattern definitions.
* Add more TODOs, fixing minor bugs, and remove legacy code.

Signed-off-by: Yukun He <23156053+hyukn@users.noreply.github.com>
2025-04-22 21:58:42 +08:00
..
__init__.py feat: Support cos_sin_cache in all cases. (#3517) 2025-04-16 13:48:44 +08:00
cpp_custom_ops.py Unify two versions of AllReduce custom op (#3032) 2025-04-22 21:58:42 +08:00
flashinfer_custom_ops.py feat: Support cos_sin_cache in all cases. (#3517) 2025-04-16 13:48:44 +08:00
torch_custom_ops.py Fix fused_moe fallback issue. (#3652) 2025-04-17 23:17:04 +08:00
userbuffers_custom_ops.py feat: Introduce UB allocator for pytorch flow (#3257) 2025-04-08 18:39:49 +08:00