chengzeyi / stable-fast

Best inference performance optimization framework for HuggingFace Diffusers on NVIDIA GPUs.
MIT License
1.16k stars 70 forks source link

when run powerpaint with brushnet it can't suceess ant print logs #149

Open liuchenbaidu opened 4 months ago

liuchenbaidu commented 4 months ago

0.0113 0.0026 0.0198 0.0016 -0.0258 -0.0052 -0.0080 0.0246 -0.0016 -0.0123 -0.0228 -0.0014 -0.0027 -0.0195 0.0051 0.0366 0.0025 -0.0127 0.0117 -0.0198 -0.0083 0.0172 0.0139 -0.0053 -0.0082 0.0107 -0.0219 0.0099 0.0071 -0.0087 -0.0240 0.0131 -0.0085 -0.0093 -0.0140 0.0012 0.0012 -0.0084 -0.0205 0.0114 0.0007 -0.0010 0.0037 0.0038 0.0005 -0.0018 0.0002 0.0019 0.0002 0.0005 0.0063 0.0062 -0.0000 -0.0016 0.0008 0.0053 [ torch.HalfTensor{49408,768} ]

liuchenbaidu commented 4 months ago

File "/usr/local/lib/python3.9/site-packages/diffusers/utils/torch_utils.py", line 66, in randn_tensor raise ValueError(f"Cannot generate a {device} tensor from a generator of type {gen_device_type}.") ValueError: Cannot generate a cpu tensor from a generator of type cuda.