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