LTX-Video icon indicating copy to clipboard operation
LTX-Video copied to clipboard

Run VACE demo No module named 'ltx_video.utils.conditioning_method'

Open xiezhipeng-git opened this issue 8 months ago • 3 comments

I git clone https://github.com/Lightricks/LTX-Video then pip install . install success Run VACE Demo

python vace/gradios/vace_ltx_demo.py
(base) root@PS2023STCKYAEB:/mnt/d/my/work/rlFrame/VACE/LTX-Video# pip show ltx-video
Name: ltx-video
Version: 0.1.2
Summary: A package for LTX-Video model
Home-page: 
Author: 
Author-email: Sapir Weissbuch <[email protected]>
License: 
Location: /root/anaconda3/lib/python3.12/site-packages
Requires: diffusers, einops, huggingface-hub, sentencepiece, timm, torch, transformers
Required-by:

Then get. How to reslove

(base) root@PS2023STCKYAEB:/mnt/d/my/work/rlFrame/VACE/VACE# python vace/gradios/vace_ltx_demo.py
Warning: failed to importing 'ltx'. Please install its dependencies with:
pip install ltx-video@git+https://github.com/Lightricks/[email protected] sentencepiece --no-deps
/root/anaconda3/lib/python3.12/site-packages/wan/modules/model.py:31: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.
  @amp.autocast(enabled=False)
/root/anaconda3/lib/python3.12/site-packages/wan/modules/model.py:42: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.
  @amp.autocast(enabled=False)
Traceback (most recent call last):
  File "/mnt/d/my/work/rlFrame/VACE/VACE/vace/gradios/vace_ltx_demo.py", line 14, in <module>
    from vace.models.ltx.ltx_vace import LTXVace
  File "/mnt/d/my/work/rlFrame/VACE/VACE/vace/models/ltx/__init__.py", line 4, in <module>
    from . import pipelines
  File "/mnt/d/my/work/rlFrame/VACE/VACE/vace/models/ltx/pipelines/__init__.py", line 3, in <module>
    from .pipeline_ltx_video import VaceLTXVideoPipeline
  File "/mnt/d/my/work/rlFrame/VACE/VACE/vace/models/ltx/pipelines/pipeline_ltx_video.py", line 45, in <module>
    from ltx_video.utils.conditioning_method import ConditioningMethod
ModuleNotFoundError: No module named 'ltx_video.utils.conditioning_method'

xiezhipeng-git avatar Jun 03 '25 18:06 xiezhipeng-git

@yoavhacohen

xiezhipeng-git avatar Jun 03 '25 18:06 xiezhipeng-git

Hello, may I ask if your issue has been resolved? I am encountering the same problem.

cg-light avatar Jul 14 '25 02:07 cg-light

Hello, may I ask if your issue has been resolved? I am encountering the same problem.

copying history file can resolve it.

xiezhipeng-git avatar Jul 19 '25 10:07 xiezhipeng-git