fix accelerate tests for roberta xl (#31288)

* fix accelerate tests for roberta xl

* style
This commit is contained in:
Marc Sun
2024-06-06 15:44:35 +02:00
committed by GitHub
parent 5ba8ac54f5
commit 99895ae5e2
2 changed files with 3 additions and 1 deletions

View File

@@ -387,6 +387,8 @@ class XLMRobertaXLModelTest(ModelTesterMixin, GenerationTesterMixin, PipelineTes
else {}
)
model_split_percents = [0.5, 0.85, 0.95]
# TODO: Fix the failed tests
def is_pipeline_test_to_skip(
self, pipeline_test_casse_name, config_class, model_architecture, tokenizer_name, processor_name