Instructions to use kernels-staging/tokenspeed-attention with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use kernels-staging/tokenspeed-attention with Kernels:
# !pip install kernels from kernels import get_kernel kernel = get_kernel("kernels-staging/tokenspeed-attention") - Notebooks
- Google Colab
- Kaggle
This is the repository card of kernels-community/tokenspeed-attention that has been pushed on the Hub. It was built to be used with the kernels library. This card was automatically generated.
How to use
# make sure `kernels` is installed: `pip install -U kernels`
from kernels import get_kernel
kernel_module = get_kernel("kernels-community/tokenspeed-attention", version=1)
__version__ = kernel_module.__version__
__version__(...)
Available functions
__version__mha_prefillmha_extend_with_kvcachemha_decode_with_kvcachemla_prefillmla_decode_with_kvcacheattn_merge_statetriton_mha_prefilltriton_mha_extend_with_kvcachetriton_mha_decode_with_kvcachetriton_mla_prefilltriton_mla_decode_with_kvcachetriton_attn_merge_state
Benchmarks
No benchmark available yet.
- Downloads last month
- 2
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support