diff --git a/tests/models/phi4_multimodal/test_modeling_phi4_multimodal.py b/tests/models/phi4_multimodal/test_modeling_phi4_multimodal.py index 6274f26ea605..e93ae070fa90 100644 --- a/tests/models/phi4_multimodal/test_modeling_phi4_multimodal.py +++ b/tests/models/phi4_multimodal/test_modeling_phi4_multimodal.py @@ -276,13 +276,13 @@ def test_flex_attention_with_grads(self): @slow class Phi4MultimodalIntegrationTest(unittest.TestCase): checkpoint_path = "microsoft/Phi-4-multimodal-instruct" - revision = "refs/pr/70" + revision = "refs/pr/94" image_url = "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/australia.jpg" audio_url = "https://huggingface.co/datasets/raushan-testing-hf/audio-test/resolve/main/f2641_0_throatclearing.wav" def setUp(self): # Currently, the Phi-4 checkpoint on the hub is not working with the latest Phi-4 code, so the slow integration tests - # won't pass without using the correct revision (refs/pr/70) + # won't pass without using the correct revision (refs/pr/94) self.processor = AutoProcessor.from_pretrained(self.checkpoint_path, revision=self.revision) self.generation_config = GenerationConfig(max_new_tokens=20, do_sample=False) self.user_token = "<|user|>" diff --git a/tests/models/phi4_multimodal/test_processing_phi4_multimodal.py b/tests/models/phi4_multimodal/test_processing_phi4_multimodal.py index 343768c0bb5f..a8c3f0db4db2 100644 --- a/tests/models/phi4_multimodal/test_processing_phi4_multimodal.py +++ b/tests/models/phi4_multimodal/test_processing_phi4_multimodal.py @@ -32,7 +32,7 @@ class Phi4MultimodalProcessorTest(ProcessorTesterMixin, unittest.TestCase): processor_class = Phi4MultimodalProcessor checkpoint_path = "microsoft/Phi-4-multimodal-instruct" - revision = "refs/pr/70" + revision = "refs/pr/94" text_input_name = "input_ids" images_input_name = "image_pixel_values" audio_input_name = "audio_input_features"