conflict with kornia in pyramid_blending.py
hey guys, I encountered this import error:
ComfyUI-LTXVideo\pyramid_blending.py", line 7, in
python -c "import kornia.geometry.transform.pyramid as p; print(dir(p))": ['F', 'KORNIA_CHECK', 'KORNIA_CHECK_SHAPE', 'PyrDown', 'PyrUp', 'ScalePyramid', 'all', 'builtins', 'cached', 'doc', 'file', 'loader', 'name', 'package', 'spec', '_get_pyramid_gaussian_kernel', 'annotations', 'build_laplacian_pyramid', 'build_pyramid', 'filter2d', 'find_next_powerof_two', 'gaussian_blur2d', 'is_powerof_two', 'math', 'nn', 'pyrdown', 'pyrup', 'torch']
python -c "import kornia; print(kornia.version)":
0.8.3
Having the same issue
See this comment: https://github.com/Lightricks/ComfyUI-LTXVideo/issues/494#issuecomment-4537872759
Having the same issue
I stated this issue to request for an update but if you're having problem with this error simply activate your environment inside comfyui terminal, If you're on windows:
C:\Users\{User}\Documents\ComfyUI\.venv\Scripts\activate
- change {User} with your own-
Then uninstall kornia with:
pip uninstall kornia
Then install the older version compatible with the node package:
pip install kornia==0.6.12
Many custom nodes were written against older Kornia releases.
See this comment: #494 (comment)
Someone in that other thread says kornia==0.7.3 works for them.
Newer nodes would have a better chance of compatibility with the downgrade than with kornia==0.6.12
waiting for an update thx
kornia==0.7.3 我尝试了可以使用
I pushed this but the maintainers haven't merged it yet. https://github.com/Lightricks/ComfyUI-LTXVideo/pull/506 This should fix the conflict issuse.
Having the same issue
I stated this issue to request for an update but if you're having problem with this error simply activate your environment inside comfyui terminal, If you're on windows:
C:\Users\{User}\Documents\ComfyUI\.venv\Scripts\activate
- change {User} with your own-
Then uninstall kornia with:
pip uninstall korniaThen install the older version compatible with the node package:
pip install kornia==0.6.12Many custom nodes were written against older Kornia releases.