Skip to content

Fix kornia 0.8.3 pyramid padding compatibility#527

Open
ufotone wants to merge 1 commit into
Lightricks:masterfrom
ufotone:fix-kornia-083-pyramid-pad
Open

Fix kornia 0.8.3 pyramid padding compatibility#527
ufotone wants to merge 1 commit into
Lightricks:masterfrom
ufotone:fix-kornia-083-pyramid-pad

Conversation

@ufotone

@ufotone ufotone commented Jul 16, 2026

Copy link
Copy Markdown

This removes the import of pad from kornia.geometry.transform.pyramid, which is no longer available in kornia 0.8.3.

Padding now uses torch.nn.functional.pad, preserving the existing behavior while allowing ComfyUI-LTXVideo to import successfully with kornia 0.8.3.

Also relaxes the kornia requirement to kornia>=0.8.2,<0.9.

Tested locally with:

  • ComfyUI 0.28.0
  • PyTorch 2.13.0+cu130
  • kornia 0.8.3

ComfyUI-LTXVideo loads without IMPORT FAILED.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant