Revert "[Rocm][Kimi-k3] Fix pipeline_parallel support for the kimik3 DCP mode (#53664)" (#56429)

Signed-off-by: Shanshan Shen <87969357+shen-shanshan@users.noreply.github.com>
This commit is contained in:
Shanshan Shen
2026-09-11 09:17:26 -07:00
committed by GitHub
parent b87339888d
commit 127143e27f
2 changed files with 0 additions and 12 deletions
-2
View File
@@ -129,8 +129,6 @@ def test_registry_model_property(model_arch, is_mm, init_cuda, score_type):
# in V1.
# ("MLPSpeculatorPreTrainedModel", False, False),
("DeepseekV2ForCausalLM", True, False),
("KimiLinearForCausalLM", True, False),
("KimiK3ForConditionalGeneration", True, False),
("Qwen2VLForConditionalGeneration", True, True),
],
)
@@ -2543,16 +2543,6 @@ class MLACommonMetadataBuilder(AttentionMetadataBuilder[M]):
if num_decodes > 0:
dcp_tot_seq_lens_device = None
if self.dcp_world_size > 1:
assert seq_lens is not None, (
"MLA DCP decode requires seq_lens on CommonAttentionMetadata"
)
if dcp_local_seq_lens is None:
dcp_local_seq_lens = get_dcp_local_seq_lens(
seq_lens,
dcp_size=self.dcp_world_size,
dcp_rank=get_dcp_group().rank_in_group,
cp_kv_cache_interleave_size=self.cp_kv_cache_interleave_size,
)
dcp_tot_seq_lens_device = seq_lens[:num_decodes]
seq_lens = dcp_local_seq_lens