pytorch/executorch

pytorch/executorch has 2,256,482 source lines of code out of 2,553,167 total lines across 6,881 files, counted with tokei from the main ref at commit 62e28de55711 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-15 (commit 62e28de55711), pytorch/executorch contains 2,553,167 total lines: 2,256,482 code, 143,354 comments, 153,331 blank, across 6,881 files in 43 languages (top programming language: Python 20.8%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-15 (commit 62e28de55711), pytorch/executorch contains 2,553,167 total lines: 2,256,482 code, 143,354 comments, 153,331 blank, across 6,881 files in 43 languages (top programming language: Python 20.8%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving pytorch/executorch to commit 62e28de55711, 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.

Repository size insights

This is a very large codebase by counted code lines. Code represents 88.4% of all lines, comments represent 5.6%, and the repository averages 328 code lines per file. Python is the largest programming language at 20.8% of counted code; data and prose formats such as JSON or YAML hold a larger share.

LanguageFilesLinesCodeCommentsBlanks
JSON1001243193124319300
Python28295863884694993850678383
C++11583012612429322780430525
C Header10731518491017683311216969
C7157239551911302746
CMake201275062005647592691
Objective-C++79239441962114482875
Bazel19120888185019361451
YAML235168761455810591259
GLSL183228221452940674226
JavaScript701333211981549802
Shell131156831155921811943

Top programming language: Python 20.8%. Generated on .

Counting rules and retention

pytorch/executorch: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does pytorch/executorch have?

pytorch/executorch has 2,256,482 lines of code, plus 143,354 comment lines and 153,331 blank lines, for 2,553,167 total lines at commit 62e28de55711 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the pytorch/executorch line count measured?

OctoCounts resolved the public GitHub repository to commit 62e28de55711, 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 62e28de55711 on November 15, 2026.

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,256,482 code lines across 43 languages, counted by tokei.