Browse Source

Update __init__.py

Inpaint_experimental
tin2tin 1 year ago committed by GitHub
parent
commit
83011835ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      __init__.py

4
__init__.py

@ -769,7 +769,7 @@ class SEQUENCER_OT_generate_movie(Operator):
pipe.enable_model_cpu_offload()
# memory optimization
pipe.unet.enable_forward_chunking(chunk_size=1, dim=1)
#pipe.unet.enable_forward_chunking(chunk_size=1, dim=1)
pipe.enable_vae_slicing()
for i in range(scene.movie_num_batch):
@ -1200,7 +1200,7 @@ class SEQUENCER_OT_generate_image(Operator):
# memory optimization
pipe.enable_model_cpu_offload()
pipe.unet.enable_forward_chunking(chunk_size=1, dim=1)
#pipe.unet.enable_forward_chunking(chunk_size=1, dim=1)
pipe.enable_vae_slicing()
for i in range(scene.movie_num_batch):

Loading…
Cancel
Save