add deepseekv3 and llama4

This commit is contained in:
Chranos
2026-02-11 15:05:55 +08:00
parent 5ed7baa68e
commit 1a3e04b0e4

View File

@@ -230,6 +230,11 @@ def get_config(
config.update({"architectures": [model_type]})
# 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 config.model_type not in MODEL_MAPPING_NAMES:
logger.warning(