showlab / Tune-A-Video

[ICCV 2023] Tune-A-Video: One-Shot Tuning of Image Diffusion Models for Text-to-Video Generation
https://tuneavideo.github.io
Apache License 2.0
4.22k stars 384 forks source link

ValueError : xformers is not available. Make sure it is installed correctly #43

Closed yinxi26 closed 1 year ago

yinxi26 commented 1 year ago

When I run "trian_tuneavideo_py" I got this ValueError, how can I deal this or how to install it?

zhangjiewu commented 1 year ago

please install xformers following this instruction.

yinxi26 commented 1 year ago

Thanks for your help

luccachiang commented 9 months ago

@zhangjiewu Hello, what is your xformers version. I tried several times and failed. The official instruction recommend an installation with torch==2.1.2, but our requirements specify torch to be 1.12.1. Btw, what is your cuda version? My cuda version is 11.1. Maybe it is too old...

shani1610 commented 4 months ago

@luccachiang i have the same conflict but with cuda 12, were you able to solve it?

baolongwj commented 2 months ago

@zhangjiewu Hello, what is your xformers version. I tried several times and failed. The official instruction recommend an installation with torch==2.1.2, but our requirements specify torch to be 1.12.1. Btw, what is your cuda version? My cuda version is 11.1. Maybe it is too old...

hello,you can run pip install -v xformers==0.0.16 torch1.13 can run the code too