Troubleshooting Kornia Incompatibility in ComfyUI

Troubleshooting a Library Mismatch

We are investigating an ImportError that occurs when loading the custom node ComfyUI-LTXVideo within ComfyUI version 0.35.0. The initial traceback reveals a critical failure during module import, specifically noting: cannot import name ‘pad’ from ‘kornia.geometry.transform.pyramid’. This error suggests that the extension expects a specific function or API that is no longer present in the currently installed version of the kornia library.

Technical illustration of a debugging session involving ComfyUI and Kornia libraries.
Visual representation of the initial traceback and system state during the debugging session.

Diagnosis and Reasoning

The analysis confirms that this is not a hardware issue, such as VRAM or CUDA problems. Instead, it is purely a software version incompatibility. The user’s environment currently reports Kornia 0.8.3, which appears to have dropped the API function expected by the older custom node.

The investigation has identified that the user previously operated successfully with Kornia 0.7.1, making it a strong candidate for resolution. However, because kornia 0.8.3 is also required by other active dependencies like pixeloe, we must proceed carefully to avoid breaking those installations.

The current debugging session concludes with the need for further information: specifically, identifying the exact version of the LTXVideo custom node itself and verifying if a dry-run installation of Kornia 0.7.1 is feasible without causing collateral damage to other tools.