pytorch/executorch has 2,133,333 source lines of code out of 2,403,998 total lines across 6,289 files, counted from the main ref at commit f2575be5ac0e by the OctoCounts tokei engine on 2026-10-10. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-10 (commit f2575be5ac0e), pytorch/executorch contains 2,403,998 total lines: 2,133,333 code, 129,490 comments, 141,175 blank, across 6,289 files in 40 languages (top: JSON 58.3%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving pytorch/executorch to commit f2575be5ac0e, 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.
This is a very large codebase by counted code lines. Code represents 88.7% of all lines, comments represent 5.4%, and the repository averages 339 code lines per file. JSON accounts for 58.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| JSON | 96 | 1242933 | 1242933 | 0 | 0 |
| Python | 2589 | 523344 | 415883 | 35403 | 72058 |
| C++ | 1087 | 263058 | 209047 | 25494 | 28517 |
| C Header | 986 | 140865 | 94370 | 30735 | 15760 |
| C | 67 | 57006 | 55019 | 1267 | 720 |
| Bazel | 183 | 19368 | 17132 | 887 | 1349 |
| CMake | 168 | 23905 | 16970 | 4475 | 2460 |
| Objective-C++ | 64 | 20396 | 16458 | 1293 | 2645 |
| YAML | 229 | 16851 | 14594 | 1015 | 1242 |
| GLSL | 179 | 21663 | 13543 | 3939 | 4181 |
| Shell | 127 | 14225 | 10336 | 1992 | 1897 |
| WebGPU Shader Language | 102 | 7160 | 6204 | 314 | 642 |
Top language (JSON 58.3%). Generated at .
pytorch/executorch has 2,403,998 total lines, including 2,133,333 code lines, 129,490 comment lines, and 141,175 blank lines.
OctoCounts resolved the public GitHub repository to commit f2575be5ac0e, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from main at commit f2575be5ac0e on 2026-10-10T00:45:27.814316733+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for pytorch/executorch on this page — 2,133,333 code lines across 12 languages, counted by tokei.