I'm trying to run this line on Google Colab:
pipeline = StableDiffusionXLPipeline.from_single_file("/content/models/juggernautXL_version2.safetensors", torch_dtype=torch.float16, use_safetensors=True, safety_checker=None ).to("cuda")
But it crashes because Colab runs out of RAM.
Here's the related notebook.
I have already tried this solution, but it didn't work, and don't know how to get it to work properly.
Can you help?
I'm trying to run this line on Google Colab:
pipeline = StableDiffusionXLPipeline.from_single_file("/content/models/juggernautXL_version2.safetensors", torch_dtype=torch.float16, use_safetensors=True, safety_checker=None ).to("cuda")But it crashes because Colab runs out of RAM.
Here's the related notebook.
I have already tried this solution, but it didn't work, and don't know how to get it to work properly.
Can you help?