From 2379211f832e4b58ad0eb773667fb82cc5e89d5a Mon Sep 17 00:00:00 2001 From: regisss <15324346+regisss@users.noreply.github.com> Date: Tue, 23 Jan 2024 11:31:25 +0100 Subject: [PATCH] Update example diff files --- tests/example_diff/run_audio_classification.txt | 2 +- tests/example_diff/run_clip.txt | 2 +- tests/example_diff/run_clm.txt | 2 +- tests/example_diff/run_glue.txt | 2 +- tests/example_diff/run_image_classification.txt | 2 +- tests/example_diff/run_mlm.txt | 2 +- tests/example_diff/run_qa.txt | 2 +- tests/example_diff/run_seq2seq_qa.txt | 2 +- tests/example_diff/run_speech_recognition_ctc.txt | 2 +- tests/example_diff/run_summarization.txt | 2 +- tests/example_diff/run_translation.txt | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/tests/example_diff/run_audio_classification.txt b/tests/example_diff/run_audio_classification.txt index 5370a4ca4b..db3fb9f98f 100644 --- a/tests/example_diff/run_audio_classification.txt +++ b/tests/example_diff/run_audio_classification.txt @@ -28,7 +28,7 @@ > 47,48c49,51 < # Will error if the minimal version of Transformers is not installed. Remove at your own risks. -< check_min_version("4.37.0.dev0") +< check_min_version("4.38.0.dev0") --- > # Will error if the minimal version of Transformers and Optimum Habana are not installed. Remove at your own risks. > check_min_version("4.34.0") diff --git a/tests/example_diff/run_clip.txt b/tests/example_diff/run_clip.txt index 519fe4de11..497230f546 100644 --- a/tests/example_diff/run_clip.txt +++ b/tests/example_diff/run_clip.txt @@ -25,7 +25,7 @@ > 57,58c64,66 < # Will error if the minimal version of Transformers is not installed. Remove at your own risks. -< check_min_version("4.37.0.dev0") +< check_min_version("4.38.0.dev0") --- > # Will error if the minimal version of Transformers and Optimum Habana are not installed. Remove at your own risks. > check_min_version("4.34.0") diff --git a/tests/example_diff/run_clm.txt b/tests/example_diff/run_clm.txt index 9e725fa24f..5ecca11c51 100644 --- a/tests/example_diff/run_clm.txt +++ b/tests/example_diff/run_clm.txt @@ -25,7 +25,7 @@ > from optimum.habana.utils import set_seed 58,59d53 < # Will error if the minimal version of Transformers is not installed. Remove at your own risks. -< check_min_version("4.37.0.dev0") +< check_min_version("4.38.0.dev0") 61c55,61 < require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/language-modeling/requirements.txt") --- diff --git a/tests/example_diff/run_glue.txt b/tests/example_diff/run_glue.txt index a169e1391c..ce6db5c51b 100644 --- a/tests/example_diff/run_glue.txt +++ b/tests/example_diff/run_glue.txt @@ -24,7 +24,7 @@ > logger = logging.getLogger(__name__) 51,52c60,62 < # Will error if the minimal version of Transformers is not installed. Remove at your own risks. -< check_min_version("4.37.0.dev0") +< check_min_version("4.38.0.dev0") --- > # Will error if the minimal version of Transformers and Optimum Habana are not installed. Remove at your own risks. > check_min_version("4.34.0") diff --git a/tests/example_diff/run_image_classification.txt b/tests/example_diff/run_image_classification.txt index 5db5dfc7d7..dd919e03c9 100644 --- a/tests/example_diff/run_image_classification.txt +++ b/tests/example_diff/run_image_classification.txt @@ -25,7 +25,7 @@ < """ Fine-tuning a 🤗 Transformers model for image classification""" 59,60c66,68 < # Will error if the minimal version of Transformers is not installed. Remove at your own risks. -< check_min_version("4.37.0.dev0") +< check_min_version("4.38.0.dev0") --- > # Will error if the minimal version of Transformers and Optimum Habana are not installed. Remove at your own risks. > check_min_version("4.34.0") diff --git a/tests/example_diff/run_mlm.txt b/tests/example_diff/run_mlm.txt index cb00bcc37a..5c57ce7710 100644 --- a/tests/example_diff/run_mlm.txt +++ b/tests/example_diff/run_mlm.txt @@ -20,7 +20,7 @@ > from optimum.habana.utils import set_seed 56,57d51 < # Will error if the minimal version of Transformers is not installed. Remove at your own risks. -< check_min_version("4.37.0.dev0") +< check_min_version("4.38.0.dev0") 59c53,59 < require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/language-modeling/requirements.txt") --- diff --git a/tests/example_diff/run_qa.txt b/tests/example_diff/run_qa.txt index fe8b04b998..7a744da401 100644 --- a/tests/example_diff/run_qa.txt +++ b/tests/example_diff/run_qa.txt @@ -19,7 +19,7 @@ > from optimum.habana.utils import set_seed 52,53d50 < # Will error if the minimal version of Transformers is not installed. Remove at your own risks. -< check_min_version("4.37.0.dev0") +< check_min_version("4.38.0.dev0") 55c52,58 < require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/question-answering/requirements.txt") --- diff --git a/tests/example_diff/run_seq2seq_qa.txt b/tests/example_diff/run_seq2seq_qa.txt index 56f7496546..8b4696a663 100644 --- a/tests/example_diff/run_seq2seq_qa.txt +++ b/tests/example_diff/run_seq2seq_qa.txt @@ -11,7 +11,7 @@ > from optimum.habana.utils import set_seed 49,50d47 < # Will error if the minimal version of Transformers is not installed. Remove at your own risks. -< check_min_version("4.37.0.dev0") +< check_min_version("4.38.0.dev0") 52c49,55 < require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/question-answering/requirements.txt") --- diff --git a/tests/example_diff/run_speech_recognition_ctc.txt b/tests/example_diff/run_speech_recognition_ctc.txt index ed35e25426..394733e689 100644 --- a/tests/example_diff/run_speech_recognition_ctc.txt +++ b/tests/example_diff/run_speech_recognition_ctc.txt @@ -13,7 +13,7 @@ > from optimum.habana.utils import set_seed 53,54d50 < # Will error if the minimal version of Transformers is not installed. Remove at your own risks. -< check_min_version("4.37.0.dev0") +< check_min_version("4.38.0.dev0") 56c52,57 < require_version("datasets>=1.18.0", "To fix: pip install -r examples/pytorch/speech-recognition/requirements.txt") --- diff --git a/tests/example_diff/run_summarization.txt b/tests/example_diff/run_summarization.txt index 55b75f35ec..a4b00ddfe8 100644 --- a/tests/example_diff/run_summarization.txt +++ b/tests/example_diff/run_summarization.txt @@ -23,7 +23,7 @@ > from optimum.habana.utils import set_seed 55,56d56 < # Will error if the minimal version of Transformers is not installed. Remove at your own risks. -< check_min_version("4.37.0.dev0") +< check_min_version("4.38.0.dev0") 58c58,64 < require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/summarization/requirements.txt") --- diff --git a/tests/example_diff/run_translation.txt b/tests/example_diff/run_translation.txt index 229645d8de..4800f810d2 100644 --- a/tests/example_diff/run_translation.txt +++ b/tests/example_diff/run_translation.txt @@ -15,7 +15,7 @@ > from optimum.habana.utils import set_seed 55,56d53 < # Will error if the minimal version of Transformers is not installed. Remove at your own risks. -< check_min_version("4.37.0.dev0") +< check_min_version("4.38.0.dev0") 58c55,61 < require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/translation/requirements.txt") ---