As of 2026-07-07 (commit 9ba5c838d2cc), meta-pytorch/torchrec contains 168,951 total lines: 132,769 code, 16,756 comments, 19,426 blank, across 610 files in 13 languages (top: Python 91.3%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving meta-pytorch/torchrec to commit 9ba5c838d2cc, 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 large codebase by counted code lines. Code represents 78.6% of all lines, comments represent 9.9%, and the repository averages 218 code lines per file. Python accounts for 91.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 383 | 147213 | 121229 | 9687 | 16297 |
| C++ | 57 | 6367 | 5224 | 320 | 823 |
| C Header | 68 | 5286 | 3479 | 933 | 874 |
| YAML | 29 | 1709 | 1511 | 172 | 26 |
| Jupyter Notebooks | 13 | 1426 | 811 | 390 | 225 |
| CMake | 12 | 471 | 314 | 74 | 83 |
| Dockerfile | 3 | 121 | 72 | 26 | 23 |
| Protocol Buffers | 2 | 100 | 72 | 12 | 16 |
| Shell | 4 | 74 | 44 | 17 | 13 |
| ReStructuredText | 1 | 19 | 11 | 0 | 8 |
| TOML | 1 | 3 | 2 | 0 | 1 |
| Markdown | 32 | 6108 | 0 | 5077 | 1031 |
Top language (Python 91.3%). Generated at 2026-07-07T13:06:15.574041155+00:00.
meta-pytorch/torchrec has 168,951 total lines, including 132,769 code lines, 16,756 comment lines, and 19,426 blank lines.
OctoCounts resolved the public GitHub repository to commit 9ba5c838d2cc, 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 9ba5c838d2cc on 2026-07-07T13:06:15.574041155+00:00.