


from __future__ import annotations






def 		_A		(		_lowercase   )				->   int | float:


     """simple docstring"""


     if len(_lowercase   ) == 0:
          raise ValueError('find_max() arg is an empty sequence'   )
     __UpperCamelCase   = nums[0]
     for x in nums:
          if x > max_num:
               __UpperCamelCase   = x
     return max_num


if __name__ == "__main__":
    import doctest

    doctest.testmod(verbose=True)






from ..utils import DummyObject, requires_backends



class   __lowerCamelCase (metaclass=_a	):
       _lowercase       							=    ["""torch""", """transformers""", """k_diffusion"""]







       def __init__( self:   Tuple,*A_:   Union[str, Any],**A_:   Tuple				):






            '''simple docstring'''




            requires_backends(self,['torch', 'transformers', 'k_diffusion']				)







       @classmethod
       def 		snake_case_  ( cls:   int,*A_:   Optional[Any],**A_:   Tuple				):






            '''simple docstring'''




            requires_backends(cls,['torch', 'transformers', 'k_diffusion']				)







       @classmethod
       def 		snake_case_  ( cls:   int,*A_:   Tuple,**A_:   Tuple				):






            '''simple docstring'''




            requires_backends(cls,['torch', 'transformers', 'k_diffusion']				)


