





'''simple docstring'''



from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


_SCREAMING_SNAKE_CASE					=    {
    '''configuration_nllb_moe''': [
        '''NLLB_MOE_PRETRAINED_CONFIG_ARCHIVE_MAP''',
        '''NllbMoeConfig''',
    ]
}

try:
	if not is_torch_available():
		raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
	pass
else:
	_SCREAMING_SNAKE_CASE					=    [
	    '''NLLB_MOE_PRETRAINED_MODEL_ARCHIVE_LIST''',
	    '''NllbMoeForConditionalGeneration''',
	    '''NllbMoeModel''',
	    '''NllbMoePreTrainedModel''',
	    '''NllbMoeTop2Router''',
	    '''NllbMoeSparseMLP''',
	]


if TYPE_CHECKING:
	from .configuration_nllb_moe import (
	    NLLB_MOE_PRETRAINED_CONFIG_ARCHIVE_MAP,
	    NllbMoeConfig,
	)

	try:
		if not is_torch_available():
			raise OptionalDependencyNotAvailable()
	except OptionalDependencyNotAvailable:
		pass
	else:
		from .modeling_nllb_moe import (
		    NLLB_MOE_PRETRAINED_MODEL_ARCHIVE_LIST,
		    NllbMoeForConditionalGeneration,
		    NllbMoeModel,
		    NllbMoePreTrainedModel,
		    NllbMoeSparseMLP,
		    NllbMoeTopaRouter,
		)


else:
	import sys

	_SCREAMING_SNAKE_CASE					=    _LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)












'''simple docstring'''



import warnings

from ...utils import logging
from .image_processing_glpn import GLPNImageProcessor


_SCREAMING_SNAKE_CASE					=    logging.get_logger(__name__)






class 							__lowercase       (      lowerCAmelCase__						):







	'''simple docstring'''

	def __init__(self     ,*_lowerCamelCase     ,**_lowerCamelCase )							->							None:







				'''simple docstring'''





				warnings.warn(
				    '''The class GLPNFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
				    ''' use GLPNImageProcessor instead.'''     ,_lowerCamelCase     ,)
				super().__init__(*_lowerCamelCase     ,**_lowerCamelCase )





