You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Execute install/(de)activation script for 'F:\ComfyUI\custom_nodes\comfy_mtb'
[!] 2023-08-26 04:00:20.233713: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
[!] 2023-08-26 04:00:20.233781: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
[!][mtb install] No arguments provided, doing a full install/update...
Traceback (most recent call last):
[mtb install] mtb install
[!][mtb install] Detected environment: unknown
File "F:\ComfyUI\custom_nodes\comfy_mtb\install.py", line 540, in
[!][mtb install] Checking environment...
installed, pip_name, pip_spec, import_name = try_import(requirement)
? Package onnxruntime-gpu already installed (import name: 'onnxruntime').
[!] ? Package qrcode already installed (import name: 'qrcode').
File "F:\ComfyUI\custom_nodes\comfy_mtb\install.py", line 361, in try_import
[!] ? Package rembg already installed (import name: 'rembg').
import_module(import_name)
[!] ? Package tensorflow already installed (import name: 'tensorflow').
File "C:\Users\kevin\AppData\Local\Programs\Python\Python310\lib\importlib_init_.py", line 126, in import_module
? Package facexlib already installed (import name: 'facexlib').
[!] ? Package insightface already installed (import name: 'insightface').
return _bootstrap._gcd_import(name[level:], package, level)
[!] File "", line 1050, in _gcd_import
[!] File "", line 1027, in _find_and_load
[!] File "", line 1006, in find_and_load_unlocked
[!] File "", line 688, in load_unlocked
[!] File "", line 883, in exec_module
[!] File "", line 241, in call_with_frames_removed
[!] File "F:\ComfyUI\venv\lib\site-packages\basicsr_init.py", line 3, in
[!] from .archs import *
[!] File "F:\ComfyUI\venv\lib\site-packages\basicsr\archs_init.py", line 5, in
[!] from basicsr.utils import get_root_logger, scandir
[!] File "F:\ComfyUI\venv\lib\site-packages\basicsr\utils_init.py", line 4, in
[!] from .misc import check_resume, get_time_str, make_exp_dirs, mkdir_and_rename, scandir, set_random_seed, sizeof_fmt
[!] File "F:\ComfyUI\venv\lib\site-packages\basicsr\utils\misc.py", line 12, in
[!] IS_HIGH_VERSION = [int(m) for m in list(re.findall(r"^([0-9]+).([0-9]+).([0-9]+)([^0-9][a-zA-Z0-9])?(+git.)?$",
[!] IndexError: list index out of range
install/(de)activation script failed: F:\ComfyUI\custom_nodes\comfy_mtb
Prestartup times for custom nodes:
0.0 seconds: F:\ComfyUI\custom_nodes\rgthree-comfy
7.5 seconds: F:\ComfyUI\custom_nodes\ComfyUI-Manager
Total VRAM 16376 MB, total RAM 24489 MB
2023-08-26 04:00:28.673183: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2023-08-26 04:00:28.673350: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 4080 : cudaMallocAsync
Using pytorch cross attention
Web extensions folder found at F:\ComfyUI\web\extensions\ComfyLiterals
Loading: ComfyUI-Impact-Pack (V3.24.7)
Loading: ComfyUI-Impact-Pack (Subpack: V0.2)
Loading: ComfyUI-Manager (V0.26.2)
ComfyUI Revision: 1344 [f72780a7]
F:\ComfyUI\venv\lib\site-packages_distutils_hack_init_.py:33: UserWarning: Setuptools is replacing distutils.
warnings.warn("Setuptools is replacing distutils.")
Comfyroll Custom Nodes: Loaded
F:\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\controlnet_aux\mediapipe_face\mediapipe_face_common.py:7: UserWarning: The module 'mediapipe' is not installed. The package will have limited functionality. Please install it using the command: pip install 'mediapipe'
warnings.warn(
[comfy_mtb] | WARNING -> Web extensions folder at F:\ComfyUI\web\extensions\mtb is not a symlink, if updating please delete it before
[comfy_mtb] | INFO -> Some nodes failed to load:
Failed to import module faceenhance because IndexError: list index out of range`
I am using cuda 12.1 and the nightly version of torch to use some newer features and it seems like not using cuda 11.1 is the root cause of this issue.
Reproduction
install cuda 12.1 and nightly torch
install node in comfy with manager and run reqs script
let manager install node when relaunching comfyui
Expected behavior
I expected it to load the faceenhance node
Platform and versions
- windows 11
- recommended version of python
- cuda 12.1
= nightly torch
- up to date version of comfy
Console output
`## ComfyUI-Manager: EXECUTE => ['F:\\ComfyUI\\venv\\Scripts\\python.exe', 'install.py']## Execute install/(de)activation script for 'F:\ComfyUI\custom_nodes\comfy_mtb'[!] 2023-08-26 04:00:20.233713: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found[!] 2023-08-26 04:00:20.233781: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine. [!][mtb install] No arguments provided, doing a full install/update... Traceback (most recent call last):[mtb install] mtb install [!][mtb install] Detected environment: unknown File "F:\ComfyUI\custom_nodes\comfy_mtb\install.py", line 540, in <module> [!][mtb install] Checking environment... installed, pip_name, pip_spec, import_name = try_import(requirement) ? Package onnxruntime-gpu already installed (import name: 'onnxruntime').[!] ? Package qrcode already installed (import name: 'qrcode'). File "F:\ComfyUI\custom_nodes\comfy_mtb\install.py", line 361, in try_import[!] ? Package rembg already installed (import name: 'rembg'). import_module(import_name) [!] ? Package tensorflow already installed (import name: 'tensorflow'). File "C:\Users\kevin\AppData\Local\Programs\Python\Python310\lib\importlib\__init__.py", line 126, in import_module ? Package facexlib already installed (import name: 'facexlib').[!] ? Package insightface already installed (import name: 'insightface'). return _bootstrap._gcd_import(name[level:], package, level)[!] File "<frozen importlib._bootstrap>", line 1050, in _gcd_import[!] File "<frozen importlib._bootstrap>", line 1027, in _find_and_load[!] File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked[!] File "<frozen importlib._bootstrap>", line 688, in _load_unlocked[!] File "<frozen importlib._bootstrap_external>", line 883, in exec_module[!] File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed[!] File "F:\ComfyUI\venv\lib\site-packages\basicsr\__init__.py", line 3, in <module>[!] from .archs import *[!] File "F:\ComfyUI\venv\lib\site-packages\basicsr\archs\__init__.py", line 5, in <module>[!] from basicsr.utils import get_root_logger, scandir[!] File "F:\ComfyUI\venv\lib\site-packages\basicsr\utils\__init__.py", line 4, in <module>[!] from .misc import check_resume, get_time_str, make_exp_dirs, mkdir_and_rename, scandir, set_random_seed, sizeof_fmt[!] File "F:\ComfyUI\venv\lib\site-packages\basicsr\utils\misc.py", line 12, in <module>[!] IS_HIGH_VERSION = [int(m) for m in list(re.findall(r"^([0-9]+)\.([0-9]+)\.([0-9]+)([^0-9][a-zA-Z0-9]*)?(\+git.*)?$",\[!] IndexError: list index out of rangeinstall/(de)activation script failed: F:\ComfyUI\custom_nodes\comfy_mtb[ComfyUI-Manager] Startup script completed.#######################################################################Prestartup times for custom nodes: 0.0 seconds: F:\ComfyUI\custom_nodes\rgthree-comfy 7.5 seconds: F:\ComfyUI\custom_nodes\ComfyUI-ManagerTotal VRAM 16376 MB, total RAM 24489 MB2023-08-26 04:00:28.673183: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found2023-08-26 04:00:28.673350: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.Set vram state to: NORMAL_VRAMDevice: cuda:0 NVIDIA GeForce RTX 4080 : cudaMallocAsyncUsing pytorch cross attentionWeb extensions folder found at F:\ComfyUI\web\extensions\ComfyLiterals### Loading: ComfyUI-Impact-Pack (V3.24.7)### Loading: ComfyUI-Impact-Pack (Subpack: V0.2)### Loading: ComfyUI-Manager (V0.26.2)### ComfyUI Revision: 1344 [f72780a7]F:\ComfyUI\venv\lib\site-packages\_distutils_hack\__init__.py:33: UserWarning: Setuptools is replacing distutils. warnings.warn("Setuptools is replacing distutils.")Comfyroll Custom Nodes: LoadedF:\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\controlnet_aux\mediapipe_face\mediapipe_face_common.py:7: UserWarning: The module 'mediapipe' is not installed. The package will have limited functionality. Please install it using the command: pip install 'mediapipe' warnings.warn([comfy_mtb] | WARNING -> Web extensions folder at F:\ComfyUI\web\extensions\mtb is not a symlink, if updating please delete it before[comfy_mtb] | INFO -> Some nodes failed to load: Failed to import module faceenhance because IndexError: list index out of range`
Additional context
No response
The text was updated successfully, but these errors were encountered:
Thanks for the report, why do you think it's related to CUDA 12?
I realized yesterday that nightly uses python 11, but there are some issues currently.
long story short, for reasons I still don't get Tensorflow dropped GPU support on windows native (you must use WSL so linux) tensorflow/tensorflow#59918 (comment)
The version I pin in mtb is the latest that does have GPU but it's old, and doesn't support >3.10 but that's only for the FILM nodes iirc.
- Back to using requirements.txt (closes#100)
- Use the web directory (closes#108)
- Add support for Python 11 (closes#65)
- Faceswap nodes and Film not supported anymore, check the readme
closes#95#105#101#99#96#76#72#64
Describe the bug
I am using a venv so I already installed the reqs_windows file before running the regular default script with manager and run into this error:
`## ComfyUI-Manager: EXECUTE => ['F:\ComfyUI\venv\Scripts\python.exe', 'install.py']
Execute install/(de)activation script for 'F:\ComfyUI\custom_nodes\comfy_mtb'
[!] 2023-08-26 04:00:20.233713: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
[!] 2023-08-26 04:00:20.233781: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
[!][mtb install] No arguments provided, doing a full install/update...
Traceback (most recent call last):
[mtb install] mtb install
[!][mtb install] Detected environment: unknown
File "F:\ComfyUI\custom_nodes\comfy_mtb\install.py", line 540, in
[!][mtb install] Checking environment...
installed, pip_name, pip_spec, import_name = try_import(requirement)
? Package onnxruntime-gpu already installed (import name: 'onnxruntime').
[!] ? Package qrcode already installed (import name: 'qrcode').
File "F:\ComfyUI\custom_nodes\comfy_mtb\install.py", line 361, in try_import
[!] ? Package rembg already installed (import name: 'rembg').
import_module(import_name)
[!] ? Package tensorflow already installed (import name: 'tensorflow').
File "C:\Users\kevin\AppData\Local\Programs\Python\Python310\lib\importlib_init_.py", line 126, in import_module
? Package facexlib already installed (import name: 'facexlib').
[!] ? Package insightface already installed (import name: 'insightface').
return _bootstrap._gcd_import(name[level:], package, level)
[!] File "", line 1050, in _gcd_import
[!] File "", line 1027, in _find_and_load
[!] File "", line 1006, in find_and_load_unlocked
[!] File "", line 688, in load_unlocked
[!] File "", line 883, in exec_module
[!] File "", line 241, in call_with_frames_removed
[!] File "F:\ComfyUI\venv\lib\site-packages\basicsr_init.py", line 3, in
[!] from .archs import *
[!] File "F:\ComfyUI\venv\lib\site-packages\basicsr\archs_init.py", line 5, in
[!] from basicsr.utils import get_root_logger, scandir
[!] File "F:\ComfyUI\venv\lib\site-packages\basicsr\utils_init.py", line 4, in
[!] from .misc import check_resume, get_time_str, make_exp_dirs, mkdir_and_rename, scandir, set_random_seed, sizeof_fmt
[!] File "F:\ComfyUI\venv\lib\site-packages\basicsr\utils\misc.py", line 12, in
[!] IS_HIGH_VERSION = [int(m) for m in list(re.findall(r"^([0-9]+).([0-9]+).([0-9]+)([^0-9][a-zA-Z0-9])?(+git.)?$",
[!] IndexError: list index out of range
install/(de)activation script failed: F:\ComfyUI\custom_nodes\comfy_mtb
[ComfyUI-Manager] Startup script completed.
#######################################################################
Prestartup times for custom nodes:
0.0 seconds: F:\ComfyUI\custom_nodes\rgthree-comfy
7.5 seconds: F:\ComfyUI\custom_nodes\ComfyUI-Manager
Total VRAM 16376 MB, total RAM 24489 MB
2023-08-26 04:00:28.673183: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2023-08-26 04:00:28.673350: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 4080 : cudaMallocAsync
Using pytorch cross attention
Web extensions folder found at F:\ComfyUI\web\extensions\ComfyLiterals
Loading: ComfyUI-Impact-Pack (V3.24.7)
Loading: ComfyUI-Impact-Pack (Subpack: V0.2)
Loading: ComfyUI-Manager (V0.26.2)
ComfyUI Revision: 1344 [f72780a7]
F:\ComfyUI\venv\lib\site-packages_distutils_hack_init_.py:33: UserWarning: Setuptools is replacing distutils.
warnings.warn("Setuptools is replacing distutils.")
Comfyroll Custom Nodes: Loaded
F:\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\controlnet_aux\mediapipe_face\mediapipe_face_common.py:7: UserWarning: The module 'mediapipe' is not installed. The package will have limited functionality. Please install it using the command: pip install 'mediapipe'
warnings.warn(
[comfy_mtb] | WARNING -> Web extensions folder at F:\ComfyUI\web\extensions\mtb is not a symlink, if updating please delete it before
[comfy_mtb] | INFO -> Some nodes failed to load:
Failed to import module faceenhance because IndexError: list index out of range`
I am using cuda 12.1 and the nightly version of torch to use some newer features and it seems like not using cuda 11.1 is the root cause of this issue.
Reproduction
Expected behavior
I expected it to load the faceenhance node
Platform and versions
Console output
Additional context
No response
The text was updated successfully, but these errors were encountered: