pytorch/executorch has 2,133,333 source lines of code out of 2,403,998 total lines across 6,289 files, counted with tokei from the main ref at commit f2575be5ac0e on October 10, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
pytorch/executorch: 2,133,333 code lines at commit f2575be5ac0e, counted with tokei-14.0.0 on 2026-10-10. Saved result 98708b91d0e9a2f7d5b4d79c94bde04dc56190fb6f9f52de60780c032bd73df6.
OctoCounts produced this report by resolving pytorch/executorch to commit f2575be5ac0e, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.
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. Python is the largest programming language at 19.5% of counted code; data and prose formats such as JSON or YAML hold a larger share.
| 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 |
| Kotlin | 43 | 7725 | 5479 | 1398 | 848 |
| FlatBuffers Schema | 17 | 5438 | 3553 | 1073 | 812 |
| Swift | 7 | 2233 | 1327 | 717 | 189 |
| CSS | 1 | 1316 | 1130 | 32 | 154 |
| C++ Header | 16 | 2188 | 1057 | 774 | 357 |
| Makefile | 6 | 1451 | 1003 | 194 | 254 |
| HTML | 2 | 1054 | 977 | 41 | 36 |
| TOML | 6 | 984 | 701 | 76 | 207 |
| CUDA | 3 | 861 | 670 | 93 | 98 |
| Jupyter Notebooks | 8 | 1261 | 641 | 392 | 228 |
| Templ | 2 | 771 | 578 | 95 | 98 |
| PowerShell | 2 | 758 | 547 | 134 | 77 |
| Autoconf | 16 | 859 | 516 | 122 | 221 |
| TSX | 2 | 518 | 475 | 5 | 38 |
| LD Script | 3 | 664 | 441 | 134 | 89 |
| BASH | 1 | 414 | 328 | 31 | 55 |
| XML | 10 | 294 | 231 | 39 | 24 |
| Objective-C | 5 | 279 | 221 | 28 | 30 |
| Jinja2 | 2 | 230 | 195 | 0 | 35 |
| Pan | 1 | 205 | 168 | 10 | 27 |
| Batch | 3 | 212 | 163 | 0 | 49 |
| INI | 4 | 285 | 163 | 82 | 40 |
| Arduino C++ | 3 | 236 | 135 | 65 | 36 |
| Java | 2 | 102 | 71 | 13 | 18 |
| Prolog | 2 | 64 | 53 | 0 | 11 |
| TypeScript | 1 | 27 | 21 | 0 | 6 |
| Markdown | 201 | 22129 | 0 | 16520 | 5609 |
| Plain Text | 43 | 666 | 0 | 608 | 58 |
Top programming language: Python 19.5%. Generated on .
pytorch/executorch: counting rules unknown; engine tokei-14.0.0.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
pytorch/executorch has 2,133,333 lines of code, plus 129,490 comment lines and 141,175 blank lines, for 2,403,998 total lines at commit f2575be5ac0e on October 10, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
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 October 10, 2026.
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 40 languages, counted by tokei.