alivemachine 7ad72028b7 Update image_utils.py
The error "clamp_scalar_cpu" not implemented for 'Half' occurs because a tensor of type float16 (or Half precision) is being passed to the .clamp() function, which does not support this operation on the CPU.

To resolve this issue, you need to ensure that the tensor is in a format compatible with the .clamp() function.
2024-11-18 17:03:55 -07:00
2024-11-18 17:03:55 -07:00
2023-12-29 17:06:07 +08:00
2023-12-29 17:00:03 +08:00
2023-12-29 17:26:23 +08:00
2023-12-29 17:41:46 +08:00
2023-12-29 17:06:07 +08:00

ComfyUI_StreamDiffusion

This is a simple implementation StreamDiffusion for ComfyUI

StreamDiffusion: A Pipeline-Level Solution for Real-Time Interactive Generation

Authors: Akio Kodaira, Chenfeng Xu, Toshiki Hazama, Takanori Yoshimoto, Kohei Ohno, Shogo Mitsuhori, Soichi Sugano, Hanying Cho, Zhijian Liu, Kurt Keutzer

StreamDiffusion is an innovative diffusion pipeline designed for real-time interactive generation. It introduces significant performance enhancements to current diffusion-based image generation techniques.

arXiv Hugging Face Papers

Simple Use

you can download the workflow image below , and import into ComfyUI

img2img

img2img can be done by send a image to the image imput in the sampler node,but the batch_size must be 1.

StreamDiffusion_Sampler

Input Latent is not implemented for now.

Lora stack

You can set Lora stack by using LoRA Stacker from Efficiency Nodes.

Support

Thank you for being awesome!

S
Description
No description provided
Readme Apache-2.0
695 KiB
Languages
Python 100%