Skip to content

Commit

Permalink
Extra second warn
Browse files Browse the repository at this point in the history
  • Loading branch information
muellerzr committed Jan 23, 2024
1 parent d9e825b commit e7e2683
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/transformers/training_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -1818,12 +1818,6 @@ def __post_init__(self):
f"{self.hub_model_id}).",
FutureWarning,
)
if self.split_batches is not None:
warnings.warn(
"using `split_batches` is deprecated and will be removed in version 5"
" of 🤗 Transformers. Use the `accelerator_config` argument instead.",
FutureWarning,
)

def __str__(self):
self_as_dict = asdict(self)
Expand Down

0 comments on commit e7e2683

Please sign in to comment.