Chirag Jain 50896ec574 Make nvcc threads configurable via environment variable (#885) | il y a 9 mois | |
---|---|---|
.. | ||
README.md | il y a 1 an | |
cuda_bf16_fallbacks.cuh | il y a 1 an | |
cuda_bf16_wrapper.h | il y a 1 an | |
decoder_masked_multihead_attention.cu | il y a 1 an | |
decoder_masked_multihead_attention.h | il y a 1 an | |
decoder_masked_multihead_attention_template.hpp | il y a 1 an | |
decoder_masked_multihead_attention_utils.h | il y a 1 an | |
ft_attention.cpp | il y a 1 an | |
setup.py | il y a 9 mois |
This CUDA extension wraps the single-query attention kernel from FasterTransformer v5.2.1 for benchmarking purpose.
cd csrc/ft_attention && pip install .
As of 2023-09-17, this extension is no longer used in the FlashAttention repo.
FlashAttention now has implemented
flash_attn_with_kvcache
with all the features of this ft_attention
kernel (and more).