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
58.64k stars 6.22k forks source link

I get this DEPRECATION message when I start ComfyUI: "UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead." #2864

Open corvo4791 opened 9 months ago

corvo4791 commented 9 months ago

C:\code\ComfyUI_windows_portable>.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build ComfyUI startup time: 2024-02-21 23:15:26.226000 Platform: Windows Python version: 3.11.6 (tags/v3.11.6:8b6ee5b, Oct 2 2023, 14:57:12) [MSC v.1935 64 bit (AMD64)] Python executable: C:\code\ComfyUI_windows_portable\python_embeded\python.exe ** Log path: C:\code\ComfyUI_windows_portable\comfyui.log

Prestartup times for custom nodes: 0.0 seconds: C:\code\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager

Total VRAM 12282 MB, total RAM 65378 MB Set vram state to: NORMAL_VRAM Device: cuda:0 NVIDIA GeForce RTX 4070 Ti : cudaMallocAsync VAE dtype: torch.bfloat16

C:\code\ComfyUI_windows_portable\python_embeded\Lib\site-packages\transformers\utils\generic.py:441: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.

_torch_pytree._register_pytree_node( Using pytorch cross attention Adding extra search path checkpoints C:/code/SD/models/Stable-diffusion Adding extra search path configs C:/code/SD/models/Stable-diffusion Adding extra search path vae C:/code/SD/models/VAE Adding extra search path loras C:/code/SD/models/Lora Adding extra search path loras C:/code/SD/models/LyCORIS Adding extra search path upscale_models C:/code/SD/models/ESRGAN Adding extra search path upscale_models C:/code/SD/models/RealESRGAN Adding extra search path upscale_models C:/code/SD/models/SwinIR Adding extra search path embeddings C:/code/SD/embeddings Adding extra search path hypernetworks C:/code/SD/models/hypernetworks Adding extra search path controlnet C:/code/SD/models/ControlNet [Allor]: 0 nodes were overridden. [Allor]: 12 modules were enabled. [Allor]: 98 nodes were loaded. Loading: ComfyUI-Impact-Pack (V4.79) Loading: ComfyUI-Impact-Pack (Subpack: V0.4) [Impact Pack] Wildcards loading done.

C:\code\ComfyUI_windows_portable\python_embeded\Lib\site-packages\transformers\utils\generic.py:309: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.

_torch_pytree._register_pytree_node(

C:\code\ComfyUI_windows_portable\python_embeded\Lib\site-packages\transformers\utils\generic.py:309: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead.

_torch_pytree._register_pytree_node(

corvo4791 commented 9 months ago

Nobody? Devs?

ltdrdata commented 9 months ago

This is not something that can be addressed within the ComfyUI repository.

corvo4791 commented 9 months ago

This is not something that can be addressed within the ComfyUI repository.

Ok, so I filed it here: https://github.com/yoyzhou/pyTree/issues/new Do you think is the right place?

ltdrdata commented 9 months ago

This is the right place. https://github.com/huggingface/transformers/issues

corvo4791 commented 9 months ago

This is the right place. https://github.com/huggingface/transformers/issues

Thanks.