[Refactor] Normalize DeepSeek V4.1 model package naming (#56741)
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
This commit is contained in:
@@ -49,7 +49,7 @@ _LAYER_TYPE_C128A = "c128a"
|
||||
# v4.1 ratio-1 / ratio-2 indexer layers: same indexer-path shape as C4A, but
|
||||
# their compressed page block is block_size // ratio, so each gets its own plan.
|
||||
# v4.1 builders classify layer types themselves (ratio 0 is SWA-only there); see
|
||||
# deepseek_v4_1/sparse_mla.py.
|
||||
# deepseek_v41/sparse_mla.py.
|
||||
_LAYER_TYPE_C1A = "c1a"
|
||||
_LAYER_TYPE_C2A = "c2a"
|
||||
|
||||
|
||||
@@ -108,10 +108,10 @@ class AttentionBackendEnum(Enum, metaclass=_AttentionBackendEnumMeta):
|
||||
# layer). Separate names from DSV4 so a V4.1 model never resolves the
|
||||
# V4.0 backend classes through this enum.
|
||||
FLASHMLA_SPARSE_DSV41 = (
|
||||
"vllm.models.deepseek_v4_1.sparse_mla.DeepseekV4FlashMLABackend"
|
||||
"vllm.models.deepseek_v41.sparse_mla.DeepseekV4FlashMLABackend"
|
||||
)
|
||||
FLASHINFER_MLA_SPARSE_DSV41 = (
|
||||
"vllm.models.deepseek_v4_1.nvidia.flashinfer_sparse."
|
||||
"vllm.models.deepseek_v41.nvidia.flashinfer_sparse."
|
||||
"DeepseekV4FlashInferMLASparseBackend"
|
||||
)
|
||||
B12X = "vllm.v1.attention.backends.b12x.B12xPagedAttentionBackend"
|
||||
|
||||
Reference in New Issue
Block a user