Skip to content

Commit d4641fd

Browse files
committed
fix: Preserve FP32 draft head fallback in Rubin MTP
Signed-off-by: Dongfeng Yu <dongfengy@nvidia.com>
1 parent 02cd3b1 commit d4641fd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • tensorrt_llm/_torch/_experimental/modeling_v2/models/glm_moe_dsa/glm_5_2_nvfp4__sm_107__high_throughput

‎tensorrt_llm/_torch/_experimental/modeling_v2/models/glm_moe_dsa/glm_5_2_nvfp4__sm_107__high_throughput/_mtp_worker.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ def _adp_plan(
5353
if (
5454
head.has_any_quant
5555
or head.weight.dtype != torch.bfloat16
56+
or head.output_dtype not in (None, torch.bfloat16)
5657
or head_mapping.tp_size < 2
5758
or head.out_features % (8 * head_mapping.tp_size) != 0
5859
):

0 commit comments

Comments
 (0)