add deepseekv3 and llama4

This commit is contained in:
Chranos
2026-02-11 15:13:14 +08:00
parent eaeb5169e0
commit 86fd3b5a92
3 changed files with 3 additions and 9 deletions

View File

@@ -230,11 +230,6 @@ 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(