not sure if this is necessary actually

This commit is contained in:
Sunny
2025-01-16 15:08:34 -05:00
parent a6f2c5d583
commit aad62428e0

View File

@@ -405,7 +405,7 @@ class ModelLoader:
if (
self.cfg.model_config_type in SUPPORTED_MULTIPACK_MODEL_TYPES
and self.cfg.flash_attention
and (self.cfg.flash_attention or self.cfg.flex_attention)
and self.cfg.sample_packing
):
if "auto_map" in self.model_config: