Views
No views yet
.whl files for a combo that, as of June 2026, isn't shipped by upstream:| Requirement | Value | Why it matters |
|---|---|---|
| Python | 3.12.x (built on 3.12.3) | cp312 ABI tag — won't load on 3.11 or 3.13 |
| PyTorch | 2.11.0+cu130 | C++ ABI must match — won't load with cu126 torch |
| CUDA toolkit | 13.0 (driver compatible with cu130) | required for runtime |
| GPU compute capability | 12.0 (Blackwell) — RTX PRO 6000 Blackwell, RTX 5090/5080/5070 Ti, B100/B200, etc. | wheels compiled with arch=compute_120,code=sm_120 natively (no PTX-JIT fallback) |
| OS | Linux x86_64 | manylinux not applied — built on Ubuntu, untested elsewhere |
| File | Size | SHA256 |
|---|---|---|
sageattention-2.2.0-cp312-cp312-linux_x86_64.whl | 14.8 MB | 4a47a462059bf09b7d10be68f93a0a462dd6184068298fc6ff10e94751fa6dd4 |
flash_attn-2.8.3.post1-cp312-cp312-linux_x86_64.whl | 65.8 MB | a77fe499d1c7244e0549d9d2700def0c1c82a1b629d993204e9be78debd96cb8 |
1sha256sum sageattention-2.2.0-cp312-cp312-linux_x86_64.whl
2sha256sum flash_attn-2.8.3.post1-cp312-cp312-linux_x86_64.whl1pip install sageattention-2.2.0-cp312-cp312-linux_x86_64.whl
2pip install flash_attn-2.8.3.post1-cp312-cp312-linux_x86_64.whl1import torch
2import sageattention
3from sageattention import sageattn
4from flash_attn import flash_attn_func
5
6q = torch.randn(2, 8, 256, 64, dtype=torch.float16, device='cuda')
7k = torch.randn(2, 8, 256, 64, dtype=torch.float16, device='cuda')
8v = torch.randn(2, 8, 256, 64, dtype=torch.float16, device='cuda')
9
10# sageattention expects (B, H, S, D) by default with tensor_layout='HND'
11out_sage = sageattn(q, k, v, tensor_layout='HND', is_causal=False)
12
13# flash_attn_func expects (B, S, H, D)
14q2 = q.transpose(1, 2).contiguous()
15k2 = k.transpose(1, 2).contiguous()
16v2 = v.transpose(1, 2).contiguous()
17out_flash = flash_attn_func(q2, k2, v2, causal=False)
18
19print('sageattention:', out_sage.shape, '— OK')
20print('flash_attn: ', out_flash.shape, '— OK')OS: Ubuntu 24.04 (kernel 6.14.0-1010-oem)
Python: 3.12.3
PyTorch: 2.11.0+cu130
CUDA: 13.0.r13.0 / V13.0.88 (apt cuda-toolkit-13-0)
ninja: 1.11.1.4
setuptools: 81.0.0
GPU: NVIDIA RTX PRO 6000 Blackwell Workstation Edition (sm_120)1TORCH_CUDA_ARCH_LIST="12.0" MAX_JOBS=4 NVCC_THREADS=2 \
2 pip install . --no-build-isolation1TORCH_CUDA_ARCH_LIST="12.0" FLASH_ATTN_CUDA_ARCHS="120" MAX_JOBS=2 NVCC_THREADS=1 \
2 pip install flash-attn==2.8.3.post1 --no-build-isolationLICENSE files in their *.dist-info/licenses/ directories. Originals are at:ninja, the choice of safe build parameters (MAX_JOBS, NVCC_THREADS, single-arch targeting), and this README itself were Claude-assisted. Verification commands were run by the human; final responsibility for the published artifacts is the human's.