# meta-pytorch/torchrec SLOC report

> meta-pytorch/torchrec: 204,091 code lines at commit ba80eb16e2fa, counted with tokei-14.0.0 on 2026-10-21. Saved result 53ba1b9a138845189fc8921da658c59a23e2885ff6dbbfc84b2338b1042cb545.

meta-pytorch/torchrec has 204,091 source lines of code out of 249,472 total lines across 719 files, counted from the main ref at commit ba80eb16e2fa by the OctoCounts tokei engine on 2026-10-21. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving meta-pytorch/torchrec to commit ba80eb16e2fa, 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 large codebase by counted code lines. Code represents 81.8% of all lines, comments represent 8.3%, and the repository averages 284 code lines per file. Python accounts for 82.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 472 | 203,708 | 168,932 | 13,378 | 21,398 |
| JSON | 1 | 22,682 | 22,682 | 0 | 0 |
| C++ | 58 | 6,560 | 5,370 | 340 | 850 |
| C Header | 68 | 5,286 | 3,479 | 933 | 874 |
| YAML | 44 | 2,638 | 2,302 | 310 | 26 |
| Jupyter Notebooks | 13 | 1,426 | 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 | 35 | 6,330 | 0 | 5,231 | 1,099 |
| Plain Text | 5 | 54 | 0 | 48 | 6 |

Top language (Python 82.8%). Generated at 2026-10-21T02:31:15.006284039Z. Canonical report: https://octocounts.com/github/meta-pytorch/torchrec/commit/ba80eb16e2fa1ebbf666a9dcf3f6ec4c17c89c28?reportId=53ba1b9a138845189fc8921da658c59a23e2885ff6dbbfc84b2338b1042cb545&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/meta-pytorch/torchrec/commit/ba80eb16e2fa1ebbf666a9dcf3f6ec4c17c89c28?reportId=53ba1b9a138845189fc8921da658c59a23e2885ff6dbbfc84b2338b1042cb545&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does meta-pytorch/torchrec have?

meta-pytorch/torchrec has 249,472 total lines, including 204,091 code lines, 20,759 comment lines, and 24,622 blank lines.

### How was the meta-pytorch/torchrec line count measured?

OctoCounts resolved the public GitHub repository to commit ba80eb16e2fa, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for meta-pytorch/torchrec?

This OctoCounts report was generated from main at commit ba80eb16e2fa on 2026-10-21T02:31:15.006284039Z.

## Similar repository reports

- [HKUDS/CLI-Anything](https://octocounts.com/github/HKUDS/CLI-Anything) — Python, 204,046 code lines
- [peach-mitao/peach](https://octocounts.com/github/peach-mitao/peach) — Python, 203,877 code lines
- [AstrBotDevs/AstrBot](https://octocounts.com/github/AstrBotDevs/AstrBot) — Python, 203,425 code lines
- [yt-dlp/yt-dlp](https://octocounts.com/github/yt-dlp/yt-dlp) — Python, 203,422 code lines
- [langchain-ai/langchain](https://octocounts.com/github/langchain-ai/langchain) — Python, 207,171 code lines
- [gradio-app/gradio](https://octocounts.com/github/gradio-app/gradio) — Python, 208,238 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)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
