pytorch/executorch

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.

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
JSON961242933124293300
Python25895233444158833540372058
C++10872630582090472549428517
C Header986140865943703073515760
C6757006550191267720
Bazel18319368171328871349
CMake168239051697044752460
Objective-C++64203961645812932645
YAML229168511459410151242
GLSL179216631354339394181
Shell127142251033619921897
WebGPU Shader Language10271606204314642

Top language (JSON 58.3%). Generated at .

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does pytorch/executorch have?

pytorch/executorch has 2,403,998 total lines, including 2,133,333 code lines, 129,490 comment lines, and 141,175 blank lines.

How was the pytorch/executorch line count measured?

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.

What commit was counted for pytorch/executorch?

This OctoCounts report was generated from main at commit f2575be5ac0e on 2026-10-10T00:45:27.814316733+00:00.

Similar repository reports

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.