You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python Version: 3.10.15 | packaged by Anaconda, Inc. | (main, Oct 3 2024, 07:22:19) [MSC v.1929 64 bit (AMD64)]
Embedded Python: false
PyTorch Version: 2.4.1+cpu
Devices
Name: privateuseone
Type: privateuseone
VRAM Total: 1073741824
VRAM Free: 1073741824
Torch VRAM Total: 1073741824
Torch VRAM Free: 1073741824
Logs
2024-10-20 06:28:24,162 - root - INFO - Using directml with device:
2024-10-20 06:28:24,173 - root - INFO - Total VRAM 1024 MB, total RAM 24499 MB
2024-10-20 06:28:24,173 - root - INFO - pytorch version: 2.4.1+cpu
2024-10-20 06:28:24,175 - root - INFO - Set vram state to: NORMAL_VRAM
2024-10-20 06:28:24,175 - root - INFO - Device: privateuseone
2024-10-20 06:28:25,963 - root - INFO - Using sub quadratic optimization for cross attention, if you have memory or speed issues try using: --use-split-cross-attention
2024-10-20 06:28:28,873 - root - INFO - [Prompt Server] web root: C:\Portable Apps & Tools\AI\ComfyUI\web
2024-10-20 06:28:31,781 - bitsandbytes.cextension - WARNING - The installed version of bitsandbytes was compiled without GPU support. 8-bit optimizers, 8-bit multiplication, and GPU quantization are unavailable.
2024-10-20 06:28:32,022 - root - INFO -
Import times for custom nodes:
2024-10-20 06:28:32,022 - root - INFO - 0.0 seconds: C:\Portable Apps & Tools\AI\ComfyUI\custom_nodes\websocket_image_save.py
2024-10-20 06:28:32,022 - root - INFO - 0.0 seconds: C:\Portable Apps & Tools\AI\ComfyUI\custom_nodes\image-resize-comfyui
2024-10-20 06:28:32,023 - root - INFO - 0.0 seconds: C:\Portable Apps & Tools\AI\ComfyUI\custom_nodes\ComfyUI-OpenPose-Editor
2024-10-20 06:28:32,023 - root - INFO - 0.0 seconds: C:\Portable Apps & Tools\AI\ComfyUI\custom_nodes\ComfyUI-Image-Saver
2024-10-20 06:28:32,023 - root - INFO - 0.0 seconds: C:\Portable Apps & Tools\AI\ComfyUI\custom_nodes\ComfyUI-GGUF
2024-10-20 06:28:32,023 - root - INFO - 0.0 seconds: C:\Portable Apps & Tools\AI\ComfyUI\custom_nodes\rgthree-comfy
2024-10-20 06:28:32,023 - root - INFO - 0.1 seconds: C:\Portable Apps & Tools\AI\ComfyUI\custom_nodes\ComfyUI_Comfyroll_CustomNodes
2024-10-20 06:28:32,023 - root - INFO - 0.1 seconds: C:\Portable Apps & Tools\AI\ComfyUI\custom_nodes\ComfyUI_bitsandbytes_NF4
2024-10-20 06:28:32,023 - root - INFO - 0.1 seconds: C:\Portable Apps & Tools\AI\ComfyUI\custom_nodes\ComfyUI_tinyterraNodes
2024-10-20 06:28:32,023 - root - INFO - 0.4 seconds: C:\Portable Apps & Tools\AI\ComfyUI\custom_nodes\ComfyUI-Manager
2024-10-20 06:28:32,023 - root - INFO - 1.5 seconds: C:\Portable Apps & Tools\AI\ComfyUI\custom_nodes\ComfyUI-tbox
2024-10-20 06:28:32,024 - root - INFO -
2024-10-20 06:28:32,039 - root - INFO - Starting server
2024-10-20 06:28:32,039 - root - INFO - To see the GUI go to: http://127.0.0.1:8188
2024-10-20 06:28:53,627 - root - INFO - got prompt
2024-10-20 06:28:53,927 - root - INFO - model weight dtype torch.float32, manual cast: None
2024-10-20 06:28:53,928 - root - INFO - model_type FLUX
2024-10-20 06:28:54,022 - root - INFO - Using split attention in VAE
2024-10-20 06:28:54,025 - root - INFO - Using split attention in VAE
2024-10-20 06:28:57,162 - root - INFO - Requested to load FluxClipModel_
2024-10-20 06:28:57,163 - root - INFO - Loading 1 new model
2024-10-20 06:28:57,181 - root - INFO - loaded completely 0.0 9319.23095703125 True
2024-10-20 06:29:20,487 - root - INFO - Requested to load Flux
2024-10-20 06:29:20,487 - root - INFO - Loading 1 new model
2024-10-20 06:29:20,862 - root - ERROR - !!! Exception during processing !!! Attempted to call `variable.set_data(tensor)`, but `variable` and `tensor` have incompatible tensor type.
2024-10-20 06:29:20,868 - root - ERROR - Traceback (most recent call last):
File "C:\Portable Apps & Tools\AI\ComfyUI\execution.py", line 323, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
File "C:\Portable Apps & Tools\AI\ComfyUI\execution.py", line 198, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
File "C:\Portable Apps & Tools\AI\ComfyUI\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "C:\Portable Apps & Tools\AI\ComfyUI\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "C:\Portable Apps & Tools\AI\ComfyUI\comfy_extras\nodes_custom_sampler.py", line 633, in sample
samples = guider.sample(noise.generate_noise(latent), latent_image, sampler, sigmas, denoise_mask=noise_mask, callback=callback, disable_pbar=disable_pbar, seed=noise.seed)
File "C:\Portable Apps & Tools\AI\ComfyUI\comfy\samplers.py", line 706, in sample
self.inner_model, self.conds, self.loaded_models = comfy.sampler_helpers.prepare_sampling(self.model_patcher, noise.shape, self.conds)
File "C:\Portable Apps & Tools\AI\ComfyUI\comfy\sampler_helpers.py", line 66, in prepare_sampling
comfy.model_management.load_models_gpu([model] + models, memory_required=memory_required, minimum_memory_required=minimum_memory_required)
File "C:\Portable Apps & Tools\AI\ComfyUI\comfy\model_management.py", line 545, in load_models_gpu
cur_loaded_model = loaded_model.model_load(lowvram_model_memory, force_patch_weights=force_patch_weights)
File "C:\Portable Apps & Tools\AI\ComfyUI\comfy\model_management.py", line 327, in model_load
raise e
File "C:\Portable Apps & Tools\AI\ComfyUI\comfy\model_management.py", line 323, in model_load
self.real_model = self.model.patch_model(device_to=patch_model_to, lowvram_model_memory=lowvram_model_memory, load_weights=load_weights, force_patch_weights=force_patch_weights)
File "C:\Portable Apps & Tools\AI\ComfyUI\comfy\model_patcher.py", line 435, in patch_model
self.load(device_to, lowvram_model_memory=lowvram_model_memory, force_patch_weights=force_patch_weights, full_load=full_load)
File "C:\Portable Apps & Tools\AI\ComfyUI\comfy\model_patcher.py", line 407, in load
x[2].to(device_to)
File "C:\Users\ozhen\miniconda3\envs\comfyui\lib\site-packages\torch\nn\modules\module.py", line 1174, in to
return self._apply(convert)
File "C:\Users\ozhen\miniconda3\envs\comfyui\lib\site-packages\torch\nn\modules\module.py", line 805, in _apply
param_applied = fn(param)
File "C:\Users\ozhen\miniconda3\envs\comfyui\lib\site-packages\torch\nn\modules\module.py", line 1160, in convert
return t.to(
File "C:\Portable Apps & Tools\AI\ComfyUI\custom_nodes\ComfyUI_bitsandbytes_NF4\__init__.py", line 69, in to
self.data = n.data
RuntimeError: Attempted to call `variable.set_data(tensor)`, but `variable` and `tensor` have incompatible tensor type.
2024-10-20 06:29:20,869 - root - INFO - Prompt executed in 27.24 seconds
2024-10-20 06:31:15,928 - root - INFO - got prompt
2024-10-20 06:31:15,941 - root - INFO - Requested to load Flux
2024-10-20 06:31:15,942 - root - INFO - Loading 1 new model
2024-10-20 06:31:16,052 - root - ERROR - !!! Exception during processing !!! Attempted to call `variable.set_data(tensor)`, but `variable` and `tensor` have incompatible tensor type.
2024-10-20 06:31:16,053 - root - ERROR - Traceback (most recent call last):
File "C:\Portable Apps & Tools\AI\ComfyUI\execution.py", line 323, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
File "C:\Portable Apps & Tools\AI\ComfyUI\execution.py", line 198, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
File "C:\Portable Apps & Tools\AI\ComfyUI\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "C:\Portable Apps & Tools\AI\ComfyUI\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "C:\Portable Apps & Tools\AI\ComfyUI\comfy_extras\nodes_custom_sampler.py", line 633, in sample
samples = guider.sample(noise.generate_noise(latent), latent_image, sampler, sigmas, denoise_mask=noise_mask, callback=callback, disable_pbar=disable_pbar, seed=noise.seed)
File "C:\Portable Apps & Tools\AI\ComfyUI\comfy\samplers.py", line 706, in sample
self.inner_model, self.conds, self.loaded_models = comfy.sampler_helpers.prepare_sampling(self.model_patcher, noise.shape, self.conds)
File "C:\Portable Apps & Tools\AI\ComfyUI\comfy\sampler_helpers.py", line 66, in prepare_sampling
comfy.model_management.load_models_gpu([model] + models, memory_required=memory_required, minimum_memory_required=minimum_memory_required)
File "C:\Portable Apps & Tools\AI\ComfyUI\comfy\model_management.py", line 545, in load_models_gpu
cur_loaded_model = loaded_model.model_load(lowvram_model_memory, force_patch_weights=force_patch_weights)
File "C:\Portable Apps & Tools\AI\ComfyUI\comfy\model_management.py", line 327, in model_load
raise e
File "C:\Portable Apps & Tools\AI\ComfyUI\comfy\model_management.py", line 323, in model_load
self.real_model = self.model.patch_model(device_to=patch_model_to, lowvram_model_memory=lowvram_model_memory, load_weights=load_weights, force_patch_weights=force_patch_weights)
File "C:\Portable Apps & Tools\AI\ComfyUI\comfy\model_patcher.py", line 435, in patch_model
self.load(device_to, lowvram_model_memory=lowvram_model_memory, force_patch_weights=force_patch_weights, full_load=full_load)
File "C:\Portable Apps & Tools\AI\ComfyUI\comfy\model_patcher.py", line 407, in load
x[2].to(device_to)
File "C:\Users\ozhen\miniconda3\envs\comfyui\lib\site-packages\torch\nn\modules\module.py", line 1174, in to
return self._apply(convert)
File "C:\Users\ozhen\miniconda3\envs\comfyui\lib\site-packages\torch\nn\modules\module.py", line 805, in _apply
param_applied = fn(param)
File "C:\Users\ozhen\miniconda3\envs\comfyui\lib\site-packages\torch\nn\modules\module.py", line 1160, in convert
return t.to(
File "C:\Portable Apps & Tools\AI\ComfyUI\custom_nodes\ComfyUI_bitsandbytes_NF4\__init__.py", line 69, in to
self.data = n.data
RuntimeError: Attempted to call `variable.set_data(tensor)`, but `variable` and `tensor` have incompatible tensor type.
2024-10-20 06:31:16,055 - root - INFO - Prompt executed in 0.12 seconds
Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.
{"last_node_id":47,"last_link_id":137,"nodes":[{"id":13,"type":"SamplerCustomAdvanced","pos":{"0":928,"1":188},"size":{"0":272.3617858886719,"1":326},"flags":{},"order":11,"mode":0,"inputs":[{"name":"noise","type":"NOISE","link":37,"slot_index":0},{"name":"guider","type":"GUIDER","link":30,"slot_index":1},{"name":"sampler","type":"SAMPLER","link":19,"slot_index":2},{"name":"sigmas","type":"SIGMAS","link":20,"slot_index":3},{"name":"latent_image","type":"LATENT","link":116,"slot_index":4}],"outputs":[{"name":"output","type":"LATENT","links":[],"slot_index":0,"shape":3},{"name":"denoised_output","type":"LATENT","links":[135],"slot_index":1,"shape":3}],"properties":{"Node name for S&R":"SamplerCustomAdvanced"},"widgets_values":[]},{"id":46,"type":"VAEDecode","pos":{"0":1264.8720703125,"1":847.6655883789062},"size":{"0":210,"1":46},"flags":{},"order":12,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":135},{"name":"vae","type":"VAE","link":137}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[136],"slot_index":0,"shape":3,"tooltip":"The decoded image."}],"properties":{"Node name for S&R":"VAEDecode"},"widgets_values":[]},{"id":47,"type":"PreviewImage","pos":{"0":1535,"1":304},"size":{"0":542.752197265625,"1":835.9092407226562},"flags":{},"order":13,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":136}],"outputs":[],"properties":{"Node name for S&R":"PreviewImage"},"widgets_values":[]},{"id":30,"type":"ModelSamplingFlux","pos":{"0":237.3482666015625,"1":1070},"size":{"0":315,"1":130},"flags":{},"order":6,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":121,"slot_index":0},{"name":"width","type":"INT","link":115,"slot_index":1,"widget":{"name":"width"}},{"name":"height","type":"INT","link":114,"slot_index":2,"widget":{"name":"height"}}],"outputs":[{"name":"MODEL","type":"MODEL","links":[55,122],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"ModelSamplingFlux"},"widgets_values":[1.15,0.5,512,768]},{"id":17,"type":"BasicScheduler","pos":{"0":237.3482666015625,"1":850},"size":{"0":315,"1":106},"flags":{},"order":8,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":55,"slot_index":0}],"outputs":[{"name":"SIGMAS","type":"SIGMAS","links":[20],"shape":3}],"properties":{"Node name for S&R":"BasicScheduler"},"widgets_values":["ddim_uniform",20,1]},{"id":27,"type":"EmptySD3LatentImage","pos":{"0":237.3482666015625,"1":280},"size":{"0":315,"1":106},"flags":{},"order":5,"mode":0,"inputs":[{"name":"width","type":"INT","link":112,"widget":{"name":"width"}},{"name":"height","type":"INT","link":113,"widget":{"name":"height"}}],"outputs":[{"name":"LATENT","type":"LATENT","links":[116],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"EmptySD3LatentImage"},"widgets_values":[512,768,1]},{"id":25,"type":"RandomNoise","pos":{"0":237.3482666015625,"1":490},"size":{"0":315,"1":82},"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"NOISE","type":"NOISE","links":[37],"shape":3}],"properties":{"Node name for S&R":"RandomNoise"},"widgets_values":[127953582525090,"randomize"],"color":"#2a363b","bgcolor":"#3f5159"},{"id":35,"type":"PrimitiveNode","pos":{"0":331,"1":107},"size":{"0":210,"1":82},"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"INT","type":"INT","links":[113,114],"slot_index":0,"widget":{"name":"height"}}],"title":"height","properties":{"Run widget replace on values":false},"widgets_values":[768,"fixed"],"color":"#323","bgcolor":"#535"},{"id":34,"type":"PrimitiveNode","pos":{"0":57,"1":107},"size":{"0":210,"1":82},"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[{"name":"INT","type":"INT","links":[112,115],"slot_index":0,"widget":{"name":"width"}}],"title":"width","properties":{"Run widget replace on values":false},"widgets_values":[512,"fixed"],"color":"#323","bgcolor":"#535"},{"id":40,"type":"CheckpointLoaderNF4","pos":{"0":-733,"1":339},"size":{"0":315,"1":98},"flags":{},"order":3,"mode":0,"inputs":[],"outputs":[{"name":"MODEL","type":"MODEL","links":[121],"slot_index":0,"shape":3},{"name":"CLIP","type":"CLIP","links":[123],"slot_index":1,"shape":3},{"name":"VAE","type":"VAE","links":[137],"slot_index":2,"shape":3}],"properties":{"Node name for S&R":"CheckpointLoaderNF4"},"widgets_values":["Flux\\flux1-dev-bnb-nf4-v2.safetensors"]},{"id":16,"type":"KSamplerSelect","pos":{"0":237.3482666015625,"1":677},"size":{"0":315,"1":58},"flags":{},"order":4,"mode":0,"inputs":[],"outputs":[{"name":"SAMPLER","type":"SAMPLER","links":[19],"shape":3}],"properties":{"Node name for S&R":"KSamplerSelect"},"widgets_values":["euler_cfg_pp"]},{"id":6,"type":"CLIPTextEncode","pos":{"0":-326,"1":-215},"size":{"0":422.84503173828125,"1":164.31304931640625},"flags":{},"order":7,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":123}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[41],"slot_index":0}],"title":"CLIP Text Encode (Positive Prompt)","properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":["bottle"],"color":"#232","bgcolor":"#353"},{"id":26,"type":"FluxGuidance","pos":{"0":226,"1":-226},"size":{"0":317.4000244140625,"1":58},"flags":{},"order":9,"mode":0,"inputs":[{"name":"conditioning","type":"CONDITIONING","link":41}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[42],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"FluxGuidance"},"widgets_values":[3.5],"color":"#233","bgcolor":"#355"},{"id":22,"type":"BasicGuider","pos":{"0":734,"1":-204},"size":{"0":222.3482666015625,"1":46},"flags":{},"order":10,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":122,"slot_index":0},{"name":"conditioning","type":"CONDITIONING","link":42,"slot_index":1}],"outputs":[{"name":"GUIDER","type":"GUIDER","links":[30],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"BasicGuider"},"widgets_values":[]}],"links":[[19,16,0,13,2,"SAMPLER"],[20,17,0,13,3,"SIGMAS"],[30,22,0,13,1,"GUIDER"],[37,25,0,13,0,"NOISE"],[41,6,0,26,0,"CONDITIONING"],[42,26,0,22,1,"CONDITIONING"],[55,30,0,17,0,"MODEL"],[112,34,0,27,0,"INT"],[113,35,0,27,1,"INT"],[114,35,0,30,2,"INT"],[115,34,0,30,1,"INT"],[116,27,0,13,4,"LATENT"],[121,40,0,30,0,"MODEL"],[122,30,0,22,0,"MODEL"],[123,40,1,6,0,"CLIP"],[135,13,1,46,0,"LATENT"],[136,46,0,47,0,"IMAGE"],[137,40,2,46,1,"VAE"]],"groups":[],"config":{},"extra":{"ds":{"scale":0.35049389948139237,"offset":[1159.5720433464503,604.490719634737]},"groupNodes":{}},"version":0.4}
Additional Context
(Please add any additional context or steps to reproduce the error here)
The text was updated successfully, but these errors were encountered:
SamplerCustomAdvanced
Attempted to call
variable.set_data(tensor)
, butvariable
andtensor
have incompatible tensor type.ComfyUI Error Report
Error Details
variable.set_data(tensor)
, butvariable
andtensor
have incompatible tensor type.Stack Trace
System Information
Devices
Logs
Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.
Additional Context
(Please add any additional context or steps to reproduce the error here)
The text was updated successfully, but these errors were encountered: