pytorch/examples SLOC report

As of 2026-06-20 (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%). Counted with tokei via OctoCounts.

As of 2026-06-20 (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%). Counted with tokei via OctoCounts.

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.

LanguageFilesLinesCodeCommentsBlanks
Python921130984679161926
C++915921080249263
Shell1276647520487
CMake81821351136
C Header168361913
YAML1242301
Markdown4514070981426
Plain Text379406407112322941

Top language (Python 82.9%). Generated at 2026-06-20T10:27:00.413587899+00:00.

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 main at commit acc295dc7b90 on 2026-06-20T10:27:00.413587899+00:00.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: