


"""simple docstring"""







import unittest

from diffusers.pipelines.pipeline_utils import is_safetensors_compatible






class 				__A    (	unittest.TestCase      ):






 """simple docstring"""




 def 				SCREAMING_SNAKE_CASE							(		self						) ->					Optional[int]:
     a					=[
         '''safety_checker/pytorch_model.bin''',
         '''safety_checker/model.safetensors''',
         '''vae/diffusion_pytorch_model.bin''',
         '''vae/diffusion_pytorch_model.safetensors''',
         '''text_encoder/pytorch_model.bin''',
         '''text_encoder/model.safetensors''',
         '''unet/diffusion_pytorch_model.bin''',
         '''unet/diffusion_pytorch_model.safetensors''',
     ]
     self.assertTrue(is_safetensors_compatible(__A						)						)


 def 				SCREAMING_SNAKE_CASE							(		self						) ->					List[Any]:
     a					=[
         '''unet/diffusion_pytorch_model.bin''',
         '''unet/diffusion_pytorch_model.safetensors''',
     ]
     self.assertTrue(is_safetensors_compatible(__A						)						)


 def 				SCREAMING_SNAKE_CASE							(		self						) ->					Any:
     a					=[
         '''safety_checker/pytorch_model.bin''',
         '''safety_checker/model.safetensors''',
         '''vae/diffusion_pytorch_model.bin''',
         '''vae/diffusion_pytorch_model.safetensors''',
         '''text_encoder/pytorch_model.bin''',
         '''text_encoder/model.safetensors''',
         '''unet/diffusion_pytorch_model.bin''',
         # Removed: 'unet/diffusion_pytorch_model.safetensors',
     ]
     self.assertFalse(is_safetensors_compatible(__A						)						)


 def 				SCREAMING_SNAKE_CASE							(		self						) ->					Union[str, Any]:
     a					=[
         '''text_encoder/pytorch_model.bin''',
         '''text_encoder/model.safetensors''',
     ]
     self.assertTrue(is_safetensors_compatible(__A						)						)


 def 				SCREAMING_SNAKE_CASE							(		self						) ->					Any:
     a					=[
         '''safety_checker/pytorch_model.bin''',
         '''safety_checker/model.safetensors''',
         '''vae/diffusion_pytorch_model.bin''',
         '''vae/diffusion_pytorch_model.safetensors''',
         '''text_encoder/pytorch_model.bin''',
         # Removed: 'text_encoder/model.safetensors',
         '''unet/diffusion_pytorch_model.bin''',
         '''unet/diffusion_pytorch_model.safetensors''',
     ]
     self.assertFalse(is_safetensors_compatible(__A						)						)


 def 				SCREAMING_SNAKE_CASE							(		self						) ->					Optional[int]:
     a					=[
         '''safety_checker/pytorch_model.fp16.bin''',
         '''safety_checker/model.fp16.safetensors''',
         '''vae/diffusion_pytorch_model.fp16.bin''',
         '''vae/diffusion_pytorch_model.fp16.safetensors''',
         '''text_encoder/pytorch_model.fp16.bin''',
         '''text_encoder/model.fp16.safetensors''',
         '''unet/diffusion_pytorch_model.fp16.bin''',
         '''unet/diffusion_pytorch_model.fp16.safetensors''',
     ]
     a					='''fp16'''
     self.assertTrue(is_safetensors_compatible(__A			,   variant=__A						)						)


 def 				SCREAMING_SNAKE_CASE							(		self						) ->					Optional[int]:
     a					=[
         '''unet/diffusion_pytorch_model.fp16.bin''',
         '''unet/diffusion_pytorch_model.fp16.safetensors''',
     ]
     a					='''fp16'''
     self.assertTrue(is_safetensors_compatible(__A			,   variant=__A						)						)


 def 				SCREAMING_SNAKE_CASE							(		self						) ->					Optional[int]:
     # pass variant but use the non-variant filenames
     a					=[
         '''unet/diffusion_pytorch_model.bin''',
         '''unet/diffusion_pytorch_model.safetensors''',
     ]
     a					='''fp16'''
     self.assertTrue(is_safetensors_compatible(__A			,   variant=__A						)						)


 def 				SCREAMING_SNAKE_CASE							(		self						) ->					List[Any]:
     a					=[
         '''safety_checker/pytorch_model.fp16.bin''',
         '''safety_checker/model.fp16.safetensors''',
         '''vae/diffusion_pytorch_model.fp16.bin''',
         '''vae/diffusion_pytorch_model.fp16.safetensors''',
         '''text_encoder/pytorch_model.fp16.bin''',
         '''text_encoder/model.fp16.safetensors''',
         '''unet/diffusion_pytorch_model.fp16.bin''',
         # Removed: 'unet/diffusion_pytorch_model.fp16.safetensors',
     ]
     a					='''fp16'''
     self.assertFalse(is_safetensors_compatible(__A			,   variant=__A						)						)


 def 				SCREAMING_SNAKE_CASE							(		self						) ->					Any:
     a					=[
         '''text_encoder/pytorch_model.fp16.bin''',
         '''text_encoder/model.fp16.safetensors''',
     ]
     a					='''fp16'''
     self.assertTrue(is_safetensors_compatible(__A			,   variant=__A						)						)


 def 				SCREAMING_SNAKE_CASE							(		self						) ->					str:
     # pass variant but use the non-variant filenames
     a					=[
         '''text_encoder/pytorch_model.bin''',
         '''text_encoder/model.safetensors''',
     ]
     a					='''fp16'''
     self.assertTrue(is_safetensors_compatible(__A			,   variant=__A						)						)





 def 				SCREAMING_SNAKE_CASE							(		self						) ->					Any:
     a					=[
         '''safety_checker/pytorch_model.fp16.bin''',
         '''safety_checker/model.fp16.safetensors''',
         '''vae/diffusion_pytorch_model.fp16.bin''',
         '''vae/diffusion_pytorch_model.fp16.safetensors''',
         '''text_encoder/pytorch_model.fp16.bin''',
         # 'text_encoder/model.fp16.safetensors',
         '''unet/diffusion_pytorch_model.fp16.bin''',
         '''unet/diffusion_pytorch_model.fp16.safetensors''',
     ]
     a					='''fp16'''
     self.assertFalse(is_safetensors_compatible(__A			,   variant=__A						)						)



"""simple docstring"""







def _A						(						lowercase = 2_00_00_00		):







    """simple docstring"""
    a					=[0 for i in range(n + 1		)]
    a					=1
    a					=1

    for i in range(2	,   int(n**0.5		) + 1		):
        if primality_list[i] == 0:
            for j in range(i * i	,   n + 1	,   lowercase		):
                a					=1
    a					=0
    for i in range(lowercase		):
        if primality_list[i] == 0:
            sum_of_primes += i
    return sum_of_primes


if __name__ == "__main__":
       print(F'{solution() = }')