Skip to content

βœ… Prebuilt wheel for FlashAttention 2.8.0.post2 (CUDA 12.1 / NVIDIA L40S / PyTorch 2.9 / Python 3.10)Β #1978

Description

@h1312200313122003-code

Hi FlashAttention team πŸ‘‹

After a long compile session, I successfully built FlashAttention 2.8.0.post2
on an NVIDIA L40S (Ada Lovelace) GPU using CUDA 12.1, PyTorch 2.9, and Python 3.10.

To help others avoid the long build time, I'm sharing the working prebuilt wheel:

βœ… Tested environment:

  • GPU: NVIDIA L40S (Compute Capability 8.9 / sm_89)
  • CUDA: 12.1
  • PyTorch: 2.9.0
  • Python: 3.10
  • OS: Ubuntu 22.04 (Google Cloud VM)
  • FlashAttention version: 2.8.0.post2
  • Wheel size: ~111.5 MiB

βœ… Installation steps:

pip install flash_attn-2.8.0.post2-cp310-cp310-linux_x86_64.whl
pip install --upgrade torch torchaudio torchvision  # Recommended

πŸ“¦ Prebuilt wheel repository:
πŸ‘‰ [https://github.com/h1312200313122003-code/flash-attn-prebuilt-L40S/releases/tag/v2.8.0.post2-cu121-l40s]

Everything works great β€” verified import, GPU detection, and performance.
Thank you for this amazing library ❀️
Hopefully this wheel saves others a few hours of compile time!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions