Pytorch image with flashattention installed
3.6K
This image provides PyTorch 2.7.0 integrated with FlashAttention 2.7.4, compiled against CUDA 12.8 and cuDNN 9, optimized for high-performance training and inference on modern NVIDIA GPUs.
pytorch/pytorch:2.7.0-cuda12.8-cudnn9-runtimePull the image: docker pull javirub/flashattention-pytorch:flashattn2.7.4-pytorch2.7.0-cuda12.8-cudnn9-runtime
Run the container with GPU support: docker run --gpus all -it javirub/flashattention-pytorch:flashattn2.7.4-pytorch2.7.0-cuda12.8-cudnn9-runtime
Inside the container, you can test FlashAttention installation: python3 >>> import flash_attn >>> print(flash_attn.version)
--gpus support enabledCreated and maintained by javirub.
Uses https://github.com/Dao-AILab/flash-attention
@inproceedings{dao2022flashattention,
title={Flash{A}ttention: Fast and Memory-Efficient Exact Attention with {IO}-Awareness},
author={Dao, Tri and Fu, Daniel Y. and Ermon, Stefano and Rudra, Atri and R{\'e}, Christopher},
booktitle={Advances in Neural Information Processing Systems (NeurIPS)},
year={2022}
}
@inproceedings{dao2023flashattention2,
title={Flash{A}ttention-2: Faster Attention with Better Parallelism and Work Partitioning},
author={Dao, Tri},
booktitle={International Conference on Learning Representations (ICLR)},
year={2024}
}
Content type
Image
Digest
sha256:0db4d8db0…
Size
4.2 GB
Last updated
about 1 year ago
docker pull javirub/flashattention-pytorch:flashattn2.8.1-pytorch2.7.1-cuda12.8-cudnn9-runtime