From 36f4fd6e63ba50f2ae885d649b97422333d7c47a Mon Sep 17 00:00:00 2001 From: tin2tin Date: Sat, 30 Sep 2023 00:23:56 +0200 Subject: [PATCH] Update __init__.py --- __init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/__init__.py b/__init__.py index 87eaa72..feb6c7a 100644 --- a/__init__.py +++ b/__init__.py @@ -2572,7 +2572,6 @@ class SEQUENCER_OT_generate_image(Operator): if low_vram(): # torch.cuda.set_per_process_memory_fraction(0.95) # 6 GB VRAM pipe.enable_model_cpu_offload() - # pipe.enable_vae_slicing() # pipe.enable_forward_chunking(chunk_size=1, dim=1) else: pipe.to("cuda") @@ -2692,7 +2691,7 @@ class SEQUENCER_OT_generate_image(Operator): if low_vram(): # torch.cuda.set_per_process_memory_fraction(0.95) # 6 GB VRAM pipe.enable_model_cpu_offload() - #pipe.enable_vae_slicing() + pipe.enable_vae_slicing() # pipe.enable_forward_chunking(chunk_size=1, dim=1) else: pipe.to("cuda")