[Refactor] Remove deepseek dead code (#48780)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
Wentao Ye
2026-07-17 14:57:13 +00:00
committed by GitHub
co-authored by mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent c4dd6d78fd
commit 877dae9c68
7 changed files with 3 additions and 387 deletions
@@ -11,7 +11,6 @@ from vllm._aiter_ops import rocm_aiter_ops
from vllm.compilation.decorators import support_torch_compile
from vllm.config import VllmConfig
from vllm.distributed import tensor_model_parallel_all_gather
from vllm.logger import init_logger
from vllm.model_executor.layers.fused_moe import (
fused_moe_make_expert_params_mapping,
)
@@ -38,8 +37,6 @@ from .deepseek_v2 import (
)
from .utils import get_pp_missing_layer_names, maybe_prefix
logger = init_logger(__name__)
def _restore_full_token_layout_if_needed(
hidden_states: torch.Tensor,