gokayfem / ComfyUI_VLM_nodes

Custom ComfyUI nodes for Vision Language Models, Large Language Models, Image to Music, Text to Music, Consistent and Random Creative Prompt Generation
Apache License 2.0
308 stars 24 forks source link

vlm nodes wont import AttributeError: 'NoneType' object has no attribute 'replace' #5

Closed GoDJr closed 5 months ago

GoDJr commented 5 months ago

Do the VLM nodes need a CUDA device? im on ROCM and im seeing this error:

[11:34 PM] Traceback (most recent call last): File "/home/sagar/ComfyUI/nodes.py", line 1893, in load_custom_node module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in callwith_frames_removed File "/home/sagar/ComfyUI/custom_nodes/ComfyUI_VLM_nodes/__init.py", line 29, in system_info = get_system_info() File "/home/sagar/ComfyUI/custom_nodes/ComfyUI_VLM_nodes/install_init.py", line 48, in get_system_info system_info['cuda_version'] = "cu" + torch.version.cuda.replace(".", "").strip() AttributeError: 'NoneType' object has no attribute 'replace'

gokayfem commented 5 months ago

yes only works with nvidia gpus for now