Skip to content

Commit da2aa36

Browse files
fix typo
1 parent 491bcb4 commit da2aa36

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

fastdeploy/worker/worker_process.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -648,15 +648,6 @@ def initialize_fd_config(args, ranks: int = 1, local_rank: int = 0) -> FDConfig:
648648

649649
if getattr(model_config, "num_hidden_layers", None) is None:
650650
raise ValueError("num_hidden_layers is None")
651-
# Set MoE phase based on splitwise role
652-
if parallel_config.splitwise_role == "mixed":
653-
parallel_config.moe_phase.phase = "prefill"
654-
elif parallel_config.splitwise_role == "prefill":
655-
parallel_config.moe_phase = "prefill"
656-
elif parallel_config.splitwise_role == "decode":
657-
parallel_config.moe_phase = "decode"
658-
elif parallel_config.splitwise_role is not None:
659-
raise NotImplementedError
660651

661652
quantization_config = model_config.quantization_config
662653
if not model_config.is_quantized:

0 commit comments

Comments
 (0)