WHEN will the kornia.geometry.transform.pyramid import issue be fixed?
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 15/100
Research direction
The breakage is in custom_nodes/ComfyUI-LTXVideo/pyramid_blending.py, where the kornia import block still lists pad and two calls use pad(. Before editing, check the five open PRs the issue links (#498, #506, #508, #516, #551) since they already carry the one-line fix and the work is already under way. Done means the module imports without kornia's removed pad and the node loads with F.pad calls.
Written by the indexing model from the issue text.
Description
Kornia devs clearly stated that this ia a downsteam issue and has to be fixed in LTX Video.
Why ist this still being ignored? I am fed of fixing this each time manually after an LTX update.
https://github.com/kornia/kornia/issues/3986#issuecomment-5424466053
Copy and paste from above link:
Closing — this is a real break we caused, but the fix belongs downstream, not in kornia.
pad was never public API in kornia.geometry.transform.pyramid: never in __all__, never documented, just torch.nn.functional.pad leaking out of the module because of a from kornia.core import ..., pad, ... import. When the module switched to calling F.pad(...) directly for 0.8.3, that binding disappeared with it. Restoring it would freeze an accidental implementation detail into our API surface permanently, so I've closed https://github.com/kornia/kornia/pull/4003 which proposed exactly that.
ComfyUI-LTXVideo already has five open PRs with the one-line fix (https://github.com/Lightricks/ComfyUI-LTXVideo/pull/498, https://github.com/Lightricks/ComfyUI-LTXVideo/pull/506, https://github.com/Lightricks/ComfyUI-LTXVideo/pull/508, https://github.com/Lightricks/ComfyUI-LTXVideo/pull/516, https://github.com/Lightricks/ComfyUI-LTXVideo/pull/551), oldest from 25 May. I've asked them to merge one and apologized on our behalf for the breakage: https://github.com/Lightricks/ComfyUI-LTXVideo/issues/542#issuecomment-5424461135
Immediate workaround for affected users: in custom_nodes/ComfyUI-LTXVideo/pyramid_blending.py, remove pad, from the kornia import block and change the two pad( calls to F.pad( — torch.nn.functional is already imported as F in that file. Prefer this over pinning kornia==0.8.2, since kornia is shared across node packs in a ComfyUI venv.
- Dominant language
- Python
- Stars
- 4.2k
- Forks
- 508
- Avg merge
- 7h 14m
- Merged PRs (30d)
- 3
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Lightricks/ComfyUI-LTXVideo
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Lightricks/ComfyUI-LTXVideo#569 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
Lightricks/ComfyUI-LTXVideo#541 · 3 comments · 3 reactions ·
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
Lightricks/ComfyUI-LTXVideo#525 · 6 comments · 3 reactions ·
-
001Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
Lightricks/ComfyUI-LTXVideo#589 ·
-
001Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
Lightricks/ComfyUI-LTXVideo#588 ·
All issues in Lightricks/ComfyUI-LTXVideo
Similar issues
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 78/100
splunk/security_content#4418 ·
Maintainers usually reply within 1 day
-
[Bug / Enhancement]: Improve teleop_robot CLI with configurable timeout, robust input validation, and clean ROS shutdownPossibly taken @muskan-creates352 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 3 days
-
bug(pipelines): shortcode stripping deletes text between a {{< >}} shortcode and the next {{% %}}Possibly taken @Ashborne-lab claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
kubeflow/docs-agent#293 ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Imbad0202/academic-research-skills#1093 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
pierreaubert/gpui-toolkit#114 ·
Maintainers usually reply within 1 day