SamplerCustomAdvanced : BFloat16 is not supported on MPS
Your question
Hello, I have a Mac Studio M2 with 128GB of Ram. I'm getting this error with a ComfyUI workflow.
Logs
# ComfyUI Error Report
## Error Details
- **Node Type:** SamplerCustomAdvanced
- **Exception Type:** TypeError
- **Exception Message:** BFloat16 is not supported on MPS
## Stack Trace
File "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/ComfyUI/execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "/Users/macstudiodavidoff/ComfyUI/execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/ComfyUI/comfy/model_management.py", line 327, in model_load
raise e
File "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-GGUF/nodes.py", line 186, in load
super().load(*args, force_patch_weights=True, **kwargs)
File "/Users/macstudiodavidoff/ComfyUI/comfy/model_patcher.py", line 416, in load
self.model.to(device_to)
File "/Users/macstudiodavidoff/ComfyUI/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1152, in to
return self._apply(convert)
^^^^^^^^^^^^^^^^^^^^
File "/Users/macstudiodavidoff/ComfyUI/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 802, in _apply
module._apply(fn)
File "/Users/macstudiodavidoff/ComfyUI/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 802, in _apply
module._apply(fn)
File "/Users/macstudiodavidoff/ComfyUI/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 802, in _apply
module._apply(fn)
[Previous line repeated 3 more times]
File "/Users/macstudiodavidoff/ComfyUI/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 825, in _apply
param_applied = fn(param)
^^^^^^^^^
File "/Users/macstudiodavidoff/ComfyUI/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1150, in convert
return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
System Information
- ComfyUI Version: v0.2.2-93-g8dfa0cc
- Arguments: main.py
- OS: posix
- Python Version: 3.11.5 (main, Sep 11 2023, 08:31:25) [Clang 14.0.6 ]
- Embedded Python: false
- PyTorch Version: 2.2.1
Devices
-
Name: mps
- Type: mps
- VRAM Total: 137438953472
- VRAM Free: 80253485056
- Torch VRAM Total: 137438953472
- Torch VRAM Free: 80253485056
Logs
2024-10-11 14:47:36,504 - root - INFO - Total VRAM 131072 MB, total RAM 131072 MB
2024-10-11 14:47:36,504 - root - INFO - pytorch version: 2.2.1
2024-10-11 14:47:36,504 - root - INFO - Set vram state to: SHARED
2024-10-11 14:47:36,504 - root - INFO - Device: mps
2024-10-11 14:47:37,105 - root - INFO - Using sub quadratic optimization for cross attention, if you have memory or speed issues try using: --use-split-cross-attention
2024-10-11 14:47:37,541 - root - INFO - [Prompt Server] web root: /Users/macstudiodavidoff/ComfyUI/web
2024-10-11 14:47:39,596 - dinov2 - WARNING - xFormers not available
2024-10-11 14:47:39,597 - dinov2 - WARNING - xFormers not available
2024-10-11 14:47:40,205 - root - INFO - --------------
2024-10-11 14:47:40,206 - root - INFO - [91m ### Mixlab Nodes: [93mLoaded
2024-10-11 14:47:40,206 - root - INFO - ChatGPT.available True
2024-10-11 14:47:40,206 - root - INFO - edit_mask.available True
2024-10-11 14:47:40,466 - root - INFO - ClipInterrogator.available True
2024-10-11 14:47:40,562 - root - INFO - PromptGenerate.available True
2024-10-11 14:47:40,562 - root - INFO - ChinesePrompt.available True
2024-10-11 14:47:40,562 - root - INFO - RembgNode_.available True
2024-10-11 14:47:40,721 - root - INFO - TripoSR.available
2024-10-11 14:47:40,721 - root - INFO - MiniCPMNode.available
2024-10-11 14:47:40,981 - root - INFO - Scenedetect.available
2024-10-11 14:47:40,991 - root - INFO - FishSpeech.available False
2024-10-11 14:47:40,996 - root - INFO - SenseVoice.available
2024-10-11 14:47:40,996 - root - INFO - [93m -------------- [0m
2024-10-11 14:47:41,804 - root - INFO - Total VRAM 131072 MB, total RAM 131072 MB
2024-10-11 14:47:41,804 - root - INFO - pytorch version: 2.2.1
2024-10-11 14:47:41,804 - root - INFO - Set vram state to: SHARED
2024-10-11 14:47:41,804 - root - INFO - Device: mps
2024-10-11 14:47:42,520 - root - WARNING - Traceback (most recent call last):
File "/Users/macstudiodavidoff/ComfyUI/nodes.py", line 1998, in load_custom_node
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 936, in exec_module
File "<frozen importlib._bootstrap_external>", line 1073, in get_code
File "<frozen importlib._bootstrap_external>", line 1130, in get_data
FileNotFoundError: [Errno 2] No such file or directory: '/Users/macstudiodavidoff/ComfyUI/custom_nodes/impact_subpack/__init__.py'
2024-10-11 14:47:42,520 - root - WARNING - Cannot import /Users/macstudiodavidoff/ComfyUI/custom_nodes/impact_subpack module for custom nodes: [Errno 2] No such file or directory: '/Users/macstudiodavidoff/ComfyUI/custom_nodes/impact_subpack/__init__.py'
2024-10-11 14:47:42,578 - root - INFO -
Import times for custom nodes:
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI_IPAdapter_plus
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/websocket_image_save.py
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/SDXLAspectRatio.py
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/comfyui-saveimage-plus
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/sdxl_prompt_styler
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-Logic
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/cg-use-everywhere
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/sdxl-recommended-res-calc
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/masquerade-nodes-comfyui
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-Eagle-PNGInfo
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-SuperBeasts
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-post-processing-nodes
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds (IMPORT FAILED): /Users/macstudiodavidoff/ComfyUI/custom_nodes/impact_subpack
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-eesahesNodes
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-AutomaticCFG
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI_InstantID-main
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI_InstantID
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-Openpose-Editor-Plus
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/cg-image-picker
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/mikey_nodes
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/comfyui_facetools
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/comfyui-animatediff
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-DepthAnythingV2
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/comfyui-various
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyMath
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/comfyui-portrait-master
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI_essentials
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI_UltimateSDUpscale
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-Custom-Scripts
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-IPAnimate
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-KJNodes
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-Advanced-ControlNet
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/comfyui-dream-project
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-GGUF
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/efficiency-nodes-comfyui
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/rgthree-comfy
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-InstantID
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI_tinyterraNodes
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/comfyui-dynamicprompts
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI_Comfyroll_CustomNodes
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-AnimateDiff-Evolved
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/comfyui_controlnet_aux
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/comfyui-art-venture
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-Florence2
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-Impact-Pack
2024-10-11 14:47:42,578 - root - INFO - 0.0 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-Inference-Core-Nodes
2024-10-11 14:47:42,578 - root - INFO - 0.1 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI_LayerStyle
2024-10-11 14:47:42,579 - root - INFO - 0.1 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/PuLID_ComfyUI
2024-10-11 14:47:42,579 - root - INFO - 0.1 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-Easy-Use
2024-10-11 14:47:42,579 - root - INFO - 0.1 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-Manager
2024-10-11 14:47:42,579 - root - INFO - 0.1 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-Gemini
2024-10-11 14:47:42,579 - root - INFO - 0.1 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-GlifNodes
2024-10-11 14:47:42,579 - root - INFO - 0.2 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-VideoHelperSuite
2024-10-11 14:47:42,579 - root - INFO - 0.2 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI_FaceAnalysis
2024-10-11 14:47:42,579 - root - INFO - 0.3 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/comfy_PoP
2024-10-11 14:47:42,579 - root - INFO - 0.3 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/comfy_controlnet_preprocessors
2024-10-11 14:47:42,579 - root - INFO - 0.3 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/comfyui-propost
2024-10-11 14:47:42,579 - root - INFO - 0.3 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/DZ-FaceDetailer
2024-10-11 14:47:42,579 - root - INFO - 0.4 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/comfyui-reactor-node
2024-10-11 14:47:42,579 - root - INFO - 0.7 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/was-node-suite-comfyui
2024-10-11 14:47:42,579 - root - INFO - 1.2 seconds: /Users/macstudiodavidoff/ComfyUI/custom_nodes/comfyui-mixlab-nodes
2024-10-11 14:47:42,579 - root - INFO -
2024-10-11 14:47:42,584 - root - INFO - Starting server
2024-10-11 14:47:42,584 - root - INFO - To see the GUI go to: http://127.0.0.1:8188
2024-10-11 14:47:48,061 - root - ERROR - [ERROR] An error occurred while retrieving information for the 'Florence2ModelLoader' node.
2024-10-11 14:47:48,063 - root - ERROR - Traceback (most recent call last):
File "/Users/macstudiodavidoff/ComfyUI/server.py", line 564, in get_object_info
out[x] = node_info(x)
^^^^^^^^^^^^
File "/Users/macstudiodavidoff/ComfyUI/server.py", line 531, in node_info
info['input'] = obj_class.INPUT_TYPES()
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-Florence2/nodes.py", line 148, in INPUT_TYPES
"model": ([item.name for item in Path(folder_paths.models_dir, "LLM").iterdir() if item.is_dir()], {"tooltip": "models are expected to be in Comfyui/models/LLM folder"}),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-Florence2/nodes.py", line 148, in <listcomp>
"model": ([item.name for item in Path(folder_paths.models_dir, "LLM").iterdir() if item.is_dir()], {"tooltip": "models are expected to be in Comfyui/models/LLM folder"}),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/macstudiodavidoff/miniconda3/lib/python3.11/pathlib.py", line 931, in iterdir
for name in os.listdir(self):
^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/Users/macstudiodavidoff/ComfyUI/models/LLM'
2024-10-11 14:47:48,254 - root - ERROR - [ERROR] An error occurred while retrieving information for the 'Florence2ModelLoader' node.
2024-10-11 14:47:48,254 - root - ERROR - Traceback (most recent call last):
File "/Users/macstudiodavidoff/ComfyUI/server.py", line 564, in get_object_info
out[x] = node_info(x)
^^^^^^^^^^^^
File "/Users/macstudiodavidoff/ComfyUI/server.py", line 531, in node_info
info['input'] = obj_class.INPUT_TYPES()
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-Florence2/nodes.py", line 148, in INPUT_TYPES
"model": ([item.name for item in Path(folder_paths.models_dir, "LLM").iterdir() if item.is_dir()], {"tooltip": "models are expected to be in Comfyui/models/LLM folder"}),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-Florence2/nodes.py", line 148, in <listcomp>
"model": ([item.name for item in Path(folder_paths.models_dir, "LLM").iterdir() if item.is_dir()], {"tooltip": "models are expected to be in Comfyui/models/LLM folder"}),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/macstudiodavidoff/miniconda3/lib/python3.11/pathlib.py", line 931, in iterdir
for name in os.listdir(self):
^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/Users/macstudiodavidoff/ComfyUI/models/LLM'
2024-10-11 14:48:07,759 - root - INFO - got prompt
2024-10-11 14:48:07,801 - root - INFO - Using split attention in VAE
2024-10-11 14:48:07,802 - root - INFO - Using split attention in VAE
2024-10-11 14:48:08,139 - root - INFO - Requested to load FluxClipModel_
2024-10-11 14:48:08,139 - root - INFO - Loading 1 new model
2024-10-11 14:48:08,142 - root - INFO - loaded completely 0.0 323.94775390625 True
2024-10-11 14:48:08,243 - root - INFO - model weight dtype torch.bfloat16, manual cast: None
2024-10-11 14:48:08,244 - root - INFO - model_type FLUX
2024-10-11 14:48:08,325 - root - INFO - Requested to load FluxClipModel_
2024-10-11 14:48:08,325 - root - INFO - Loading 1 new model
2024-10-11 14:48:13,587 - root - INFO - Requested to load Flux
2024-10-11 14:48:13,587 - root - INFO - Loading 1 new model
2024-10-11 14:48:14,538 - root - INFO - loaded completely 0.0 12119.472778320312 True
2024-10-11 14:48:15,068 - root - ERROR - !!! Exception during processing !!! BFloat16 is not supported on MPS
2024-10-11 14:48:15,069 - root - ERROR - Traceback (most recent call last):
File "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/ComfyUI/execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "/Users/macstudiodavidoff/ComfyUI/execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/ComfyUI/comfy/model_management.py", line 327, in model_load
raise e
File "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-GGUF/nodes.py", line 186, in load
super().load(*args, force_patch_weights=True, **kwargs)
File "/Users/macstudiodavidoff/ComfyUI/comfy/model_patcher.py", line 416, in load
self.model.to(device_to)
File "/Users/macstudiodavidoff/ComfyUI/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1152, in to
return self._apply(convert)
^^^^^^^^^^^^^^^^^^^^
File "/Users/macstudiodavidoff/ComfyUI/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 802, in _apply
module._apply(fn)
File "/Users/macstudiodavidoff/ComfyUI/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 802, in _apply
module._apply(fn)
File "/Users/macstudiodavidoff/ComfyUI/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 802, in _apply
module._apply(fn)
[Previous line repeated 3 more times]
File "/Users/macstudiodavidoff/ComfyUI/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 825, in _apply
param_applied = fn(param)
^^^^^^^^^
File "/Users/macstudiodavidoff/ComfyUI/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1150, in convert
return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: BFloat16 is not supported on MPS
2024-10-11 14:48:15,070 - root - INFO - Prompt executed in 7.31 seconds
2024-10-11 14:49:38,666 - root - INFO - got prompt
2024-10-11 14:49:38,689 - root - INFO - Requested to load Flux
2024-10-11 14:49:38,689 - root - INFO - Loading 1 new model
2024-10-11 14:49:39,861 - root - INFO - loaded completely 0.0 12119.472778320312 True
2024-10-11 14:49:40,392 - root - ERROR - !!! Exception during processing !!! BFloat16 is not supported on MPS
2024-10-11 14:49:40,393 - root - ERROR - Traceback (most recent call last):
File "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/ComfyUI/execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "/Users/macstudiodavidoff/ComfyUI/execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/ComfyUI/comfy/model_management.py", line 327, in model_load
raise e
File "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-GGUF/nodes.py", line 186, in load
super().load(*args, force_patch_weights=True, **kwargs)
File "/Users/macstudiodavidoff/ComfyUI/comfy/model_patcher.py", line 416, in load
self.model.to(device_to)
File "/Users/macstudiodavidoff/ComfyUI/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1152, in to
return self._apply(convert)
^^^^^^^^^^^^^^^^^^^^
File "/Users/macstudiodavidoff/ComfyUI/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 802, in _apply
module._apply(fn)
File "/Users/macstudiodavidoff/ComfyUI/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 802, in _apply
module._apply(fn)
File "/Users/macstudiodavidoff/ComfyUI/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 802, in _apply
module._apply(fn)
[Previous line repeated 3 more times]
File "/Users/macstudiodavidoff/ComfyUI/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 825, in _apply
param_applied = fn(param)
^^^^^^^^^
File "/Users/macstudiodavidoff/ComfyUI/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1150, in convert
return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: BFloat16 is not supported on MPS
2024-10-11 14:49:40,394 - root - INFO - Prompt executed in 1.72 seconds
2024-10-12 14:16:43,184 - root - INFO - got prompt
2024-10-12 14:16:43,211 - root - INFO - Requested to load Flux
2024-10-12 14:16:43,211 - root - INFO - Loading 1 new model
2024-10-12 14:16:44,372 - root - INFO - loaded completely 0.0 12119.472778320312 True
2024-10-12 14:16:44,895 - root - ERROR - !!! Exception during processing !!! BFloat16 is not supported on MPS
2024-10-12 14:16:44,898 - root - ERROR - Traceback (most recent call last):
File "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/ComfyUI/execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "/Users/macstudiodavidoff/ComfyUI/execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/ComfyUI/comfy/model_management.py", line 327, in model_load
raise e
File "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/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 "/Users/macstudiodavidoff/ComfyUI/custom_nodes/ComfyUI-GGUF/nodes.py", line 186, in load
super().load(*args, force_patch_weights=True, **kwargs)
File "/Users/macstudiodavidoff/ComfyUI/comfy/model_patcher.py", line 416, in load
self.model.to(device_to)
File "/Users/macstudiodavidoff/ComfyUI/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1152, in to
return self._apply(convert)
^^^^^^^^^^^^^^^^^^^^
File "/Users/macstudiodavidoff/ComfyUI/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 802, in _apply
module._apply(fn)
File "/Users/macstudiodavidoff/ComfyUI/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 802, in _apply
module._apply(fn)
File "/Users/macstudiodavidoff/ComfyUI/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 802, in _apply
module._apply(fn)
[Previous line repeated 3 more times]
File "/Users/macstudiodavidoff/ComfyUI/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 825, in _apply
param_applied = fn(param)
^^^^^^^^^
File "/Users/macstudiodavidoff/ComfyUI/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1150, in convert
return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: BFloat16 is not supported on MPS
2024-10-12 14:16:44,899 - root - INFO - Prompt executed in 1.71 seconds
Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.
{"last_node_id":383,"last_link_id":3357,"nodes":[{"id":322,"type":"Power Lora Loader (rgthree)","pos":{"0":994,"1":738},"size":{"0":290,"1":170},"flags":{"pinned":true},"order":8,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":3344,"dir":3},{"name":"clip","type":"CLIP","link":3345,"dir":3}],"outputs":[{"name":"MODEL","type":"MODEL","links":[3341,3342,3349],"shape":3,"dir":4},{"name":"CLIP","type":"CLIP","links":[3340],"shape":3,"dir":4}],"properties":{"Show Strengths":"Single Strength"},"widgets_values":[null,{"type":"PowerLoraLoaderHeaderWidget"},{"on":true,"lora":"Mia_lora.safetensors","strength":1,"strengthTwo":null},{"on":true,"lora":"Mia_lora.safetensors","strength":1,"strengthTwo":null},null,""],"color":"#222","bgcolor":"#000","shape":1},{"id":370,"type":"BasicScheduler","pos":{"0":1810,"1":310},"size":{"0":320,"1":110},"flags":{},"order":9,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":3341}],"outputs":[{"name":"SIGMAS","type":"SIGMAS","links":[3329],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"BasicScheduler"},"widgets_values":["simple",20,1]},{"id":375,"type":"BasicGuider","pos":{"0":1810,"1":470},"size":{"0":240,"1":50},"flags":{},"order":11,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":3342,"slot_index":0},{"name":"conditioning","type":"CONDITIONING","link":3324,"slot_index":1}],"outputs":[{"name":"GUIDER","type":"GUIDER","links":[3327],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"BasicGuider"},"widgets_values":[]},{"id":369,"type":"RandomNoise","pos":{"0":1860,"1":860},"size":{"0":270,"1":82},"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"NOISE","type":"NOISE","links":[3326],"shape":3}],"properties":{"Node name for S&R":"RandomNoise"},"widgets_values":[1050838850110203,"randomize"]},{"id":382,"type":"Note","pos":{"0":2156,"1":616},"size":{"0":257.3253173828125,"1":86.30651092529297},"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["832 x 1216 (portrait)"],"color":"#432","bgcolor":"#653"},{"id":371,"type":"UnetLoaderGGUF","pos":{"0":543,"1":400},"size":{"0":320,"1":60},"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[{"name":"MODEL","type":"MODEL","links":[3344],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"UnetLoaderGGUF"},"widgets_values":["flux1-dev-Q8_0.gguf"]},{"id":26,"type":"SaveImage","pos":{"0":1299,"1":218},"size":{"0":400,"1":630},"flags":{},"order":17,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":3356}],"outputs":[],"title":"Save Flux Image","properties":{"Node name for S&R":"SaveImage"},"widgets_values":["FLUX"],"color":"#222","bgcolor":"#000","shape":1},{"id":378,"type":"VAEDecode","pos":{"0":2520,"1":590},"size":{"0":210,"1":50},"flags":{},"order":14,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":3331},{"name":"vae","type":"VAE","link":3332,"slot_index":1}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[3348,3357],"slot_index":0,"shape":3}],"title":"Flux Image Out","properties":{"Node name for S&R":"VAEDecode"},"widgets_values":[]},{"id":383,"type":"SaveImage","pos":{"0":952,"1":192},"size":{"0":320,"1":270},"flags":{},"order":16,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":3357}],"outputs":[],"properties":{"Node name for S&R":"SaveImage"},"widgets_values":["ComfyUI"]},{"id":381,"type":"UltimateSDUpscale","pos":{"0":2580,"1":710},"size":{"0":320,"1":610},"flags":{},"order":15,"mode":4,"inputs":[{"name":"image","type":"IMAGE","link":3348},{"name":"model","type":"MODEL","link":3349},{"name":"positive","type":"CONDITIONING","link":3350},{"name":"negative","type":"CONDITIONING","link":3351},{"name":"vae","type":"VAE","link":3352},{"name":"upscale_model","type":"UPSCALE_MODEL","link":3353},{"name":"tile_width","type":"INT","link":3354,"widget":{"name":"tile_width"}},{"name":"tile_height","type":"INT","link":3355,"widget":{"name":"tile_height"}}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[3356],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"UltimateSDUpscale"},"widgets_values":[2,932261059338154,"randomize",20,8,"euler","normal",0.2,"Linear",512,512,8,32,"None",1,64,8,16,true,false]},{"id":379,"type":"UpscaleModelLoader","pos":{"0":2200,"1":980},"size":{"0":320,"1":60},"flags":{},"order":3,"mode":4,"inputs":[],"outputs":[{"name":"UPSCALE_MODEL","type":"UPSCALE_MODEL","links":[3353],"shape":3}],"title":"Flux Upscale Model","properties":{"Node name for S&R":"UpscaleModelLoader"},"widgets_values":["4xUltrasharp_4xUltrasharpV10.pt"]},{"id":368,"type":"SDXL Empty Latent Image (rgthree)","pos":{"0":1820,"1":560},"size":{"0":320,"1":150},"flags":{},"order":4,"mode":0,"inputs":[],"outputs":[{"name":"LATENT","type":"LATENT","links":[3330],"slot_index":0,"shape":3},{"name":"CLIP_WIDTH","type":"INT","links":[3354],"shape":3},{"name":"CLIP_HEIGHT","type":"INT","links":[3355],"shape":3}],"properties":{"Node name for S&R":"SDXL Empty Latent Image (rgthree)"},"widgets_values":[" 768 x 1344 (portrait)",1,1]},{"id":376,"type":"ConditioningZeroOut","pos":{"0":1428,"1":948},"size":{"0":211.60000610351562,"1":30},"flags":{},"order":12,"mode":0,"inputs":[{"name":"conditioning","type":"CONDITIONING","link":3325,"slot_index":0}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[3351],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"ConditioningZeroOut"},"widgets_values":[],"color":"#322","bgcolor":"#533"},{"id":367,"type":"CLIPTextEncode","pos":{"0":534,"1":134},"size":{"0":400,"1":200},"flags":{},"order":10,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":3340}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[3324,3325,3350],"shape":3}],"title":"Flux Prompt","properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":["Mia, instagram photo of an elegant 40-year-old influencer, seated on the steps of a private pool, adorned in a bold zebra-print bikini, her posture both commanding and relaxed. Blue eyes. Her hair is long, voluminous, and slightly wavy, cascading past her shoulders in a rich, black color. The evening light reflects off her bronzed skin, highlighting her mature beauty, skin grain."]},{"id":372,"type":"DualCLIPLoaderGGUF","pos":{"0":538,"1":528},"size":{"0":320,"1":110},"flags":{},"order":5,"mode":0,"inputs":[],"outputs":[{"name":"CLIP","type":"CLIP","links":[3345],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"DualCLIPLoaderGGUF"},"widgets_values":["t5xxl_fp16.safetensors","clip_l.safetensors","flux"]},{"id":377,"type":"SamplerCustomAdvanced","pos":{"0":2215,"1":336},"size":{"0":360,"1":110},"flags":{},"order":13,"mode":0,"inputs":[{"name":"noise","type":"NOISE","link":3326,"slot_index":0},{"name":"guider","type":"GUIDER","link":3327},{"name":"sampler","type":"SAMPLER","link":3328,"slot_index":2},{"name":"sigmas","type":"SIGMAS","link":3329,"slot_index":3},{"name":"latent_image","type":"LATENT","link":3330,"slot_index":4}],"outputs":[{"name":"output","type":"LATENT","links":[3331],"slot_index":0,"shape":3},{"name":"denoised_output","type":"LATENT","links":null,"shape":3}],"properties":{"Node name for S&R":"SamplerCustomAdvanced"},"widgets_values":[]},{"id":374,"type":"KSamplerSelect","pos":{"0":1820,"1":750},"size":{"0":320,"1":60},"flags":{},"order":6,"mode":0,"inputs":[],"outputs":[{"name":"SAMPLER","type":"SAMPLER","links":[3328],"shape":3}],"properties":{"Node name for S&R":"KSamplerSelect"},"widgets_values":["euler"]},{"id":373,"type":"VAELoader","pos":{"0":538,"1":688},"size":{"0":320,"1":60},"flags":{},"order":7,"mode":0,"inputs":[],"outputs":[{"name":"VAE","type":"VAE","links":[3332,3352],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"VAELoader"},"widgets_values":["vae-ft-mse-840000-ema-pruned.safetensors"]}],"links":[[3324,367,0,375,1,"CONDITIONING"],[3325,367,0,376,0,"CONDITIONING"],[3326,369,0,377,0,"NOISE"],[3327,375,0,377,1,"GUIDER"],[3328,374,0,377,2,"SAMPLER"],[3329,370,0,377,3,"SIGMAS"],[3330,368,0,377,4,"LATENT"],[3331,377,0,378,0,"LATENT"],[3332,373,0,378,1,"VAE"],[3340,322,1,367,0,"CLIP"],[3341,322,0,370,0,"MODEL"],[3342,322,0,375,0,"MODEL"],[3344,371,0,322,0,"MODEL"],[3345,372,0,322,1,"CLIP"],[3348,378,0,381,0,"IMAGE"],[3349,322,0,381,1,"MODEL"],[3350,367,0,381,2,"CONDITIONING"],[3351,376,0,381,3,"CONDITIONING"],[3352,373,0,381,4,"VAE"],[3353,379,0,381,5,"UPSCALE_MODEL"],[3354,368,1,381,6,"INT"],[3355,368,2,381,7,"INT"],[3356,381,0,26,0,"IMAGE"],[3357,378,0,383,0,"IMAGE"]],"groups":[{"title":"FLUX","bounding":[528,150,1173,717],"color":"#444","font_size":24,"flags":{}}],"config":{},"extra":{"ds":{"scale":0.9646149645000015,"offset":[-412.8352080597267,134.43269689604938]},"groupNodes":{}},"version":0.4}
Additional Context
(Please add any additional context or steps to reproduce the error here)
### Other
_No response_
You can use the CPU instead of MPS. However, you may encounter memory shortages. Create and run a PyTorch virtual environment configured to use the CPU. The following is the relevant PyTorch content.
conda create -n comfyui-cpu python=3.10 conda activate comfyui-cpu pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
See this: https://huggingface.co/black-forest-labs/FLUX.1-schnell/discussions/13
What is your system version? Maybe you can try mflux, which is the ComfyUI version:
https://github.com/raysers/Mflux-ComfyUI
Download the model from the following link and place it in the models/Mflux folder:
https://huggingface.co/madroid/flux.1-schnell-mflux-4bit
Then go to the workflows folder of the plugin, find and run Mflux text2img Localmodel.json.
It is currently working well on my Ventura 13.6.
I have a Mac Studio Apple M2 Ultra with 128GB and OS Sequoia 15.0.1
I installed Mflux from the ComfyUI manager and now I get this error when I launch ComfyUI: RuntimeError: operator torchvision::nms does not exist
ComfyUI no longer opens
I have a Mac Studio Apple M2 Ultra with 128GB and OS Sequoia 15.0.1
I installed Mflux from the ComfyUI manager and now I get this error when I launch ComfyUI: RuntimeError: operator torchvision::nms does not exist
ComfyUI no longer opens
I’m sorry for the bad experience you’ve had. You should delete Mflux ComfyUI to restore your ComfyUI to normal operation. I’ve only tested it on my system running version 13.6.
I’ve encountered the same issue before. My machine is an M1 Pro with 16GB of RAM, and the OS version is 13.6. When I tried using flux, PyTorch gave an error related to BF precision because PyTorch requires at least OS version 14.0 to support BF precision. It wasn’t until I discovered the mflux project that I finally managed to generate images using flux models on my Ventura 13.6 system.
Since you mentioned your system is on OS 15, the issues we encountered may be similar, but the causes might be different. I don’t have much experience that could help you in this case, I’m sorry.
This issue is being marked stale because it has not had any activity for 30 days. Reply below within 7 days if your issue still isn't solved, and it will be left open. Otherwise, the issue will be closed automatically.