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