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
I am getting import errors when using the prompt enhancer loader node. It says I don't have the correct packages installed and tells me to pip install timm. I have done that several times now and also did a full uninstall and reinstall of timm and verified that it installed correctly. I checked the venv environment and it is all in there, but I still get that error. Here is the traceback:
ComfyUI Error Report
Error Details
Node ID: 86
Node Type: LTXVPromptEnhancerLoader
Exception Type: ImportError
Exception Message: This modeling file requires the following packages that were not found in your environment: timm. Run pip install timm
Stack Trace
File "C:\Users\dfree\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 327, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dfree\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 202, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\dfree\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 174, in _map_node_over_list
process_inputs(input_dict, i)
File "C:\Users\dfree\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 163, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\comfyui\custom_nodes\ComfyUI-LTXVideo\prompt_enhancer_nodes.py", line 144, in load
image_caption_model, image_caption_processor = self.down_load_image_captioner(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\comfyui\custom_nodes\ComfyUI-LTXVideo\prompt_enhancer_nodes.py", line 130, in down_load_image_captioner
image_caption_model = AutoModelForCausalLM.from_pretrained(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\comfyui\.venv\Lib\site-packages\transformers\models\auto\auto_factory.py", line 553, in from_pretrained
model_class = get_class_from_dynamic_module(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\comfyui\.venv\Lib\site-packages\transformers\dynamic_module_utils.py", line 541, in get_class_from_dynamic_module
final_module = get_cached_module_file(
^^^^^^^^^^^^^^^^^^^^^^^
File "E:\comfyui\.venv\Lib\site-packages\transformers\dynamic_module_utils.py", line 366, in get_cached_module_file
modules_needed = check_imports(resolved_module_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\comfyui\.venv\Lib\site-packages\transformers\dynamic_module_utils.py", line 198, in check_imports
raise ImportError(
The text was updated successfully, but these errors were encountered:
I am getting import errors when using the prompt enhancer loader node. It says I don't have the correct packages installed and tells me to pip install timm. I have done that several times now and also did a full uninstall and reinstall of timm and verified that it installed correctly. I checked the venv environment and it is all in there, but I still get that error. Here is the traceback:
ComfyUI Error Report
Error Details
pip install timm
Stack Trace
The text was updated successfully, but these errors were encountered: