Closed sandor-lisn closed 5 months ago
Thank you for your feedback. Yesterday we fixed the usage of Deepcache for ComfyU . Please update OneDiff & onediff_comfy_nodes using the following command: @sandor-lisn
cd onediff
git pull
# update OneDiff
pip install -e .
# update onediff_comfy_nodes
rm -r path/to/ComfyUI/custom_nodes/onediff_comfy_nodes
ln -s onediff_comfy_nodes path/to/ComfyUI/custom_nodes/
I'm very sorry, this is a compatibility issue with comfyui. We will pay attention to it in future development and provide a stable comfyui commit number.
Describe the bug
I have been trying to get to run your examples with deepcache in ComfyUI in 2 different environments. I am always getting the same error: "Failed to update obj_entity in place. Exception: name 'torch' is not defined".
Below, I am describing these 2 environments and errors in each answer.
Your environment
1) A100 in cluster $ uname -a Linux jean-zay4 4.18.0-372.91.1.el8_6.x86_64 #1 SMP Tue Jan 30 11:06:32 EST 2024 x86_64 x86_64 x86_64 GNU/Linux
2) RTX 4090 on laptop $ uname -a Linux sandor-Precision-7780 6.5.0-26-generic #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Mar 12 10:22:43 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
OneDiff git commit id
1) 85840be35d24d7b06efc9028b6322b23845ab1fe
2) d2d2ff8662fc4db8b20b7e2bd62174f85868d484
OneFlow version info
1) path: ['/gpfswork/rech/xyi/utb83nr/miniconda3/envs/onediff/lib/python3.10/site-packages/oneflow'] version: 0.9.1.dev20240322+cu121 git_commit: 0523481 cmake_build_type: Release rdma: True mlir: True enterprise: True
2) path: ['/home/sandor/anaconda3/envs/comfy-onediff/lib/python3.10/site-packages/oneflow'] version: 0.9.1.dev20240324+cu121 git_commit: 0523481 cmake_build_type: Release rdma: True mlir: True enterprise: True
How To Reproduce
I am using most recent version of ComfyUI. I run workflow.json
The complete error message
1) log-env1.txt
2) log-env2.txt
Additional context
N/A