# Dao-AILab/flash-attention SLOC report

> Dao-AILab/flash-attention: 107,405 code lines at commit 1326ab1ddf18, counted with tokei-14.0.0 on 2026-10-22. Saved result b9de9eb619429a5d3ae20ffc7a24c7d94012d63c0d1b47c0c42ce4bee301ef53.

Dao-AILab/flash-attention has 107,405 source lines of code out of 135,654 total lines across 996 files, counted from the main ref at commit 1326ab1ddf18 by the OctoCounts tokei engine on 2026-10-22. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving Dao-AILab/flash-attention to commit 1326ab1ddf18, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a large codebase by counted code lines. Code represents 79.2% of all lines, comments represent 11.1%, and the repository averages 108 code lines per file. Python accounts for 74.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 181 | 95,798 | 80,455 | 7,506 | 7,837 |
| C Header | 43 | 11,552 | 8,571 | 1,553 | 1,428 |
| C++ | 12 | 9,001 | 7,492 | 611 | 898 |
| C++ Header | 12 | 6,780 | 5,406 | 688 | 686 |
| CUDA | 606 | 7,453 | 4,199 | 1,940 | 1,314 |
| YAML | 107 | 1,440 | 1,042 | 209 | 189 |
| Shell | 5 | 139 | 84 | 38 | 17 |
| TOML | 2 | 82 | 72 | 0 | 10 |
| Dockerfile | 2 | 122 | 56 | 46 | 20 |
| Autoconf | 2 | 17 | 16 | 0 | 1 |
| Makefile | 1 | 9 | 6 | 0 | 3 |
| Module-Definition | 1 | 7 | 6 | 0 | 1 |
| Markdown | 22 | 3,254 | 0 | 2,505 | 749 |

Top language (Python 74.9%). Generated at 2026-10-22T05:35:05.022628585Z. Canonical report: https://octocounts.com/github/Dao-AILab/flash-attention/commit/1326ab1ddf18789d389192622626aaf39eb5f16d?reportId=b9de9eb619429a5d3ae20ffc7a24c7d94012d63c0d1b47c0c42ce4bee301ef53&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/Dao-AILab/flash-attention/commit/1326ab1ddf18789d389192622626aaf39eb5f16d?reportId=b9de9eb619429a5d3ae20ffc7a24c7d94012d63c0d1b47c0c42ce4bee301ef53&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does Dao-AILab/flash-attention have?

Dao-AILab/flash-attention has 135,654 total lines, including 107,405 code lines, 15,096 comment lines, and 13,153 blank lines.

### How was the Dao-AILab/flash-attention line count measured?

OctoCounts resolved the public GitHub repository to commit 1326ab1ddf18, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for Dao-AILab/flash-attention?

This OctoCounts report was generated from main at commit 1326ab1ddf18 on 2026-10-22T05:35:05.022628585Z.

## Similar repository reports

- [python-pillow/Pillow](https://octocounts.com/github/python-pillow/Pillow) — Python, 105,753 code lines
- [SanjeevBashyal/planetx](https://octocounts.com/github/SanjeevBashyal/planetx) — Python, 105,359 code lines
- [MSKazemi/kubeintellect](https://octocounts.com/github/MSKazemi/kubeintellect) — Python, 104,462 code lines
- [ifixai-ai/iFixAi](https://octocounts.com/github/ifixai-ai/iFixAi) — Python, 110,450 code lines
- [microsoft/autogen](https://octocounts.com/github/microsoft/autogen) — Python, 111,060 code lines
- [context-labs/HALO](https://octocounts.com/github/context-labs/HALO) — Python, 103,313 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
