From e71b18fb2681de276d30eae509084f0f03afae72 Mon Sep 17 00:00:00 2001 From: Arthur Zucker Date: Fri, 3 May 2024 08:53:54 +0200 Subject: [PATCH] last skip and fixup --- tests/models/layoutlmv3/test_image_processing_layoutlmv3.py | 1 - tests/models/tapas/test_modeling_tapas.py | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/models/layoutlmv3/test_image_processing_layoutlmv3.py b/tests/models/layoutlmv3/test_image_processing_layoutlmv3.py index 378f65b883f419..8d4b64c2ccd409 100644 --- a/tests/models/layoutlmv3/test_image_processing_layoutlmv3.py +++ b/tests/models/layoutlmv3/test_image_processing_layoutlmv3.py @@ -95,7 +95,6 @@ def test_image_processor_from_dict_with_kwargs(self): image_processor = self.image_processing_class.from_dict(self.image_processor_dict, size=42) self.assertEqual(image_processor.size, {"height": 42, "width": 42}) - def test_LayoutLMv3_integration_test(self): # with apply_OCR = True image_processing = LayoutLMv3ImageProcessor() diff --git a/tests/models/tapas/test_modeling_tapas.py b/tests/models/tapas/test_modeling_tapas.py index 7fbfcc6682fa0b..7918cad2b98ce9 100644 --- a/tests/models/tapas/test_modeling_tapas.py +++ b/tests/models/tapas/test_modeling_tapas.py @@ -522,12 +522,13 @@ def test_for_sequence_classification(self): @require_tensorflow_probability @unittest.skip("tfp is not defined even if installed. FIXME @Arthur in a followup PR!") def test_pt_tf_model_equivalence(self): - super().test_pt_tf_model_equivalence() + pass @unittest.skip("tfp is not defined even if installed. FIXME @Arthur in a followup PR!") def test_tf_from_pt_safetensors(self): pass + def prepare_tapas_single_inputs_for_inference(): # Here we prepare a single table-question pair to test TAPAS inference on: data = {