Skip to content

Commit 822606b

Browse files
committed
fix test
1 parent d120a45 commit 822606b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/openvino/test_training.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,9 @@ def prepare_model_and_dataset(self, desc: OVTrainerTestDescriptor):
797797

798798
self.feature_extractor = AutoFeatureExtractor.from_pretrained(desc.model_id)
799799
self.tokenizer = self.feature_extractor
800-
self.model = AutoModelForAudioClassification.from_pretrained(desc.model_id, num_labels=self.num_labels)
800+
self.model = AutoModelForAudioClassification.from_pretrained(
801+
desc.model_id, num_labels=self.num_labels, attn_implementation="eager"
802+
)
801803
self.teacher_model = None
802804
if desc.teacher_model_id:
803805
self.teacher_model = AutoModelForAudioClassification.from_pretrained(

0 commit comments

Comments
 (0)