Unverified Commit 62788f99 authored by LoganJane's avatar LoganJane Committed by GitHub
Browse files

[Bugfix] Delete unused redundant code in Kimi-K2.5 (#34427)


Signed-off-by: default avatarIsotr0py <mozf@mail2.sysu.edu.cn>
Co-authored-by: default avatarIsotr0py <mozf@mail2.sysu.edu.cn>
parent ea5ff3a1
......@@ -11,7 +11,6 @@ This module defines:
- KimiK25ForConditionalGeneration: Main model class
"""
import copy
from collections.abc import Iterable, Mapping, Sequence
from dataclasses import dataclass
from typing import Annotated, Any, Literal
......@@ -378,10 +377,6 @@ class KimiK25ForConditionalGeneration(
)
self.quant_config = quant_config
sub_vllm_config = copy.deepcopy(vllm_config)
sub_vllm_config.model_config.hf_config = (
sub_vllm_config.model_config.hf_config.text_config
)
with self._mark_language_model(vllm_config):
self.language_model = init_vllm_registered_model(
vllm_config=vllm_config,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment