


from ..utils import DummyObject, requires_backends






class 	__lowercase					(	metaclass=__snake_case	):
      UpperCamelCase										=							['''torch''', '''torchsde''']





      def __init__(		self    :       Tuple       ,							*__lowerCamelCase    :       Union[str, Any]       ,							**__lowerCamelCase    :       Optional[Any]							)     -> Tuple:






         """simple docstring"""







         requires_backends(self       ,							["""torch""", """torchsde"""]							)





      @classmethod
      def 							_lowercase					(		cls    :       Tuple       ,							*__lowerCamelCase    :       Dict       ,							**__lowerCamelCase    :       Optional[Any]							)     -> str:






         """simple docstring"""







         requires_backends(cls       ,							["""torch""", """torchsde"""]							)





      @classmethod
      def 							_lowercase					(		cls    :       Union[str, Any]       ,							*__lowerCamelCase    :       Tuple       ,							**__lowerCamelCase    :       Optional[int]							)     -> Union[str, Any]:






         """simple docstring"""







         requires_backends(cls       ,							["""torch""", """torchsde"""]							)







from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


__a	 =      {
    """configuration_pegasus_x""": ["""PEGASUS_X_PRETRAINED_CONFIG_ARCHIVE_MAP""", """PegasusXConfig"""],
}

try:
 if not is_torch_available():
  raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
 pass
else:
 __a	 =      [
     """PEGASUS_X_PRETRAINED_MODEL_ARCHIVE_LIST""",
     """PegasusXForConditionalGeneration""",
     """PegasusXModel""",
     """PegasusXPreTrainedModel""",
 ]


if TYPE_CHECKING:
 from .configuration_pegasus_x import PEGASUS_X_PRETRAINED_CONFIG_ARCHIVE_MAP, PegasusXConfig

 try:
  if not is_torch_available():
   raise OptionalDependencyNotAvailable()
 except OptionalDependencyNotAvailable:
  pass
 else:
  from .modeling_pegasus_x import (
      PEGASUS_X_PRETRAINED_MODEL_ARCHIVE_LIST,
      PegasusXForConditionalGeneration,
      PegasusXModel,
      PegasusXPreTrainedModel,
  )


else:
 import sys

 __a	 =      _LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)



