kijai / ComfyUI-CCSR

ComfyUI wrapper node for CCSR
https://csslc.github.io/project-CCSR/
186 stars 14 forks source link

"upsample_nearest2d_out_frame" not implemented for 'BFloat16' in the decode image process #6

Open eblis88 opened 9 months ago

eblis88 commented 9 months ago

Error occurred when executing VAEDecodeTiled_TiledDiffusion:

"upsample_nearest2d_out_frame" not implemented for 'BFloat16'

File "/root/autodl-tmp/ComfyUI/execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "/root/autodl-tmp/ComfyUI/execution.py", line 82, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "/root/autodl-tmp/ComfyUI/execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(slice_dict(input_data_all, i))) File "/root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-TiledDiffusion/tiled_vae.py", line 815, in process ret = VAEDecode().decode(_vae, samples) if is_decoder else VAEEncode().encode(_vae, samples) File "/root/autodl-tmp/ComfyUI/nodes.py", line 287, in decode return (vae.decode(samples["samples"]), ) File "/root/autodl-tmp/ComfyUI/comfy/sd.py", line 254, in decode pixel_samples[x:x+batch_number] = self.process_output(self.first_stage_model.decode(samples).to(self.output_device).float()) File "/root/autodl-tmp/ComfyUI/comfy/ldm/models/autoencoder.py", line 202, in decode dec = self.decoder(dec, decoder_kwargs) File "/root/anaconda3/envs/sd/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl return forward_call(*args, kwargs) File "/root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-TiledDiffusion/tiled_vae.py", line 474, in call return self.vae_tile_forward(x) File "/root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-TiledDiffusion/tiled_vae.py", line 360, in wrapper ret = fn(*args, *kwargs) File "/root/anaconda3/envs/sd/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context return func(args, kwargs) File "/root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-TiledDiffusion/tiled_vae.py", line 635, in vae_tile_forward downsampled_z = F.interpolate(z, scale_factor=scale_factor, mode='nearest-exact') File "/root/anaconda3/envs/sd/lib/python3.10/site-packages/torch/nn/functional.py", line 3938, in interpolate return torch._C._nn._upsample_nearest_exact2d(input, output_size, scale_factors)