This commit is contained in:
sunny
2024-10-30 13:44:06 -04:00
parent 38773d661f
commit bfb80a3ef9

View File

@@ -393,7 +393,7 @@ class ModelLoader:
self.cfg.model_config_type in SUPPORTED_MULTIPACK_MODEL_TYPES
and self.cfg.flash_attention
and self.cfg.sample_packing
):
):
has_remote_code = (
"auto_map" in self.model_config
and self.model_type in self.model_config["auto_map"]