[Refactor] Normalize DeepSeek V4.1 model package naming (#56741)

Signed-off-by: Bugen Zhao <i@bugenzhao.com>
This commit is contained in:
Bugen Zhao
2026-09-13 23:17:50 -07:00
committed by GitHub
parent 10e8d5614c
commit cf1584f373
44 changed files with 71 additions and 72 deletions
+20
View File
@@ -0,0 +1,20 @@
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
"""DeepSeek V4.1 hardware-isolated model entry point."""
from vllm.platforms import current_platform
from .quant_config import DeepseekV4FP8Config
if current_platform.is_rocm():
from .amd.dspark import DSparkDeepseekV4ForCausalLM
from .amd.vl_model import DeepseekV41ForCausalLM
else:
from .nvidia.dspark import DSparkDeepseekV4ForCausalLM
from .nvidia.vl_model import DeepseekV41ForCausalLM
__all__ = [
"DSparkDeepseekV4ForCausalLM",
"DeepseekV4FP8Config",
"DeepseekV41ForCausalLM",
]