Installation/Import Fails
Cant get anything to work. Ive loaded form the zip and from within comfy and Im constantly getting errors.
Here is the issue form the custom node importer. Has a 'Import Failed red button above the name.
Error message occurred while importing the 'ComfyUI-LTXVideo' module.
Traceback (most recent call last):
File "D:\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2212, in load_custom_node
module_spec.loader.exec_module(module)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
File "
########################### inside comfy the errors shows Im missing node packs...
Missing Node Packs (2) This workflow uses custom nodes you haven't installed yet.
To install missing nodes, first run pip install -U --pre comfyui-manager in your Python environment to install Node Manager, then restart ComfyUI with the --enable-manager flag.
ComfyUI-LTXVideo (3) LTXAddVideoICLoRAGuide LTXICLoRALoaderModelOnly LTXICLoRALoaderModelOnly
Unknown pack (1) LTXVHDRDecodePostprocess
############################## Finally- there is JUST a nightly version, there are no previous releases to fall back on...
I just ran into this issue, my issue was Kornia 0.8.3 was installed by ComfyUI-LTXVideo is expecting an older API. I ran these two commands inside my venv:
pip uninstall -y kornia kornia-rs pip install kornia==0.7.3
Restarted ComfyUI and the error went away and everything seemed to work.
https://github.com/Lightricks/ComfyUI-LTXVideo/pull/506 I posted a fix for the issue here.
I re-downloaded and added the folder and Im still getting the errors.... Not sure what to do, but nothing has changed. Do I need to rename the folder and remove '-master' to the folder name? I have comfy manager installed, yet its saying I need to download it. I just updated it too. Here are some images that may shed some light on things...
#506 I posted a fix for the issue here.
I'm in the same boat as the OP.
I deleted what I already had for LTXVideo.
Tried copying the link to your fork and installing through ComfyUI manager.
I also tried cloning your fork and unzipping into the custom_nodes folder, redid the requirements.txt.
Comfy Manager still doesnt register LTXVideo being install, and the nodes in my workflow are still red. Any help would be appreciated!
That fork is old. In case they made any new updates or anything, the only thing new there is the one text file edit, which can be done with any sort of text editor
That fork is old. In case they made any new updates or anything, the only thing new there is the one text file edit, which can be done with any sort of text editor
I deleted the node folder again, installed with ComfyUI manager, changed that section of pyramid_blending.py to match yours, and I still get the 'cannot import...Either a revision or a version must be specified'
have the exactely same problem, downloaded a new workflow, installed everything new, instead of comfy ui itselt. all is at newest version, but i won't get this node and some others too. some i could add manually which were not available in the manager.
But at the end, i still miss these IC-Lora nodes....
Does anybody know what the 'Either a revision or a version must be specified'
That fork is old. In case they made any new updates or anything, the only thing new there is the one text file edit, which can be done with any sort of text editor
I deleted the node folder again, installed with ComfyUI manager, changed that section of pyramid_blending.py to match yours, and I still get the 'cannot import...Either a revision or a version must be specified'
Does anybody know what the 'Either a revision or a version must be specified' error is relating to? It's not very specific.
Is it complaining about my Python or ComfyUI version?
I couldnt see any version specifics in the requirements.
Same here, waiting for a merged PR
Hello, any improvement for this situation. I have tried everything but always:
Traceback (most recent call last):
File "E:\ComfyUI_LTX\ComfyUI\nodes.py", line 2247, in load_custom_node
module_spec.loader.exec_module(module)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
File "
[WARNING] Cannot import E:\ComfyUI_LTX\ComfyUI\custom_nodes\ComfyUI-LTXVideo module for custom nodes: cannot import name 'pad' from 'kornia.geometry.transform.pyramid' (E:\ComfyUI_LTX\python_embeded\Lib\site-packages\kornia\geometry\transform\pyramid.py)
Please help ! I found nowhere the way to load ComfyUI-LTXVideo
serge
did you guys look at my suggestion above? did you try downgrading your kornia to version 0.7.3? i gave the two commands up above that worked for me.
You have to edit pyramid_blending.py inside ComfyUI-LTXVideo folder:
from kornia.geometry.transform.pyramid import ( PyrUp, build_laplacian_pyramid, build_pyramid, find_next_powerof_two, is_powerof_two,
)
from torch.nn.functional import pad
You have to edit pyramid_blending.py inside ComfyUI-LTXVideo folder:
from kornia.geometry.transform.pyramid import ( PyrUp, build_laplacian_pyramid, build_pyramid, find_next_powerof_two, is_powerof_two,
)
from torch.nn.functional import pad
tysm <3 this was an easy fix
You have to edit pyramid_blending.py inside ComfyUI-LTXVideo folder:
from kornia.geometry.transform.pyramid import ( PyrUp, build_laplacian_pyramid, build_pyramid, find_next_powerof_two, is_powerof_two,
)
from torch.nn.functional import pad
Thanks! This script is working! (My env are ComfyUI CLI and ComfyUI 0.30.0 ComfyUI_frontend v1.47.12 Templates v0.11.27.
kklang774's suggested fix worked for me.
pip uninstall -y kornia kornia-rs pip install kornia==0.7.3
We all use Minimax H3 now...
kklang774's suggested fix worked for me.
pip uninstall -y kornia kornia-rs pip install kornia==0.7.3
that's still downgrading your Kornia install when my fix is just a single line changed without having to downgrade. https://github.com/Lightricks/ComfyUI-LTXVideo/pull/506
We all use Minimax H3 now...
Same. Especially because on some documentation LTX claims it's 'based in the US' even though it's really not and it is instead located in Jerusalem. A country that right now has literally the worst optics imaginable and I would rather stay well away from.
kklang774's suggested fix worked for me. pip uninstall -y kornia kornia-rs pip install kornia==0.7.3
that's still downgrading your Kornia install when my fix is just a single line changed without having to downgrade. #506
Hi DecNullInc, I don't see your alternative fix posted anywhere.
kklang774's suggested fix worked for me. pip uninstall -y kornia kornia-rs pip install kornia==0.7.3
that's still downgrading your Kornia install when my fix is just a single line changed without having to downgrade. #506
Hi DecNullInc, I don't see your alternative fix posted anywhere.
https://github.com/Lightricks/ComfyUI-LTXVideo/pull/506 Literally right there. Check the commit. It will show you the file and the line that needs to be changed.