diff --git a/src/axolotl/utils/models.py b/src/axolotl/utils/models.py index 64653800f..110b332ef 100644 --- a/src/axolotl/utils/models.py +++ b/src/axolotl/utils/models.py @@ -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"]