comfyanonymous / ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
https://www.comfy.org/
GNU General Public License v3.0
52.23k stars 5.5k forks source link

Unable to generate images correctly on the m2max chip in the Mac Studio. #3153

Open ha7rock opened 6 months ago

ha7rock commented 6 months ago

Device : Mac Studio | M2Max | 64GB ram OS: MAC OS Sonoma Comfyui: Lastest Version Models: SDXL 1.0

2024-03-27 23 45 45

Help pls!

miobook commented 6 months ago

Yes, I similar problems appear Apple M1 Max macOS Sonoma 14.4.1 Upgraded macOS to 14.4.1, updated comfyui and some nodes Tried reinstalling and the problem still persists

WX20240328-112117@2x

log info:

ComfyUI startup time: 2024-03-28 10:53:44.204156 Platform: Darwin Python version: 3.12.1 | packaged by Anaconda, Inc. | (main, Jan 19 2024, 09:45:58) [Clang 14.0.6 ] Python executable: /Users/miobook.net/miniconda3/bin/python ** Log path: /Users/admin/Ai/ComfyUI/comfyui.log

Prestartup times for custom nodes: 0.0 seconds: /Users/admin/Ai/ComfyUI/custom_nodes/ComfyUI-Manager

Total VRAM 65536 MB, total RAM 65536 MB Forcing FP16. Set vram state to: SHARED Device: mps VAE dtype: torch.float32 Using sub quadratic optimization for cross attention, if you have memory or speed issues try using: --use-split-cross-attention Adding extra search path checkpoints /Users/admin/Ai/stable-diffusion-webui/models/Stable-diffusion Adding extra search path configs /Users/admin/Ai/stable-diffusion-webui/models/Stable-diffusion Adding extra search path vae /Users/admin/Ai/stable-diffusion-webui/models/VAE Adding extra search path loras /Users/admin/Ai/stable-diffusion-webui/models/Lora Adding extra search path loras /Users/admin/Ai/stable-diffusion-webui/models/LyCORIS Adding extra search path upscale_models /Users/admin/Ai/stable-diffusion-webui/models/ESRGAN Adding extra search path upscale_models /Users/admin/Ai/stable-diffusion-webui/models/RealESRGAN Adding extra search path upscale_models /Users/admin/Ai/stable-diffusion-webui/models/SwinIR Adding extra search path embeddings /Users/admin/Ai/stable-diffusion-webui/embeddings Adding extra search path hypernetworks /Users/admin/Ai/stable-diffusion-webui/models/hypernetworks Adding extra search path controlnet /Users/admin/Ai/stable-diffusion-webui/extensions/sd-webui-controlnet/models

Loading: ComfyUI-Manager (V2.11)

ComfyUI Revision: 2086 [2f93b916] | Released on '2024-03-26'

(pysssss:WD14Tagger) [DEBUG] Available ORT providers: CoreMLExecutionProvider, AzureExecutionProvider, CPUExecutionProvider (pysssss:WD14Tagger) [DEBUG] Using ORT providers: CUDAExecutionProvider, CPUExecutionProvider

Loading: ComfyUI-Impact-Pack (V4.83.2)

Loading: ComfyUI-Impact-Pack (Subpack: V0.4)

[Impact Pack] Wildcards loading done.

Loading: ComfyUI-Inspire-Pack (V0.65.6)

[comfyui_controlnet_aux] | INFO -> Using ckpts path: /Users/admin/Ai/ComfyUI/custom_nodes/comfyui_controlnet_aux/ckpts [comfyui_controlnet_aux] | INFO -> Using symlinks: False [comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider'] DWPose: Onnxruntime with acceleration providers detected

Comfyroll Studio v1.76 : 175 Nodes Loaded

For changes, please see patch notes at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/Patch_Notes.md For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki

[START] ComfyUI AlekPet Nodes

Node -> PainterNode [Loading] Node -> PoseNode [Loading] Node -> GoogleTranslateNode [Loading] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json Node -> DeepTranslatorNode [Loading] Node -> ArgosTranslateNode [Loading] Node -> ExtrasNode [Loading]

[END] ComfyUI AlekPet Nodes

Import times for custom nodes: 0.0 seconds: /Users/admin/Ai/ComfyUI/custom_nodes/websocket_image_save.py 0.0 seconds: /Users/admin/Ai/ComfyUI/custom_nodes/AIGODLIKE-COMFYUI-TRANSLATION 0.0 seconds: /Users/admin/Ai/ComfyUI/custom_nodes/ComfyUI-Embedding_Picker 0.0 seconds: /Users/admin/Ai/ComfyUI/custom_nodes/sdxl_prompt_styler 0.0 seconds: /Users/admin/Ai/ComfyUI/custom_nodes/ComfyUI_ADV_CLIP_emb 0.0 seconds: /Users/admin/Ai/ComfyUI/custom_nodes/ComfyUI-WD14-Tagger 0.0 seconds: /Users/admin/Ai/ComfyUI/custom_nodes/ComfyUI_IPAdapter_plus 0.0 seconds: /Users/admin/Ai/ComfyUI/custom_nodes/ComfyUI_UltimateSDUpscale 0.0 seconds: /Users/admin/Ai/ComfyUI/custom_nodes/ComfyUI-Custom-Scripts 0.0 seconds: /Users/admin/Ai/ComfyUI/custom_nodes/comfyui-browser 0.0 seconds: /Users/admin/Ai/ComfyUI/custom_nodes/ComfyUI_Comfyroll_CustomNodes 0.0 seconds: /Users/admin/Ai/ComfyUI/custom_nodes/comfyui_controlnet_aux 0.0 seconds: /Users/admin/Ai/ComfyUI/custom_nodes/ComfyUI-Inspire-Pack 0.1 seconds: /Users/admin/Ai/ComfyUI/custom_nodes/ComfyUI-Manager 0.7 seconds: /Users/admin/Ai/ComfyUI/custom_nodes/ComfyUI-Impact-Pack 3.9 seconds: /Users/admin/Ai/ComfyUI/custom_nodes/ComfyUI_Custom_Nodes_AlekPet

Starting server

To see the GUI go to: http://127.0.0.1:8188 [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json FETCH DATA from: /Users/admin/Ai/ComfyUI/custom_nodes/ComfyUI-Manager/.cache/1514988643_custom-node-list.json Fetching done. `

jk779 commented 6 months ago

(fyi, I' having a similiar issue with MacOS (M3 Max), but with another model, see here and [especially the linked image in the bottom])

miobook commented 6 months ago

(fyi, I' having a similiar issue with MacOS (M3 Max), but with another model, see here and [especially the linked image in the bottom])

Thank you! this method works

francisjervis commented 6 months ago

See https://github.com/comfyanonymous/ComfyUI/issues/2992