Chirag Jain 50896ec574 Make nvcc threads configurable via environment variable (#885) | 9 kuukautta sitten | |
---|---|---|
.. | ||
README.md | 1 vuosi sitten | |
cuda_bf16_fallbacks.cuh | 1 vuosi sitten | |
cuda_bf16_wrapper.h | 1 vuosi sitten | |
decoder_masked_multihead_attention.cu | 1 vuosi sitten | |
decoder_masked_multihead_attention.h | 1 vuosi sitten | |
decoder_masked_multihead_attention_template.hpp | 1 vuosi sitten | |
decoder_masked_multihead_attention_utils.h | 1 vuosi sitten | |
ft_attention.cpp | 1 vuosi sitten | |
setup.py | 9 kuukautta sitten |
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).