# pytorch/executorch SLOC report

> As of 2026-09-09 (commit 0a4ec570024e), pytorch/executorch contains 2,321,492 total lines: 2,067,227 code, 121,089 comments, 133,176 blank, across 5,965 files in 40 languages (top: JSON 60.1%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving pytorch/executorch to commit 0a4ec570024e, 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 89.0% of all lines, comments represent 5.2%, and the repository averages 347 code lines per file. JSON accounts for 60.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JSON | 93 | 1,242,711 | 1,242,711 | 0 | 0 |
| Python | 2,446 | 481,075 | 380,118 | 33,305 | 67,652 |
| C++ | 1,025 | 238,223 | 187,737 | 23,641 | 26,845 |
| C Header | 913 | 132,821 | 89,132 | 28,986 | 14,703 |
| C | 65 | 56,281 | 54,625 | 1,017 | 639 |
| Objective-C++ | 64 | 20,247 | 16,349 | 1,265 | 2,633 |
| Bazel | 175 | 18,300 | 16,155 | 863 | 1,282 |
| CMake | 161 | 22,437 | 15,849 | 4,210 | 2,378 |
| YAML | 227 | 16,731 | 14,493 | 1,008 | 1,230 |
| GLSL | 179 | 21,334 | 13,320 | 3,846 | 4,168 |
| Shell | 124 | 13,692 | 9,916 | 1,938 | 1,838 |
| WebGPU Shader Language | 102 | 7,160 | 6,204 | 314 | 642 |

Top language (JSON 60.1%). Generated at 2026-09-09T04:38:14.298651200+00:00. Canonical report: https://octocounts.com/github/pytorch/executorch

## Report FAQ

### How many lines of code does pytorch/executorch have?

pytorch/executorch has 2,321,492 total lines, including 2,067,227 code lines, 121,089 comment lines, and 133,176 blank lines.

### How was the pytorch/executorch line count measured?

OctoCounts resolved the public GitHub repository to commit 0a4ec570024e, 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 0a4ec570024ebd1ad0fef62d29b9877506228e7f at commit 0a4ec570024e on 2026-09-09T04:38:14.298651200+00:00.

## Similar repository reports

- [dabiziluzhu55/citypulse-v2x-sim](https://octocounts.com/github/dabiziluzhu55/citypulse-v2x-sim) — JSON, 2,053,525 code lines
- [hasura/graphql-engine](https://octocounts.com/github/hasura/graphql-engine) — JSON, 2,165,683 code lines
- [LilyLoops/annas-archive](https://octocounts.com/github/LilyLoops/annas-archive) — JSON, 2,169,462 code lines
- [baserow/baserow](https://octocounts.com/github/baserow/baserow) — JSON, 2,248,796 code lines
- [antirez/ds4](https://octocounts.com/github/antirez/ds4) — JSON, 1,789,523 code lines
- [ToolJet/ToolJet](https://octocounts.com/github/ToolJet/ToolJet) — JSON, 2,356,058 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [OctoCounts API docs](https://octocounts.com/docs/api)
