# pytorch/examples SLOC report

> As of 2026-09-16 (commit acc295dc7b90), pytorch/examples contains 109,412 total lines: 10,216 code, 73,503 comments, 25,693 blank, across 205 files in 8 languages (top: Python 82.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

pytorch/examples has 10,216 source lines of code out of 109,412 total lines across 205 files, counted from the acc295dc7b90714f1bf47f06004fc19a7fe235c4 ref at commit acc295dc7b90 by the OctoCounts tokei engine on 2026-09-16. 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 pytorch/examples to commit acc295dc7b90, 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 medium-sized codebase by counted code lines. Code represents 9.3% of all lines, comments represent 67.2%, and the repository averages 50 code lines per file. Python accounts for 82.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 92 | 11,309 | 8,467 | 916 | 1,926 |
| C++ | 9 | 1,592 | 1,080 | 249 | 263 |
| Shell | 12 | 766 | 475 | 204 | 87 |
| CMake | 8 | 182 | 135 | 11 | 36 |
| C Header | 1 | 68 | 36 | 19 | 13 |
| YAML | 1 | 24 | 23 | 0 | 1 |
| Markdown | 45 | 1,407 | 0 | 981 | 426 |
| Plain Text | 37 | 94,064 | 0 | 71,123 | 22,941 |

Top language (Python 82.9%). Generated at 2026-09-16T13:12:02.555919825+00:00. Canonical report: https://octocounts.com/github/pytorch/examples

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/pytorch/examples/commit/acc295dc7b90714f1bf47f06004fc19a7fe235c4?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 pytorch/examples have?

pytorch/examples has 109,412 total lines, including 10,216 code lines, 73,503 comment lines, and 25,693 blank lines.

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

OctoCounts resolved the public GitHub repository to commit acc295dc7b90, 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/examples?

This OctoCounts report was generated from acc295dc7b90714f1bf47f06004fc19a7fe235c4 at commit acc295dc7b90 on 2026-09-16T13:12:02.555919825+00:00.

## Similar repository reports

- [onlynor/vibemeter](https://octocounts.com/github/onlynor/vibemeter) — Python, 10,238 code lines
- [bcefghj/ai-agent-interview-guide](https://octocounts.com/github/bcefghj/ai-agent-interview-guide) — Python, 10,254 code lines
- [jquesnelle/yarn](https://octocounts.com/github/jquesnelle/yarn) — Python, 10,170 code lines
- [timzaak/web-dev-skills](https://octocounts.com/github/timzaak/web-dev-skills) — Python, 10,276 code lines
- [alibaba/VideoMV](https://octocounts.com/github/alibaba/VideoMV) — Python, 10,294 code lines
- [limafresh/Brushshe](https://octocounts.com/github/limafresh/Brushshe) — Python, 10,094 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)
