isolating problematic test
This commit is contained in:
@@ -12,7 +12,6 @@ from axolotl.integrations.differential_transformer.differential_attention import
|
||||
|
||||
def patch_llama_attention_classes():
|
||||
"""Patch transformers to support differential attention"""
|
||||
|
||||
# Add our attention class to the registry
|
||||
LLAMA_ATTENTION_CLASSES["differential_eager"] = LlamaDifferentialAttention
|
||||
LLAMA_ATTENTION_CLASSES["differential_sdpa"] = LlamaDifferentialSdpaAttention
|
||||
|
||||
@@ -843,7 +843,6 @@ class ModelLoader:
|
||||
if self.cfg.is_multimodal:
|
||||
self.model_config.text_config = self.text_model_config
|
||||
|
||||
# self.model._attn_implementation_autoset = False
|
||||
self.model = self.AutoModelLoader.from_pretrained(
|
||||
self.base_model,
|
||||
config=self.model_config,
|
||||
|
||||
Reference in New Issue
Block a user