Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can index use flash attention or xformers? #10

Open
Koishi-Star opened this issue Jun 16, 2024 · 3 comments
Open

can index use flash attention or xformers? #10

Koishi-Star opened this issue Jun 16, 2024 · 3 comments

Comments

@Koishi-Star
Copy link

i want to know if it can use flash attention.thanks.

@mayokaze
Copy link
Collaborator

During our actual training process, we employed the flash attention2 mechanism; however, due to its heavy reliance on numerous other dependencies, the training codebase is not conducive to being open-sourced. For those seeking enhanced inference performance, we strongly advise adopting our newly released gguf quantization version or exploring alternative open-source options, including vllm and Tensor RT, among others.

@Koishi-Star
Copy link
Author

Well, I will try vllm.Thanks.

@jyweky
Copy link

jyweky commented Jul 12, 2024

Are you planning to implement HF Transformers' flash attention2 inference in the future?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants