Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/example_diff/run_audio_classification.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion tests/example_diff/run_clip.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion tests/example_diff/run_clm.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
---
Expand Down
2 changes: 1 addition & 1 deletion tests/example_diff/run_glue.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion tests/example_diff/run_image_classification.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion tests/example_diff/run_mlm.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
---
Expand Down
2 changes: 1 addition & 1 deletion tests/example_diff/run_qa.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
---
Expand Down
2 changes: 1 addition & 1 deletion tests/example_diff/run_seq2seq_qa.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
---
Expand Down
2 changes: 1 addition & 1 deletion tests/example_diff/run_speech_recognition_ctc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
---
Expand Down
2 changes: 1 addition & 1 deletion tests/example_diff/run_summarization.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
---
Expand Down
2 changes: 1 addition & 1 deletion tests/example_diff/run_translation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
---
Expand Down