






import warnings

from ..trainer import Trainer
from ..utils import logging


A__      :     Any       =					logging.get_logger(__name__)
class  _UpperCAmelCase   (			A__      ):

				"""simple docstring"""




				def __init__(	self		:       Dict,    lowerCamelCase		:       List[Any]=None,    **lowerCamelCase		:       Optional[Any]    ):

								'''simple docstring'''
								warnings.warn(
								    '''`SageMakerTrainer` is deprecated and will be removed in v5 of Transformers. You can use `Trainer` '''
								    '''instead.''',    lowerCamelCase,    )
								super().__init__(args=lowerCamelCase,    **lowerCamelCase    )












def     a     (		lowerCamelCase_							):






				'''simple docstring'''

				if p < 2:
								raise ValueError('''p should not be less than 2!'''							)
				elif p == 2:
								return True

				lowercase__  					=     4
				lowercase__  					=     (1 << p) - 1
				for _ in range(p - 2							):
								lowercase__  					=     ((s * s) - 2) % m
				return s == 0


if __name__ == "__main__":
							print(lucas_lehmer_test(7))
							print(lucas_lehmer_test(11))




