* fix

* fix mistral
This commit is contained in:
Raushan Turganbay
2024-10-29 08:26:04 +01:00
committed by GitHub
parent 808d6c50f8
commit 63ca6d9771
3 changed files with 7 additions and 1 deletions

View File

@@ -3002,7 +3002,7 @@ class ModelTesterMixin:
def test_inputs_embeds_matches_input_ids_with_generate(self):
config, inputs_dict = self.model_tester.prepare_config_and_inputs_for_common()
for model_class in self.all_model_classes:
for model_class in self.all_generative_model_classes:
if model_class.__name__ not in [
*get_values(MODEL_FOR_CAUSAL_LM_MAPPING_NAMES),
*get_values(MODEL_FOR_VISION_2_SEQ_MAPPING_NAMES),