Flash Attention CUTE (CUDA Template Engine) implementation
Project description
FlashAttention-4 (CuTeDSL)
FlashAttention-4 is a CuTeDSL-based implementation of FlashAttention for Hopper and Blackwell GPUs.
Installation
pip install flash-attn-4
Usage
from flash_attn.cute import flash_attn_func, flash_attn_varlen_func
out = flash_attn_func(q, k, v, causal=True)
Development
git clone https://github.com/Dao-AILab/flash-attention.git
cd flash-attention
pip install -e "flash_attn/cute[dev]"
pytest tests/cute/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tokenspeed_fa4-4.0.0.post20251110-py3-none-any.whl.
File metadata
- Download URL: tokenspeed_fa4-4.0.0.post20251110-py3-none-any.whl
- Upload date:
- Size: 227.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44f639f127a53b7fce04cf9131e3f7c7125fbdafb2a3a77d858c549f3cd096d8
|
|
| MD5 |
75253f578e77152bb9c7f0bfd3b6d9b8
|
|
| BLAKE2b-256 |
76f0ca0afbe1238376fa4dc2f0802018a3beafae2704a94a081155cbfcf6953b
|
Provenance
The following attestation bundles were made for tokenspeed_fa4-4.0.0.post20251110-py3-none-any.whl:
Publisher:
tokenspeed-fa4.yml on lightseekorg/tokenspeed-third-party
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tokenspeed_fa4-4.0.0.post20251110-py3-none-any.whl -
Subject digest:
44f639f127a53b7fce04cf9131e3f7c7125fbdafb2a3a77d858c549f3cd096d8 - Sigstore transparency entry: 1191779851
- Sigstore integration time:
-
Permalink:
lightseekorg/tokenspeed-third-party@ea9e14af19e79e19d0ba96f71d5364ceac90f9ab -
Branch / Tag:
refs/heads/main - Owner: https://github.com/lightseekorg
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
tokenspeed-fa4.yml@ea9e14af19e79e19d0ba96f71d5364ceac90f9ab -
Trigger Event:
workflow_dispatch
-
Statement type: