pytorch/vision has 73,853 source lines of code out of 93,720 total lines across 374 files, counted from the main ref at commit 268ddfce8e79 by the OctoCounts tokei engine on 2026-10-20. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-20 (commit 268ddfce8e79), pytorch/vision contains 93,720 total lines: 73,853 code, 6,577 comments, 13,290 blank, across 374 files in 17 languages (top: Python 81.1%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving pytorch/vision to commit 268ddfce8e79, 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.
This is a medium-sized codebase by counted code lines. Code represents 78.8% of all lines, comments represent 7.0%, and the repository averages 197 code lines per file. Python accounts for 81.1% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 256 | 74405 | 59886 | 3824 | 10695 |
| C++ | 30 | 6476 | 5035 | 588 | 853 |
| CUDA | 7 | 3961 | 3321 | 206 | 434 |
| C Header | 33 | 3082 | 2514 | 262 | 306 |
| Objective-C++ | 6 | 1564 | 1370 | 27 | 167 |
| C | 4 | 1942 | 1253 | 434 | 255 |
| CMake | 2 | 203 | 157 | 9 | 37 |
| Shell | 5 | 215 | 141 | 42 | 32 |
| INI | 2 | 98 | 55 | 4 | 39 |
| Batch | 3 | 47 | 38 | 0 | 9 |
| Autoconf | 2 | 55 | 31 | 10 | 14 |
| ReStructuredText | 4 | 33 | 21 | 0 | 12 |
Top language (Python 81.1%). Generated at .
pytorch/vision has 93,720 total lines, including 73,853 code lines, 6,577 comment lines, and 13,290 blank lines.
OctoCounts resolved the public GitHub repository to commit 268ddfce8e79, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from main at commit 268ddfce8e79 on 2026-10-20T09:38:31.443069215+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for pytorch/vision on this page — 73,853 code lines across 12 languages, counted by tokei.