# meta-pytorch/torchrec SLOC report

> As of 2026-09-12 (commit 39f223abf7e2), meta-pytorch/torchrec contains 200,875 total lines: 158,832 code, 19,533 comments, 22,510 blank, across 680 files in 13 languages (top: Python 92.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

meta-pytorch/torchrec has 158,832 source lines of code out of 200,875 total lines across 680 files, counted from the 39f223abf7e293ca5c4bf411fe0f0ecd28e567e7 ref at commit 39f223abf7e2 by the OctoCounts tokei engine on 2026-09-12. 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 39f223abf7e2, 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 79.1% of all lines, comments represent 9.7%, and the repository averages 234 code lines per file. Python accounts for 92.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 446 | 178,458 | 146,903 | 12,274 | 19,281 |
| C++ | 58 | 6,678 | 5,469 | 346 | 863 |
| C Header | 68 | 5,286 | 3,479 | 933 | 874 |
| YAML | 32 | 1,879 | 1,655 | 198 | 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,306 | 0 | 5,215 | 1,091 |

Top language (Python 92.5%). Generated at 2026-09-12T12:41:46.637565192+00:00. Canonical report: https://octocounts.com/github/meta-pytorch/torchrec

## Reproduce this report

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

## Report FAQ

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

meta-pytorch/torchrec has 200,875 total lines, including 158,832 code lines, 19,533 comment lines, and 22,510 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 39f223abf7e2, 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 39f223abf7e293ca5c4bf411fe0f0ecd28e567e7 at commit 39f223abf7e2 on 2026-09-12T12:41:46.637565192+00:00.

## Similar repository reports

- [datawhalechina/hello-agents](https://octocounts.com/github/datawhalechina/hello-agents) — Python, 159,917 code lines
- [langchain-ai/open-swe](https://octocounts.com/github/langchain-ai/open-swe) — Python, 154,660 code lines
- [Blaizzy/mlx-audio](https://octocounts.com/github/Blaizzy/mlx-audio) — Python, 154,095 code lines
- [livekit/agents](https://octocounts.com/github/livekit/agents) — Python, 153,977 code lines
- [langchain-ai/langgraph](https://octocounts.com/github/langchain-ai/langgraph) — Python, 164,040 code lines
- [mem0ai/mem0](https://octocounts.com/github/mem0ai/mem0) — Python, 164,064 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)
