Giter Club home page Giter Club logo

Comments (3)

zhaoweiyu-github avatar zhaoweiyu-github commented on May 26, 2024

I've encountered a similar issue. I believe the recently released flash-attention version 2 significantly improves the execution time for DNA-BERT2. By the way, I greatly appreciate your work; it has been very helpful to me.

from dnabert_2.

Zhihan1996 avatar Zhihan1996 commented on May 26, 2024

Hey,

Thank you very much for your interest in our work and for this great suggestion!

However, I can't do it right away since I have been quite busy recently. But you are very welcome to submit PRs if you find a good way to do it. I will work on it after a few weeks.

from dnabert_2.

immanuelazn avatar immanuelazn commented on May 26, 2024

I think this might be harder than one would expect, since the current triton implementation (only one that allows for AliBi) is pretty well known to be broken, unless you have a specific dev version of triton. There's a lot of discussion on the flash repo pertaining to this. If someone really wants to give it a go, this might be promising to use instead.
But currently, implementation is a bit more involved than just switching out a few lines on DNABERT_2.

from dnabert_2.

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.