


'''simple docstring'''


import torch






def        __lowerCAmelCase       ():
		if torch.cuda.is_available():
				_UpperCAmelCase						:				Tuple	    =					torch.cuda.device_count()
		else:
				_UpperCAmelCase						:				str	    =					0
		print(F"""Successfully ran on {num_gpus} GPUs"""      )


if __name__ == "__main__":
						main()







'''simple docstring'''


import warnings

from diffusers import StableDiffusionImgaImgPipeline  # noqa F401


warnings.warn(
    'The `image_to_image.py` script is outdated. Please use directly `from diffusers import'
    ' StableDiffusionImg2ImgPipeline` instead.'
)



