Weifeng-Chen / control-a-video

Official Implementation of "Control-A-Video: Controllable Text-to-Video Generation with Diffusion Models"
GNU General Public License v3.0
359 stars 26 forks source link

problem with triton #7

Open gonduras opened 1 year ago

gonduras commented 1 year ago

(venv) E:\ControlVideo>python inference.py A matching Triton is not available, some optimizations will not be enabled. Error caught was: No module named 'triton.language' Traceback (most recent call last): File "E:\ControlVideo\inference.py", line 20, in from models.pipeline_controlvideo import ControlVideoPipeline File "E:\ControlVideo\models\pipeline_controlvideo.py", line 28, in from .controlnet import ControlNetOutput File "E:\ControlVideo\models\controlnet.py", line 27, in from .controlnet_unet_blocks import ( File "E:\ControlVideo\models\controlnet_unet_blocks.py", line 6, in from .controlnet_attention import Transformer3DModel File "E:\ControlVideo\models\controlnet_attention.py", line 15, in from diffusers.models.attention import CrossAttention, FeedForward, AdaLayerNorm ImportError: cannot import name 'CrossAttention' from 'diffusers.models.attention' (E:\ControlVideo\venv\lib\site-packages\diffusers\models\attention.py)

Weifeng-Chen commented 1 year ago

diffusers==0.14.0 will work

gonduras commented 1 year ago

diffusers==0.14.0 will work

thanks! still having trouble is it working? where is the output? if u can help - thanks a bunch!

Uninstalling diffusers-0.18.2:
  Successfully uninstalled diffusers-0.18.2

Successfully installed diffusers-0.14.0

(venv) E:\Control-A-Video>python inference.py --prompt "gondurastration" --input_video E:\controlvideo\data\moonwalk.mp4 --control_mode "canny" A matching Triton is not available, some optimizations will not be enabled. Error caught was: DLL load failed while importing libtriton: The specified module could not be found. vae\diffusion_pytorch_model.safetensors not found Fetching 15 files: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 15/15 [00:00<00:00, 14976.09it/s] 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:09<00:00, 2.13it/s] 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [03:57<00:00, 11.90s/it]

(venv) E:\Control-A-Video>