🚀 The feature, motivation and pitch
(Part of the optimization effort for DeepSeek-R1 #12784)
In AutoDeploy backend for DeepSeek-R1 model, mla kernel (SwapsMmaAb, 1 CTA kernel) is 2x slower than that is used for PT(KeepsMmaAb, 2 CTA kernel).
But we cannot use 2CTA kernel in AutoDeploy, because
However, here the AllToAll performance in AutoDeploy is extremely slow.
So we need to have a performant AllToAll as PT.
How to reproduce:
working branch : https://github.com/nv-auto-deploy/TensorRT-LLM/tree/taylor/deepgemm_eran_mla
Add and change examples/auto_deploy/model_registry/configs/deepseek-r1.yaml as below:
max_num_tokens: 8192
detect_sharding:
enable_attention_dp: true
Rum cmd:
bench-sweep --model deepseek-ai/DeepSeek-R1-0528 --config-path deepseek-r1.yaml--server-type trtllm-autodeploy --isl 1000 --osl 1000 --concurrencies 256 --world-size 8
Alternatives
No response
Additional context
No response
Before submitting a new issue...
🚀 The feature, motivation and pitch
(Part of the optimization effort for DeepSeek-R1 #12784)
In AutoDeploy backend for DeepSeek-R1 model, mla kernel (SwapsMmaAb, 1 CTA kernel) is 2x slower than that is used for PT(KeepsMmaAb, 2 CTA kernel).
But we cannot use 2CTA kernel in AutoDeploy, because
However, here the AllToAll performance in AutoDeploy is extremely slow.
So we need to have a performant AllToAll as PT.
How to reproduce:
working branch : https://github.com/nv-auto-deploy/TensorRT-LLM/tree/taylor/deepgemm_eran_mla
Add and change examples/auto_deploy/model_registry/configs/deepseek-r1.yaml as below:
Rum cmd:
Alternatives
No response
Additional context
No response
Before submitting a new issue...