TensorRT-LLMs/cpp/tensorrt_llm
Yukun He fd4311e6a3
[TRTLLM-8129][feat] Allreduce tuning and benchmark script revising (#7870)
Because we have encountered some perf regression due to using a one-shot kernel instead of NCCL on A100/H100, it will be beneficial if we can have a solid benchmarking of allreduce Op and analyze the data collected from it.

Implemented new AllreduceOp heuristic:
- Added Linear programming-based heuristic implementation.
- Added LUT-based heuristic implementation and corresponding code generation script.

AllreduceOp minor fixing:
- Fixed a minor issue in AllreduceOp, that the strategy can not be overridden when ONESHOT or TWOSHOT is set.
- Fixed a minor TWOSHOT kernel perf issue.
- Cleaned up Dispatching code in AllReduceOp.

This PR will fix the perf gaps reported in:
https://nvbugspro.nvidia.com/bug/5517023

For Deepseek-R1, it shows a performance gain of about 3-4% in concurrency levels of 256 and 512.

Signed-off-by: Yukun He <23156053+hyukn@users.noreply.github.com>
2025-10-16 14:15:25 +08:00
..
batch_manager [https://nvbugs/5546202][fix] Fix concurrent bug for NIXL cache transceiver (#8147) 2025-10-13 09:40:56 +02:00
common [TRTLLM-8129][feat] Allreduce tuning and benchmark script revising (#7870) 2025-10-16 14:15:25 +08:00
cutlass_extensions/include/cutlass_extensions [TRTLLM-6286] [perf] Add NoSmem epilogue schedule and dynamic cluster shape for sm10x group gemm (#7757) 2025-09-21 11:38:17 +08:00
deep_ep [None][feat] DeepEP LL fp8 dispatch/combine (#7927) 2025-09-25 09:20:24 +08:00
deep_gemm [https://nvbugs/5433581][fix] DeepGEMM installation on SBSA (#6588) 2025-08-06 16:44:21 +08:00
executor [https://nvbugs/5534837][fix] Fix KV cache split on long context (#8247) 2025-10-13 11:48:49 -04:00
executor_worker Update TensorRT-LLM (#2792) 2025-02-18 21:27:39 +08:00
kernels [TRTLLM-8129][feat] Allreduce tuning and benchmark script revising (#7870) 2025-10-16 14:15:25 +08:00
layers refactor: Remove enforced sorted order of batch slots (#3502) 2025-07-14 17:23:02 +02:00
nanobind [#6102][fix] support non-system python installation (#7763) 2025-09-26 10:16:15 +08:00
plugins [None][chroe] Rename TensorRT-LLM to TensorRT LLM for source code. (#7851) 2025-09-25 21:02:35 +08:00
pybind [#6102][fix] support non-system python installation (#7763) 2025-09-26 10:16:15 +08:00
runtime [None][chroe] Rename TensorRT-LLM to TensorRT LLM for source code. (#7851) 2025-09-25 21:02:35 +08:00
testing fix: Improve chunking test and skip empty kernel calls (#5710) 2025-07-04 09:08:15 +02:00
thop [TRTLLM-8129][feat] Allreduce tuning and benchmark script revising (#7870) 2025-10-16 14:15:25 +08:00
CMakeLists.txt [#6102][fix] support non-system python installation (#7763) 2025-09-26 10:16:15 +08:00