src/transformers/sagemaker/trainer_sm.py/SageMakerTrainer/__init__
class SageMakerTrainer:    def __init__(self, args=None, **kwargs):
        warnings.warn(
            "`SageMakerTrainer` is deprecated and will be removed in v5 of Transformers. You can use `Trainer` "
            "instead.",
            FutureWarning,
        )
        super().__init__(args=args, **kwargs)