




'''simple docstring'''



import inspect
import unittest






class 							_a				(			unittest.TestCase ):





       '''simple docstring'''






       def        UpperCamelCase_							(      self  ):







             '''simple docstring'''







             try:
                   import diffusers  # noqa: F401
             except ImportError:
                   assert False







       def        UpperCamelCase_							(      self  ):







             '''simple docstring'''







             import diffusers
             from diffusers.dependency_versions_table import deps

             SCREAMING_SNAKE_CASE   :      Any    					=						inspect.getmembers(A,							inspect.isclass  )

             for cls_name, cls_module in all_classes:
                   if "dummy_" in cls_module.__module__:
                         for backend in cls_module._backends:
                               if backend == "k_diffusion":
                                     SCREAMING_SNAKE_CASE   :      Dict    					=						'k-diffusion'
                               elif backend == "invisible_watermark":
                                     SCREAMING_SNAKE_CASE   :      Union[str, Any]    					=						'invisible-watermark'
                               assert backend in deps, F"{backend} is not in the deps table!"








'''simple docstring'''



def   lowercase__(			__UpperCamelCase:					int    ):

      """simple docstring"""






      if not isinstance(__UpperCamelCase      ,__UpperCamelCase    ):
            raise TypeError('Input value must be an \'int\' type'    )

      SCREAMING_SNAKE_CASE   :      int    					=						0
      while number:
            position += 1
            number >>= 1

      return position


if __name__ == "__main__":
      import doctest

      doctest.testmod()


