Comments (6)
I'm having the exact same problem, tried everything I could think of to fix it.
Edit: Never mind it fixed itself, try restart it if you're having problems.
from comfyui-ccsr.
Having the same issue. Tried restart & reinstall - still the same error:
Error occurred when executing CCSR_Upscale:
Input type (c10::Half) and bias type (float) should be the same
from comfyui-ccsr.
Yep same here, tried to also reinstall and restart, but its not fixing it.
Error occurred when executing CCSR_Upscale:
Input type (struct c10::Half) and bias type (float) should be the same
from comfyui-ccsr.
I'm using the CCSR node in the AP Workflow 8.0
I am also having the same issue. To reproduce, I've created an image and have enabled are:
- Enable Image Generator (I'm making the 3 clowns image)
- Enable Refiner (for SDXL)
- Enable Upscaler
When the flow makes its way over to the "Upscaler" group, it dies on the CCSR_Update with the error I pasted below this message.
- I am using the CCSR_Model_Select to select the "real-world_ccsr.ckpt" and have the following settings:
- resize method: lanczos
- scale by: 2.0
- steps: 3
- t_max: 0.67
- t_min: 0.33
- sampling method: ccsr_tiled_vae_gaussian_weights
- tile_size: 512
- tile_stride: 256
- vae_tile_size_encode: 1024
- vae_tile_size_decode: 1024
- color_fix_type: wavelet
- keep model loaded: false
- seed: 2
- contol_after_generate: fixed
I'm a programmer as well, so am digging a bit deeper, but am half hoping someone else sees some of this info and it helps create a solution quicker.
=================== error output ==================
Using gaussian weights
timesteps used in spaced sampler:
[0, 53, 105, 158, 210, 263, 315, 368, 421, 473, 526, 578, 631, 684, 736, 789, 841, 894, 946, 999]
Process tile with location (0 64) (0 64): 0%| | 0/527 [00:00<?, ?it/s]
ERROR:root:!!! Exception during processing !!!| | 0/527 [00:00<?, ?it/s]
ERROR:root:Traceback (most recent call last):
File "G:_APWorkFlow_ComfyUI\ComfyUI\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "G:_APWorkFlow_ComfyUI\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 "G:_APWorkFlow_ComfyUI\ComfyUI\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "G:_APWorkFlow_ComfyUI\ComfyUI\venv\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "G:_APWorkFlow_ComfyUI\ComfyUI\custom_nodes\ComfyUI-CCSR\nodes.py", line 130, in process
samples = sampler.sample_with_tile_ccsr(
File "G:_APWorkFlow_ComfyUI\ComfyUI\venv\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "G:_APWorkFlow_ComfyUI\ComfyUI\custom_nodes\ComfyUI-CCSR\model\q_sampler.py", line 562, in sample_with_tile_ccsr
"c_latent": [self.model.apply_condition_encoder(tile_cond_img)],
File "G:_APWorkFlow_ComfyUI\ComfyUI\custom_nodes\ComfyUI-CCSR\model\ccsr_stage2.py", line 320, in apply_condition_encoder
c_latent_meanvar = self.cond_encoder(control * 2 - 1)
File "G:_APWorkFlow_ComfyUI\ComfyUI\venv\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "G:_APWorkFlow_ComfyUI\ComfyUI\venv\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl
return forward_call(*args, **kwargs)
File "G:_APWorkFlow_ComfyUI\ComfyUI\venv\lib\site-packages\torch\nn\modules\container.py", line 217, in forward
input = module(input)
File "G:_APWorkFlow_ComfyUI\ComfyUI\venv\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "G:_APWorkFlow_ComfyUI\ComfyUI\venv\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl
return forward_call(*args, **kwargs)
File "G:_APWorkFlow_ComfyUI\ComfyUI\comfy\ldm\modules\diffusionmodules\model.py", line 520, in forward
h = self.conv_in(x)
File "G:_APWorkFlow_ComfyUI\ComfyUI\venv\lib\site-packages\torch\nn\modules\module.py", line 1511, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "G:_APWorkFlow_ComfyUI\ComfyUI\venv\lib\site-packages\torch\nn\modules\module.py", line 1520, in _call_impl
return forward_call(*args, **kwargs)
File "G:_APWorkFlow_ComfyUI\ComfyUI\comfy\ops.py", line 60, in forward
return super().forward(*args, **kwargs)
File "G:_APWorkFlow_ComfyUI\ComfyUI\venv\lib\site-packages\torch\nn\modules\conv.py", line 460, in forward
return self._conv_forward(input, self.weight, self.bias)
File "G:_APWorkFlow_ComfyUI\ComfyUI\venv\lib\site-packages\torch\nn\modules\conv.py", line 456, in _conv_forward
return F.conv2d(input, weight, bias, self.stride,
RuntimeError: Input type (struct c10::Half) and bias type (float) should be the same
Prompt executed in 52.22 seconds
Spaced Sampler: 0%| | 0/20 [00:00<?, ?it/s]
from comfyui-ccsr.
Please try restarting your ComfyUI to resolve the issue.
from comfyui-ccsr.
An error occurred when using real-world_ccsr-fp16.safetensors with the message "Input type (struct c10::Half) and bias type (float) should be the same." However, there is no issue when using real-world_ccsr-fp32.safetensors. The environment is an M1 Mac with macOS
from comfyui-ccsr.
Related Issues (20)
- Error during install triton version not found HOT 1
- cannot import name '_parse_tpu_devices' from 'lightning_fabric._graveyard.tpu' HOT 2
- "upsample_nearest2d_out_frame" not implemented for 'BFloat16' in the decode image process
- The download contingent for the gdrive link was exceeded. Unable to download model. HOT 1
- import failing - new issue
- Error occurred when executing SamplerCustom:
- It's not a problem, it's a request
- HELP: Error occurred when executing CCSR_Upscale: (ProtocolError('Connection aborted.', ConnectionResetError
- Error occurred when executing CCSR_Upscale: HOT 1
- Installed on RunPod, and received this error
- RTX 4080 - Allocation on device 0 would exceed allowed memory. (out of memory)
- ERROR:AttributeError: module 'comfy.model_management' has no attribute 'unload_all_models'
- Size Mismatch error HOT 1
- Can't import in ComfyUI
- Error occurred when executing CCSR_Upscale
- Error occurred when executing CCSR_Upscale: HOT 1
- ComfyUI after update
- Microsoft Defender found Trojan: "Win32/Sirefef!cfg" in "real-world_ccsr.ckpt" HOT 2
- No such file or directory: ".../custom_nodes/ComfyUI-CCSR/empty_text_embed.safetensors" HOT 4
- Allow for optional prompting
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from comfyui-ccsr.