

"""simple docstring"""



import operator as op


SCREAMING_SNAKE_CASE_					:	List[Any]							  =						'scaler.pt'
SCREAMING_SNAKE_CASE_					:	Tuple							  =						'pytorch_model'
SCREAMING_SNAKE_CASE_					:	List[str]							  =						'random_states'
SCREAMING_SNAKE_CASE_					:	Dict							  =						'optimizer'
SCREAMING_SNAKE_CASE_					:	str							  =						'scheduler'
SCREAMING_SNAKE_CASE_					:	int							  =						'pytorch_model.bin'
SCREAMING_SNAKE_CASE_					:	Any							  =						'pytorch_model.bin.index.json'
SCREAMING_SNAKE_CASE_					:	Optional[Any]							  =						'model.safetensors'
SCREAMING_SNAKE_CASE_					:	Any							  =						'model.safetensors.index.json'
SCREAMING_SNAKE_CASE_					:	Tuple							  =						'1.10.2'
SCREAMING_SNAKE_CASE_					:	int							  =						'py38'
SCREAMING_SNAKE_CASE_					:	List[str]							  =						'4.17.0'
SCREAMING_SNAKE_CASE_					:	str							  =						['ml.p3.16xlarge', 'ml.p3dn.24xlarge', 'ml.p4dn.24xlarge']
SCREAMING_SNAKE_CASE_					:	List[str]							  =						['FULL_SHARD', 'SHARD_GRAD_OP', 'NO_SHARD', 'HYBRID_SHARD', 'HYBRID_SHARD_ZERO2']
SCREAMING_SNAKE_CASE_					:	int							  =						['TRANSFORMER_BASED_WRAP', 'SIZE_BASED_WRAP', 'NO_WRAP']
SCREAMING_SNAKE_CASE_					:	int							  =						['BACKWARD_PRE', 'BACKWARD_POST', 'NO_PREFETCH']
SCREAMING_SNAKE_CASE_					:	Optional[int]							  =						['FULL_STATE_DICT', 'LOCAL_STATE_DICT', 'SHARDED_STATE_DICT']
SCREAMING_SNAKE_CASE_					:	Tuple							  =						'2.0.1'
SCREAMING_SNAKE_CASE_					:	Optional[int]							  =						['pdsh', 'standard', 'openmpi', 'mvapich']
SCREAMING_SNAKE_CASE_					:	Tuple							  =						['default', 'reduce-overhead', 'max-autotune']

SCREAMING_SNAKE_CASE_					:	int							  =						{'>': op.gt, '>=': op.ge, '==': op.eq, '!=': op.ne, '<=': op.le, '<': op.lt}

# These are the args for `torch.distributed.launch` for pytorch < 1.9
SCREAMING_SNAKE_CASE_					:	List[Any]							  =						[
    'nnodes',
    'nproc_per_node',
    'rdzv_backend',
    'rdzv_endpoint',
    'rdzv_id',
    'rdzv_conf',
    'standalone',
    'max_restarts',
    'monitor_interval',
    'start_method',
    'role',
    'module',
    'm',
    'no_python',
    'run_path',
    'log_dir',
    'r',
    'redirects',
    't',
    'tee',
    'node_rank',
    'master_addr',
    'master_port',
]

SCREAMING_SNAKE_CASE_					:	List[str]							  =						['DEEPSPEED', 'MULTI_GPU', 'FSDP', 'MEGATRON_LM']
SCREAMING_SNAKE_CASE_					:	Any							  =						['DEEPSPEED', 'MULTI_XPU', 'FSDP']









"""simple docstring"""



import warnings

from ...utils import logging
from .image_processing_videomae import VideoMAEImageProcessor


SCREAMING_SNAKE_CASE_					:	List[Any]							  =						logging.get_logger(__name__)



class 					a						(       _lowerCamelCase				):



    """simple docstring"""



    def __init__(     self: Tuple    ,						*UpperCamelCase: Optional[int]    ,						**UpperCamelCase: Tuple       ):






         """simple docstring"""


         warnings.warn(
             """The class VideoMAEFeatureExtractor is deprecated and will be removed in version 5 of Transformers."""
             """ Please use VideoMAEImageProcessor instead."""    ,						UpperCamelCase    ,						)
         super().__init__(*UpperCamelCase    ,						**UpperCamelCase       )






