google-pytorch/torch_tpu has 530,165 source lines of code out of 659,804 total lines across 1,681 files, counted from the main ref at commit 47135c72dfe1 by the OctoCounts tokei engine on 2026-10-22. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
google-pytorch/torch_tpu: 530,165 code lines at commit 47135c72dfe1, counted with tokei-14.0.0 on 2026-10-22. Saved result bc78768450a138d172f0b4d6c6a68f8bc736d310a74435e86856a05c96f23b97.
OctoCounts produced this report by resolving google-pytorch/torch_tpu to commit 47135c72dfe1, 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 large codebase by counted code lines. Code represents 80.4% of all lines, comments represent 14.1%, and the repository averages 315 code lines per file. JSON accounts for 54.7% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| JSON | 85 | 290052 | 290052 | 0 | 0 |
| C++ | 498 | 177490 | 134207 | 24129 | 19154 |
| Python | 272 | 77392 | 61511 | 7300 | 8581 |
| Bazel | 340 | 33413 | 24119 | 6506 | 2788 |
| C Header | 422 | 38949 | 18789 | 14825 | 5335 |
| Shell | 23 | 1969 | 982 | 775 | 212 |
| YAML | 6 | 486 | 347 | 118 | 21 |
| TOML | 1 | 216 | 152 | 50 | 14 |
| Forge Config | 1 | 11 | 6 | 4 | 1 |
| Markdown | 18 | 1957 | 0 | 1442 | 515 |
| Plain Text | 15 | 37869 | 0 | 37858 | 11 |
Top language (JSON 54.7%). Generated at .
google-pytorch/torch_tpu has 659,804 total lines, including 530,165 code lines, 93,007 comment lines, and 36,632 blank lines.
OctoCounts resolved the public GitHub repository to commit 47135c72dfe1, 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 47135c72dfe1 on 2026-10-22T07:02:04.511796631Z.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for google-pytorch/torch_tpu on this page — 530,165 code lines across 11 languages, counted by tokei.