GithubHelp home page GithubHelp logo

flash-attn install failed about vgen HOT 5 OPEN

ali-vilab avatar ali-vilab commented on August 20, 2024
flash-attn install failed

from vgen.

Comments (5)

8414sys avatar 8414sys commented on August 20, 2024 1

I used this command, and it need the flash-attn.

I also use that command.
Go to the files and delete below code
files
./i2vgen-xl/tools/modules/unet/unet_i2vgen.py
./i2vgen-xl/tools/modules/unet/unet_t2v.py
./i2vgen-xl/tools/modules/unet/util.py

code to delete

from .mha_flash import FlashAttentionBlock

Then it will be work without flash-attn

from vgen.

Steven-SWZhang avatar Steven-SWZhang commented on August 20, 2024

Hi, it seems to be an issue with the version of CUDA, our version is 11.4.

from vgen.

8414sys avatar 8414sys commented on August 20, 2024

this version code doesn't use flash-attn module actually.
In my case, i don't install flash-attn module and delete all import line that contain flash-attn module.

from vgen.

BaiMoHan avatar BaiMoHan commented on August 20, 2024

this version code doesn't use flash-attn module actually. In my case, i don't install flash-attn module and delete all import line that contain flash-attn module.

python inference.py --cfg configs/i2vgen_xl_infer.yaml  test_list_path data/test_list_for_i2vgen.txt test_model models/i2vgen_xl_00854500.pth

I used this command, and it need the flash-attn.

from vgen.

BaiMoHan avatar BaiMoHan commented on August 20, 2024

I used this command, and it need the flash-attn.

I also use that command. Go to the files and delete below code files ./i2vgen-xl/tools/modules/unet/unet_i2vgen.py ./i2vgen-xl/tools/modules/unet/unet_t2v.py ./i2vgen-xl/tools/modules/unet/util.py

code to delete

from .mha_flash import FlashAttentionBlock

Then it will be work without flash-attn

This worked for me. Thank you!
But next, I got this problem: no kernel image is available for execution on the device.

from vgen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.