control-a-video icon indicating copy to clipboard operation
control-a-video copied to clipboard

problem with triton

Open gonduras opened this issue 2 years ago • 2 comments

(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)

gonduras avatar Jul 11 '23 00:07 gonduras

diffusers==0.14.0 will work

Weifeng-Chen avatar Jul 18 '23 07:07 Weifeng-Chen

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>

gonduras avatar Jul 18 '23 10:07 gonduras