Dao-AILab/flash-attention SLOC report

As of 2026-08-18 (commit 0251105a2fb1), Dao-AILab/flash-attention contains 155,745 total lines: 126,012 code, 14,344 comments, 15,389 blank, across 1,034 files in 13 languages (top: Python 78.7%). Counted with tokei via OctoCounts.

As of 2026-08-18 (commit 0251105a2fb1), Dao-AILab/flash-attention contains 155,745 total lines: 126,012 code, 14,344 comments, 15,389 blank, across 1,034 files in 13 languages (top: Python 78.7%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving Dao-AILab/flash-attention to commit 0251105a2fb1, 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 80.9% of all lines, comments represent 9.2%, and the repository averages 122 code lines per file. Python accounts for 78.7% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Python22511723499131781110292
C Header4311552857115531428
C++1289797471610898
C++ Header1267735399688686
CUDA6067453419919401314
YAML10714401042209189
TOML38575010
Dockerfile2122564620
Shell366401412
Autoconf2171601
Makefile19603
Module-Definition17601

Top language (Python 78.7%). Generated at 2026-08-18T13:14:26.408727915+00:00.

Report FAQ

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

Dao-AILab/flash-attention has 155,745 total lines, including 126,012 code lines, 14,344 comment lines, and 15,389 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 0251105a2fb1, 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 0251105a2fb1 on 2026-08-18T13:14:26.408727915+00:00.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: