forked from EngineX-Cambricon/enginex-mlu370-vllm
add deepseekv3 and llama4
This commit is contained in:
@@ -230,6 +230,11 @@ def get_config(
|
|||||||
config.update({"architectures": [model_type]})
|
config.update({"architectures": [model_type]})
|
||||||
|
|
||||||
# Architecture mapping for models without explicit architectures field
|
# Architecture mapping for models without explicit architectures field
|
||||||
|
logger.warning("[DEBUG-ARCH] after load: type(config)=%s, "
|
||||||
|
"config.architectures=%s, config.model_type=%s",
|
||||||
|
type(config).__name__,
|
||||||
|
getattr(config, "architectures", "MISSING"),
|
||||||
|
getattr(config, "model_type", "MISSING"))
|
||||||
if not getattr(config, "architectures", None):
|
if not getattr(config, "architectures", None):
|
||||||
if config.model_type not in MODEL_MAPPING_NAMES:
|
if config.model_type not in MODEL_MAPPING_NAMES:
|
||||||
logger.warning(
|
logger.warning(
|
||||||
|
|||||||
Reference in New Issue
Block a user