Comfy-Org / Comfy-Org/ComfyUI

Input type (float) and bias type (c10::half) should be the same - ERROR

Open
#6,612 2 comments 0 reactions 0 assignees View on GitHub
User Support
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Your question

I'm getting an ERROR running a FLUX with FACE ENHANCER workflow using Florence2 and SAM2. The error occurs between (Down)Load SAM2Model and Sam2Segmentation. I have precision FP16 set on the SAM2Model and the only thing I've changed is switching CUDA to MPS since I'm on a mac M1.

Any help would be amazing.

### Logs

```powershell
# ComfyUI Error Report
## Error Details
- **Node ID:** 160
- **Node Type:** Sam2Segmentation
- **Exception Type:** RuntimeError
- **Exception Message:** Input type (float) and bias type (c10::Half) should be the same
## Stack Trace

File "/Users/poullbrien/Desktop/Bigeye Studios/AI/main/execution.py", line 327, 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 "/Users/poullbrien/Desktop/Bigeye Studios/AI/main/execution.py", line 202, 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 "/Users/poullbrien/Desktop/Bigeye Studios/AI/main/execution.py", line 174, in _map_node_over_list
process_inputs(input_dict, i)

File "/Users/poullbrien/Desktop/Bigeye Studios/AI/main/execution.py", line 163, in process_inputs
results.append(getattr(obj, func)(**inputs))

File "/Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/ComfyUI-segment-anything-2/nodes.py", line 314, in segment
model.set_image(image_np[i])

File "/Users/poullbrien/Desktop/Bigeye Studios/AI/main/venv/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)

File "/Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/ComfyUI-segment-anything-2/sam2/sam2_image_predictor.py", line 97, in set_image
backbone_out = self.model.forward_image(input_image)

File "/Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/ComfyUI-segment-anything-2/sam2/modeling/sam2_base.py", line 469, in forward_image
backbone_out = self.image_encoder(img_batch)

File "/Users/poullbrien/Desktop/Bigeye Studios/AI/main/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)

File "/Users/poullbrien/Desktop/Bigeye Studios/AI/main/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1747, in _call_impl
return forward_call(*args, **kwargs)

File "/Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/ComfyUI-segment-anything-2/sam2/modeling/backbones/image_encoder.py", line 31, in forward
features, pos = self.neck(self.trunk(sample))

File "/Users/poullbrien/Desktop/Bigeye Studios/AI/main/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)

File "/Users/poullbrien/Desktop/Bigeye Studios/AI/main/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1747, in _call_impl
return forward_call(*args, **kwargs)

File "/Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/ComfyUI-segment-anything-2/sam2/modeling/backbones/hieradet.py", line 283, in forward
x = self.patch_embed(x)

File "/Users/poullbrien/Desktop/Bigeye Studios/AI/main/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)

File "/Users/poullbrien/Desktop/Bigeye Studios/AI/main/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1747, in _call_impl
return forward_call(*args, **kwargs)

File "/Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/ComfyUI-segment-anything-2/sam2/modeling/backbones/utils.py", line 92, in forward
x = self.proj(x)

File "/Users/poullbrien/Desktop/Bigeye Studios/AI/main/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)

File "/Users/poullbrien/Desktop/Bigeye Studios/AI/main/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1747, in _call_impl
return forward_call(*args, **kwargs)

File "/Users/poullbrien/Desktop/Bigeye Studios/AI/main/venv/lib/python3.10/site-packages/torch/nn/modules/conv.py", line 554, in forward
return self._conv_forward(input, self.weight, self.bias)

File "/Users/poullbrien/Desktop/Bigeye Studios/AI/main/venv/lib/python3.10/site-packages/torch/nn/modules/conv.py", line 549, in _conv_forward
return F.conv2d(

## System Information
- **ComfyUI Version:** v0.3.10-33-g7da85fac
- **Arguments:** main.py
- **OS:** posix
- **Python Version:** 3.10.16 (main, Dec 3 2024, 17:27:57) [Clang 16.0.0 (clang-1600.0.26.4)]
- **Embedded Python:** false
- **PyTorch Version:** 2.5.1
## Devices

- **Name:** mps
- **Type:** mps
- **VRAM Total:** 68719476736
- **VRAM Free:** 34672672768
- **Torch VRAM Total:** 68719476736
- **Torch VRAM Free:** 34672672768

## Logs

2025-01-26T17:08:00.169324 - [START] Security scan2025-01-26T17:08:00.169334 -
2025-01-26T17:08:00.542409 - [DONE] Security scan2025-01-26T17:08:00.542440 -
2025-01-26T17:08:00.582865 - ## ComfyUI-Manager: installing dependencies done.2025-01-26T17:08:00.582896 -
2025-01-26T17:08:00.582911 - ** ComfyUI startup time:2025-01-26T17:08:00.582923 - 2025-01-26T17:08:00.582935 - 2025-01-26 17:08:00.5829012025-01-26T17:08:00.582947 -
2025-01-26T17:08:00.582966 - ** Platform:2025-01-26T17:08:00.582977 - 2025-01-26T17:08:00.582987 - Darwin2025-01-26T17:08:00.582997 -
2025-01-26T17:08:00.583008 - ** Python version:2025-01-26T17:08:00.583018 - 2025-01-26T17:08:00.583027 - 3.10.16 (main, Dec 3 2024, 17:27:57) [Clang 16.0.0 (clang-1600.0.26.4)]2025-01-26T17:08:00.583037 -
2025-01-26T17:08:00.583046 - ** Python executable:2025-01-26T17:08:00.583055 - 2025-01-26T17:08:00.583065 - /Users/poullbrien/Desktop/Bigeye Studios/AI/main/venv/bin/python2025-01-26T17:08:00.583075 -
2025-01-26T17:08:00.583085 - ** ComfyUI Path:2025-01-26T17:08:00.583094 - 2025-01-26T17:08:00.583105 - /Users/poullbrien/Desktop/Bigeye Studios/AI/main2025-01-26T17:08:00.583115 -
2025-01-26T17:08:00.583136 - ** Log path:2025-01-26T17:08:00.583146 - 2025-01-26T17:08:00.583156 - /Users/poullbrien/Desktop/Bigeye Studios/AI/main/user/comfyui.log2025-01-26T17:08:00.583165 -
2025-01-26T17:08:01.028672 -
Prestartup times for custom nodes:
2025-01-26T17:08:01.028780 - 0.0 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/comfyui-easy-use
2025-01-26T17:08:01.028814 - 0.0 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/rgthree-comfy
2025-01-26T17:08:01.028838 - 0.9 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/ComfyUI-Manager
2025-01-26T17:08:01.028859 -
2025-01-26T17:08:01.624410 - Total VRAM 65536 MB, total RAM 65536 MB
2025-01-26T17:08:01.624500 - pytorch version: 2.5.1
2025-01-26T17:08:01.624598 - Set vram state to: SHARED
2025-01-26T17:08:01.624628 - Device: mps
2025-01-26T17:08:02.059389 - Using sub quadratic optimization for attention, if you have memory or speed issues try using: --use-split-cross-attention
2025-01-26T17:08:02.736207 - [Prompt Server] web root: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/web
2025-01-26T17:08:03.452184 - ### Loading: ComfyUI-Manager (V3.3.12)
2025-01-26T17:08:03.534243 - ### ComfyUI Version: v0.3.10-33-g7da85fac | Released on '2025-01-05'
2025-01-26T17:08:04.020915 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
2025-01-26T17:08:04.025144 - WAS Node Suite: OpenCV Python FFMPEG support is enabled2025-01-26T17:08:04.025172 -
2025-01-26T17:08:04.025204 - WAS Node Suite Warning: `ffmpeg_bin_path` is not set in `/Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/was-node-suite-comfyui/was_suite_config.json` config file. Will attempt to use system ffmpeg binaries if available.2025-01-26T17:08:04.025218 -
2025-01-26T17:08:04.046178 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
2025-01-26T17:08:04.107084 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
2025-01-26T17:08:04.259578 - WAS Node Suite: Finished. Loaded 220 nodes successfully.2025-01-26T17:08:04.259608 -
2025-01-26T17:08:04.259652 -
"Art should disturb the comfortable and comfort the disturbed." - Cesar Cruz
2025-01-26T17:08:04.259666 -
2025-01-26T17:08:04.265079 -
2025-01-26T17:08:04.265105 - [rgthree-comfy] Loaded 42 magnificent nodes. πŸŽ‰2025-01-26T17:08:04.265119 -
2025-01-26T17:08:04.265131 -
2025-01-26T17:08:04.265722 - ### Loading: ComfyUI-Impact-Pack (V8.1.6)2025-01-26T17:08:04.265737 -
2025-01-26T17:08:04.290089 - [Impact Pack] Wildcards loading done.2025-01-26T17:08:04.290163 -
2025-01-26T17:08:04.296687 - ----------Jake Upgrade Nodes Loaded----------2025-01-26T17:08:04.296709 -
2025-01-26T17:08:04.318517 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
2025-01-26T17:08:04.334042 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
2025-01-26T17:08:04.336455 - Total VRAM 65536 MB, total RAM 65536 MB
2025-01-26T17:08:04.336617 - pytorch version: 2.5.1
2025-01-26T17:08:04.336856 - Set vram state to: SHARED
2025-01-26T17:08:04.336902 - Device: mps
2025-01-26T17:08:04.340615 - ### Loading: ComfyUI-Inspire-Pack (V1.9.1)2025-01-26T17:08:04.340636 -
2025-01-26T17:08:04.377123 - ### Loading: ComfyUI-Impact-Subpack (V1.2.9)
2025-01-26T17:08:04.493083 - [Impact Subpack] ultralytics_bbox: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/models/ultralytics/bbox
2025-01-26T17:08:04.493159 - [Impact Subpack] ultralytics_segm: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/models/ultralytics/segm
2025-01-26T17:08:04.525904 - /Users/poullbrien/Desktop/Bigeye Studios/AI/main/venv/lib/python3.10/site-packages/bitsandbytes/cextension.py:34: UserWarning: The installed version of bitsandbytes was compiled without GPU support. 8-bit optimizers, 8-bit multiplication, and GPU quantization are unavailable.
warn("The installed version of bitsandbytes was compiled without GPU support. "
2025-01-26T17:08:04.525933 - 'NoneType' object has no attribute 'cadam32bit_grad_fp32'2025-01-26T17:08:04.525947 -
2025-01-26T17:08:04.633066 - [ComfyUI-Easy-Use] server: v1.2.6 Loaded2025-01-26T17:08:04.633104 -
2025-01-26T17:08:04.633121 - [ComfyUI-Easy-Use] web root: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/comfyui-easy-use/web_version/v2 Loaded2025-01-26T17:08:04.633132 -
2025-01-26T17:08:04.635195 - [comfyui_controlnet_aux] | INFO -> Using ckpts path: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/comfyui_controlnet_aux/ckpts
2025-01-26T17:08:04.635235 - [comfyui_controlnet_aux] | INFO -> Using symlinks: False
2025-01-26T17:08:04.635267 - [comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider']
2025-01-26T17:08:05.276931 - ------------------------------------------2025-01-26T17:08:05.276961 -
2025-01-26T17:08:05.276974 - Comfyroll Studio v1.76 :  175 Nodes Loaded2025-01-26T17:08:05.276985 -
2025-01-26T17:08:05.276996 - ------------------------------------------2025-01-26T17:08:05.277006 -
2025-01-26T17:08:05.277016 - ** For changes, please see patch notes at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/Patch_Notes.md2025-01-26T17:08:05.277026 -
2025-01-26T17:08:05.277036 - ** For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki2025-01-26T17:08:05.277045 -
2025-01-26T17:08:05.277055 - ------------------------------------------2025-01-26T17:08:05.277064 -
2025-01-26T17:08:05.277964 - Adding2025-01-26T17:08:05.277978 - 2025-01-26T17:08:05.277988 - /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes2025-01-26T17:08:05.277998 - 2025-01-26T17:08:05.278007 - to sys.path2025-01-26T17:08:05.278016 -
2025-01-26T17:08:05.322053 - Could not find efficiency nodes2025-01-26T17:08:05.322077 -
2025-01-26T17:08:05.323340 - Loaded ControlNetPreprocessors nodes from2025-01-26T17:08:05.323357 - 2025-01-26T17:08:05.323367 - /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/comfyui_controlnet_aux2025-01-26T17:08:05.323377 -
2025-01-26T17:08:05.323538 - Could not find AdvancedControlNet nodes2025-01-26T17:08:05.323550 -
2025-01-26T17:08:05.323775 - Could not find AnimateDiff nodes2025-01-26T17:08:05.323787 -
2025-01-26T17:08:05.323944 - Could not find IPAdapter nodes2025-01-26T17:08:05.323955 -
2025-01-26T17:08:05.324907 - Could not find VideoHelperSuite nodes2025-01-26T17:08:05.324920 -
2025-01-26T17:08:05.325377 - ### Loading: ComfyUI-Impact-Pack (V8.1.6)2025-01-26T17:08:05.325389 -
2025-01-26T17:08:05.325773 - Loaded ImpactPack nodes from2025-01-26T17:08:05.325795 - 2025-01-26T17:08:05.325812 - /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/ComfyUI-Impact-Pack2025-01-26T17:08:05.325824 -
2025-01-26T17:08:05.326180 - [Impact Pack] Wildcards loading done.2025-01-26T17:08:05.326193 -
2025-01-26T17:08:05.396116 -
Import times for custom nodes:
2025-01-26T17:08:05.396197 - 0.0 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/websocket_image_save.py
2025-01-26T17:08:05.396226 - 0.0 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/comfyui-inpaint-cropandstitch
2025-01-26T17:08:05.396250 - 0.0 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/comfy-image-saver
2025-01-26T17:08:05.396277 - 0.0 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/masquerade-nodes-comfyui
2025-01-26T17:08:05.396297 - 0.0 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/florence_dw
2025-01-26T17:08:05.396316 - 0.0 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/ComfyUI-Florence-2
2025-01-26T17:08:05.396338 - 0.0 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/comfyui_ipadapter_plus
2025-01-26T17:08:05.396358 - 0.0 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/ComfyUI-Custom-Scripts
2025-01-26T17:08:05.396378 - 0.0 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/comfyui-tooling-nodes
2025-01-26T17:08:05.396398 - 0.0 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/comfyui_essentials
2025-01-26T17:08:05.396417 - 0.0 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/clipseg.py
2025-01-26T17:08:05.396438 - 0.0 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/rgthree-comfy
2025-01-26T17:08:05.396457 - 0.0 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/ComfyUI-segment-anything-2
2025-01-26T17:08:05.396487 - 0.0 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/comfyui-jakeupgrade
2025-01-26T17:08:05.396507 - 0.0 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/ComfyUI_Comfyroll_CustomNodes
2025-01-26T17:08:05.396526 - 0.0 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/ComfyUI-GGUF
2025-01-26T17:08:05.396545 - 0.0 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/comfyui_controlnet_aux
2025-01-26T17:08:05.396565 - 0.0 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/comfyui-kjnodes
2025-01-26T17:08:05.396584 - 0.0 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/ComfyUI_UltimateSDUpscale
2025-01-26T17:08:05.396603 - 0.0 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/ComfyUI-Impact-Pack
2025-01-26T17:08:05.396622 - 0.0 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/ComfyUI_LayerStyle_Advance
2025-01-26T17:08:05.396641 - 0.0 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/ComfyUI-Inspire-Pack
2025-01-26T17:08:05.396660 - 0.1 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/comfyui-tensorops
2025-01-26T17:08:05.396679 - 0.1 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/comfyui-art-venture
2025-01-26T17:08:05.396698 - 0.1 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/ComfyUI-Manager
2025-01-26T17:08:05.396717 - 0.1 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/ComfyUI-Merlin
2025-01-26T17:08:05.396736 - 0.1 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/comfyui-impact-subpack
2025-01-26T17:08:05.396756 - 0.1 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/comfyui-easy-use
2025-01-26T17:08:05.396774 - 0.1 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/ComfyUI-SAM2-Realtime
2025-01-26T17:08:05.396793 - 0.4 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/comfyui-sam2
2025-01-26T17:08:05.396815 - 0.4 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/comfyui-florence2
2025-01-26T17:08:05.396834 - 0.7 seconds: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/was-node-suite-comfyui
2025-01-26T17:08:05.396853 -
2025-01-26T17:08:05.404916 - Starting server

2025-01-26T17:08:05.405132 - To see the GUI go to: http://127.0.0.1:8188
2025-01-26T17:08:26.130668 - FETCH DATA from: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/ComfyUI-Manager/extension-node-map.json2025-01-26T17:08:26.130699 - 2025-01-26T17:08:26.133615 - [DONE]2025-01-26T17:08:26.133637 -
2025-01-26T17:08:26.156123 - FETCH DATA from: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/user/default/ComfyUI-Manager/cache/2233941102_nodes_page_1_limit_1000.json2025-01-26T17:08:26.156152 - 2025-01-26T17:08:26.160819 - [DONE]2025-01-26T17:08:26.160846 -
2025-01-26T17:08:26.168628 - nightly_channel: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/cache
2025-01-26T17:08:26.168716 - FETCH DATA from: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/user/default/ComfyUI-Manager/cache/1514988643_custom-node-list.json2025-01-26T17:08:26.168728 - 2025-01-26T17:08:26.171248 - [DONE]2025-01-26T17:08:26.171270 -
2025-01-26T17:15:33.457820 - got prompt
2025-01-26T17:15:33.499921 - Downloading Florence2 model to: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/models/LLM/Florence-2-base-ft2025-01-26T17:15:33.500018 -
2025-01-26T17:15:34.125379 - /Users/poullbrien/Desktop/Bigeye Studios/AI/main/venv/lib/python3.10/site-packages/huggingface_hub/file_download.py:832: UserWarning: `local_dir_use_symlinks` parameter is deprecated and will be ignored. The process to download files to a local folder has been updated and do not rely on symlinks anymore. You only need to pass a destination folder as`local_dir`.
For more details, check out https://huggingface.co/docs/huggingface_hub/main/en/guides/download#download-files-to-local-folder.
warnings.warn(
2025-01-26T17:15:58.142968 -
Fetching 15 files: 80%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ | 12/15 [00:24<00:08, 2.95s/it]2025-01-26T17:15:58.143344 -
Fetching 15 files: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 15/15 [00:24<00:00, 1.60s/it]2025-01-26T17:15:58.143411 -
2025-01-26T17:15:58.144308 - Florence2 using sdpa for attention2025-01-26T17:15:58.144359 -
2025-01-26T17:15:58.202424 - No flash_attn import to remove2025-01-26T17:15:58.202457 -
2025-01-26T17:15:58.308457 - Florence2LanguageForConditionalGeneration has generative capabilities, as `prepare_inputs_for_generation` is explicitly overwritten. However, it doesn't directly inherit from `GenerationMixin`. From πŸ‘‰v4.50πŸ‘ˆ onwards, `PreTrainedModel` will NOT inherit from `GenerationMixin`, and this model will lose the ability to call `generate` and other related functions.
- If you're using `trust_remote_code=True`, you can get rid of this warning by loading the model with an auto class. See https://huggingface.co/docs/transformers/en/model_doc/auto#auto-classes
- If you are the owner of the model architecture code, please modify your model class such that it inherits from `GenerationMixin` (after `PreTrainedModel`, otherwise you'll get an exception).
- If you are not the owner of the model architecture class, please contact the model code owner to update it.
2025-01-26T17:15:58.969299 - Using split attention in VAE
2025-01-26T17:15:58.969877 - Using split attention in VAE
2025-01-26T17:15:59.096025 - VAE load device: mps, offload device: cpu, dtype: torch.bfloat16
2025-01-26T17:15:59.097627 - SELECTED: input22025-01-26T17:15:59.098136 -
2025-01-26T17:16:00.960560 - /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/ComfyUI-GGUF/loader.py:65: UserWarning: The given NumPy array is not writable, and PyTorch does not support non-writable tensors. This means writing to this tensor will result in undefined behavior. You may want to copy the array to protect its data or make it writable before converting it to a tensor. This type of warning will be suppressed for the rest of this program. (Triggered internally at /Users/runner/work/pytorch/pytorch/pytorch/torch/csrc/utils/tensor_numpy.cpp:212.)
torch_tensor = torch.from_numpy(tensor.data) # mmap
2025-01-26T17:16:00.961667 -
ggml_sd_loader:2025-01-26T17:16:00.961683 -
2025-01-26T17:16:00.961699 - GGMLQuantizationType.Q6_K 1692025-01-26T17:16:00.961709 -
2025-01-26T17:16:00.961720 - GGMLQuantizationType.F32 502025-01-26T17:16:00.961730 -
2025-01-26T17:16:01.072675 - Requested to load FluxClipModel_
2025-01-26T17:16:01.077806 - loaded completely 9.5367431640625e+25 323.94775390625 True
2025-01-26T17:16:01.078567 - CLIP model load device: cpu, offload device: cpu, current: cpu, dtype: torch.float16
2025-01-26T17:16:01.093204 - clip missing: ['text_projection.weight']
2025-01-26T17:16:01.129497 -
ggml_sd_loader:2025-01-26T17:16:01.129525 -
2025-01-26T17:16:01.129542 - GGMLQuantizationType.F32 4712025-01-26T17:16:01.129552 -
2025-01-26T17:16:01.129562 - GGMLQuantizationType.Q4_K 3042025-01-26T17:16:01.129573 -
2025-01-26T17:16:01.129583 - GGMLQuantizationType.F16 52025-01-26T17:16:01.129592 -
2025-01-26T17:16:01.147679 - model weight dtype torch.bfloat16, manual cast: None
2025-01-26T17:16:01.148074 - model_type FLUX
2025-01-26T17:16:01.223904 - Requested to load FluxClipModel_
2025-01-26T17:16:01.238626 - loaded completely 9.5367431640625e+25 4213.80517578125 True
2025-01-26T17:16:01.243361 - Attempting to release mmap (319)2025-01-26T17:16:01.243381 -
2025-01-26T17:16:44.265502 - !!! Exception during processing !!! Torch not compiled with CUDA enabled
2025-01-26T17:16:44.266058 - Traceback (most recent call last):
File "/Users/poullbrien/Desktop/Bigeye Studios/AI/main/execution.py", line 327, 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 "/Users/poullbrien/Desktop/Bigeye Studios/AI/main/execution.py", line 202, 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 "/Users/poullbrien/Desktop/Bigeye Studios/AI/main/execution.py", line 174, in _map_node_over_list
process_inputs(input_dict, i)
File "/Users/poullbrien/Desktop/Bigeye Studios/AI/main/execution.py", line 163, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "/Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/ComfyUI-segment-anything-2/nodes.py", line 55, in loadmodel
if torch.cuda.get_device_properties(0).major >= 8:
File "/Users/poullbrien/Desktop/Bigeye Studios/AI/main/venv/lib/python3.10/site-packages/torch/cuda/__init__.py", line 523, in get_device_properties
_lazy_init() # will define _get_device_properties
File "/Users/poullbrien/Desktop/Bigeye Studios/AI/main/venv/lib/python3.10/site-packages/torch/cuda/__init__.py", line 310, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled

2025-01-26T17:16:44.266491 - Prompt executed in 70.80 seconds
2025-01-26T17:17:00.136462 - got prompt
2025-01-26T17:17:00.186794 - SELECTED: input22025-01-26T17:17:00.186908 -
2025-01-26T17:17:00.187160 - model_path: 2025-01-26T17:17:00.187333 - 2025-01-26T17:17:00.187546 - /Users/poullbrien/Desktop/Bigeye Studios/AI/main/models/sam2/sam2_hiera_base_plus.safetensors2025-01-26T17:17:00.187660 -
2025-01-26T17:17:00.187777 - Using model config: /Users/poullbrien/Desktop/Bigeye Studios/AI/main/custom_nodes/ComfyUI-segment-anything-2/sam2_configs/sam2_hiera_b+.yaml2025-01-26T17:17:00.187805 -
2025-01-26T17:17:22.157937 - SELECTED: input22025-01-26T17:17:22.158459 -
2025-01-26T17:17:22.165712 - Requested to load Flux
2025-01-26T17:17:29.917332 - loaded completely 9.5367431640625e+25 6616.607666015625 True
2025-01-26T17:29:27.673063 -
100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 23/23 [11:57<00:00, 35.64s/it]2025-01-26T17:29:27.673496 -
100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 23/23 [11:57<00:00, 31.20s/it]2025-01-26T17:29:27.673522 -
2025-01-26T17:29:27.834697 - Requested to load AutoencodingEngine
2025-01-26T17:29:28.125010 - loaded completely 9.5367431640625e+25 159.87335777282715 True
2025-01-26T17:29:31.677112 - face2025-01-26T17:29:31.677143 -
2025-01-26T17:29:31.694691 - match index:2025-01-26T17:29:31.694718 - 2025-01-26T17:29:31.694731 - 02025-01-26T17:29:31.694743 - 2025-01-26T17:29:31.694754 - in mask_indexes:2025-01-26T17:29:31.694764 - 2025-01-26T17:29:31.694775 - ['0']2025-01-26T17:29:31.694786 -
2025-01-26T17:29:31.889439 - Offloading model...2025-01-26T17:29:31.889476 -
2025-01-26T17:29:32.287279 - [[[0.4480000138282776, 0.5759999752044678, 894.656005859375, 1150.27197265625]]]2025-01-26T17:29:32.287355 -
2025-01-26T17:29:32.287440 - Type of data:2025-01-26T17:29:32.287501 - 2025-01-26T17:29:32.287541 - 2025-01-26T17:29:32.287569 -
2025-01-26T17:29:32.287585 - Data:2025-01-26T17:29:32.287597 - 2025-01-26T17:29:32.287613 - [[[0.4480000138282776, 0.5759999752044678, 894.656005859375, 1150.27197265625]]]2025-01-26T17:29:32.287624 -
2025-01-26T17:29:32.287638 - Indexes:2025-01-26T17:29:32.287649 - 2025-01-26T17:29:32.287660 - [0]2025-01-26T17:29:32.287670 -
2025-01-26T17:29:32.287687 - Coordinates:2025-01-26T17:29:32.287698 - 2025-01-26T17:29:32.287708 - [{"x": 447, "y": 575}]2025-01-26T17:29:32.287718 -
2025-01-26T17:29:32.288685 - combined labels: 2025-01-26T17:29:32.288707 - 2025-01-26T17:29:32.288781 - [ 1]2025-01-26T17:29:32.288795 -
2025-01-26T17:29:32.288807 - combined labels shape: 2025-01-26T17:29:32.288818 - 2025-01-26T17:29:32.288829 - (1,)2025-01-26T17:29:32.288839 -
2025-01-26T17:29:32.294778 -
Processing Images: 0%| | 0/1 [00:00

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.