Spaces:
Runtime error
Runtime error
Update custom_pipeline.py
Browse files151 unmodified lines152153154155155156157158159160161151 unmodified lines
# Yield intermediate result latents = self.scheduler.step(noise_pred, t, latents, return_dict=False)[0] yield self._decode_latents_to_image(latents, height, width, output_type) torch.cuda.empty_cache()
# Final image yield self._decode_latents_to_image(latents, height, width, output_type) self.maybe_free_model_hooks() torch.cuda.empty_cache()
custom_pipeline.py+1-1