chflame163 / ComfyUI_LayerStyle

A set of nodes for ComfyUI that can composite layer and mask to achieve Photoshop like functionality.
MIT License
1.54k stars 88 forks source link

我也有一个问题:GPU not support when PersonMaskUltra V2 Processing #178

Open TigerHH6866 opened 4 months ago

TigerHH6866 commented 4 months ago

system info

ComfyUI-Manager: installing dependencies done.

ComfyUI startup time: 2024-07-25 08:18:03.379638 Platform: Linux Python version: 3.10.8 (main, Nov 24 2022, 14:13:03) [GCC 11.2.0] Python executable: /root/autodl-tmp/ComfyUI/venv/bin/python ComfyUI Path: /root/autodl-tmp/ComfyUI Log path: /root/autodl-tmp/ComfyUI/comfyui.log

Prestartup times for custom nodes: 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/rgthree-comfy 0.0 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-Easy-Use 1.2 seconds: /root/autodl-tmp/ComfyUI/custom_nodes/ComfyUI-Manager

Total VRAM 24260 MB, total RAM 773427 MB pytorch version: 2.3.1+cu121 xformers version: 0.0.27 Set vram state to: NORMAL_VRAM Device: cuda:0 NVIDIA GeForce RTX 3090 : cudaMallocAsync

当PersonMaskUltra处理图片时:会报mediapipe不支持gpu,且之后insightface也有点慢(已经修复环境)

I0000 00:00:1721867901.247809 346725 task_runner.cc:85] GPU suport is not available: INTERNAL: ; RET_CHECK failure (mediapipe/gpu/gl_context_egl.cc:77) display != EGL_NO_DISPLAYeglGetDisplay() returned error 0x300c W0000 00:00:1721867901.276826 347552 inference_feedback_manager.cc:114] Feedback manager requires a model with a single signature inference. Disabling support for feedback tensors.

😺dzNodes: LayerStyle -> PersonMaskUltra V2 Processed 1 image(s).

I0000 00:00:1721867902.927560 346725 task_runner.cc:85] GPU suport is not available: INTERNAL: ; RET_CHECK failure (mediapipe/gpu/gl_context_egl.cc:77) display != EGL_NO_DISPLAYeglGetDisplay() returned error 0x300c W0000 00:00:1721867902.948267 347563 inference_feedback_manager.cc:114] Feedback manager requires a model with a single signature inference. Disabling support for feedback tensors.

😺dzNodes: LayerStyle -> PersonMaskUltra V2 Processed 1 image(s).

I0000 00:00:1721867904.128704 346725 task_runner.cc:85] GPU suport is not available: INTERNAL: ; RET_CHECK failure (mediapipe/gpu/gl_context_egl.cc:77) display != EGL_NO_DISPLAYeglGetDisplay() returned error 0x300c W0000 00:00:1721867904.159589 347573 inference_feedback_manager.cc:114] Feedback manager requires a model with a single signature inference. Disabling support for feedback tensors.

😺dzNodes: LayerStyle -> PersonMaskUltra V2 Processed 1 image(s).

/root/autodl-tmp/ComfyUI/venv/lib/python3.10/site-packages/insightface/utils/transform.py:68: FutureWarning: rcond parameter will change to the default of machine precision times max(M, N) where M and N are the input matrix dimensions. To use the future default and silence this warning we advise to pass rcond=None, to keep using the old, explicitly pass rcond=-1. P = np.linalg.lstsq(X_homo, Y)[0].T # Affine matrix. 3 x 4 INFO: InsightFace detection resolution lowered to (576, 576). INFO: InsightFace detection resolution lowered to (576, 576).

😺dzNodes: LayerStyle -> Processed 1 mask(s).

Requested to load SDXL Loading 1 new model 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 12/12 [00:05<00:00, 2.01it/s] Prompt executed in 33.42 seconds

chflame163 commented 4 months ago

不能确定原因,可能是某个依赖包的问题

leecongc commented 1 week ago

问题解决了吗?一样的问题,分割的时候不使用gpu,对视频这块的处理太慢了