Skip to content

Commit 600cd5c

Browse files
junqiangwuyiyixuxu
andauthored
Update src/diffusers/pipelines/longcat_image/pipeline_longcat_image.py
Co-authored-by: YiYi Xu <[email protected]>
1 parent 87dfd68 commit 600cd5c

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

src/diffusers/pipelines/longcat_image/pipeline_longcat_image.py

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -390,34 +390,6 @@ def _unpack_latents(latents, height, width, vae_scale_factor):
390390

391391
return latents
392392

393-
def enable_vae_slicing(self):
394-
r"""
395-
Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to
396-
compute decoding in several steps. This is useful to save some memory and allow larger batch sizes.
397-
"""
398-
self.vae.enable_slicing()
399-
400-
def disable_vae_slicing(self):
401-
r"""
402-
Disable sliced VAE decoding. If `enable_vae_slicing` was previously enabled, this method will go back to
403-
computing decoding in one step.
404-
"""
405-
self.vae.disable_slicing()
406-
407-
def enable_vae_tiling(self):
408-
r"""
409-
Enable tiled VAE decoding. When this option is enabled, the VAE will split the input tensor into tiles to
410-
compute decoding and encoding in several steps. This is useful for saving a large amount of memory and to allow
411-
processing larger images.
412-
"""
413-
self.vae.enable_tiling()
414-
415-
def disable_vae_tiling(self):
416-
r"""
417-
Disable tiled VAE decoding. If `enable_vae_tiling` was previously enabled, this method will go back to
418-
computing decoding in one step.
419-
"""
420-
self.vae.disable_tiling()
421393

422394
@property
423395
def guidance_scale(self):

0 commit comments

Comments
 (0)