# meta-pytorch/torchrec SLOC report

> meta-pytorch/torchrec: 209,001 code lines at commit 7c246d4295c5, counted with tokei-15.0.0 on 2026-11-16. Saved result c06b894fd9457d125ba72be9722af975057e6e77f345f0f267eba02eff7fa5c9.

meta-pytorch/torchrec has 209,001 source lines of code out of 255,056 total lines across 727 files, counted with tokei from the main ref at commit 7c246d4295c5 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving meta-pytorch/torchrec to commit 7c246d4295c5, 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.

## Counting rules and retention

meta-pytorch/torchrec: 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.

## Repository size insights

This is a large codebase by counted code lines. Code represents 81.9% of all lines, comments represent 8.2%, and the repository averages 287 code lines per file. Python accounts for 83.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 480 | 209,250 | 173,817 | 13,546 | 21,887 |
| JSON | 1 | 22,682 | 22,682 | 0 | 0 |
| C++ | 58 | 6,585 | 5,395 | 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,347 | 0 | 5,247 | 1,100 |
| Plain Text | 5 | 54 | 0 | 48 | 6 |

Top language: Python 83.2%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/meta-pytorch/torchrec/commit/7c246d4295c5fd07ff1e1a60c20fee5c318de61f?reportId=c06b894fd9457d125ba72be9722af975057e6e77f345f0f267eba02eff7fa5c9&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/7c246d4295c5fd07ff1e1a60c20fee5c318de61f?reportId=c06b894fd9457d125ba72be9722af975057e6e77f345f0f267eba02eff7fa5c9&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 209,001 lines of code, plus 20,943 comment lines and 25,112 blank lines, for 255,056 total lines at commit 7c246d4295c5 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

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

## Similar repository reports

- [langchain-ai/langchain](https://octocounts.com/github/langchain-ai/langchain) — Python, 208,965 code lines
- [OICWS/Coscribe](https://octocounts.com/github/OICWS/Coscribe) — Python, 208,855 code lines
- [gradio-app/gradio](https://octocounts.com/github/gradio-app/gradio) — Python, 209,389 code lines
- [tradermonty/claude-trading-skills](https://octocounts.com/github/tradermonty/claude-trading-skills) — Python, 208,079 code lines
- [bytedance/axion1_0](https://octocounts.com/github/bytedance/axion1_0) — Python, 210,240 code lines
- [NVIDIA/SkillEvaluator](https://octocounts.com/github/NVIDIA/SkillEvaluator) — Python, 207,599 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)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
