# google-pytorch/torch_tpu SLOC report

> As of 2026-10-22 (commit 47135c72dfe1), google-pytorch/torch_tpu contains 659,804 total lines: 530,165 code, 93,007 comments, 36,632 blank, across 1,681 files in 11 languages (top: JSON 54.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

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.

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.

## Repository size insights

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 | 290,052 | 290,052 | 0 | 0 |
| C++ | 498 | 177,490 | 134,207 | 24,129 | 19,154 |
| Python | 272 | 77,392 | 61,511 | 7,300 | 8,581 |
| Bazel | 340 | 33,413 | 24,119 | 6,506 | 2,788 |
| C Header | 422 | 38,949 | 18,789 | 14,825 | 5,335 |
| Shell | 23 | 1,969 | 982 | 775 | 212 |
| YAML | 6 | 486 | 347 | 118 | 21 |
| TOML | 1 | 216 | 152 | 50 | 14 |
| Forge Config | 1 | 11 | 6 | 4 | 1 |
| Markdown | 18 | 1,957 | 0 | 1,442 | 515 |
| Plain Text | 15 | 37,869 | 0 | 37,858 | 11 |

Top language (JSON 54.7%). Generated at 2026-10-22T07:02:04.511796631+00:00. Canonical report: https://octocounts.com/github/google-pytorch/torch_tpu

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/google-pytorch/torch_tpu/commit/47135c72dfe13685415fe62c64bcaf9b8e390d18?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&reportId=bc78768450a138d172f0b4d6c6a68f8bc736d310a74435e86856a05c96f23b97).

## Report FAQ

### How many lines of code does google-pytorch/torch_tpu have?

google-pytorch/torch_tpu has 659,804 total lines, including 530,165 code lines, 93,007 comment lines, and 36,632 blank lines.

### How was the google-pytorch/torch_tpu line count measured?

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.

### What commit was counted for google-pytorch/torch_tpu?

This OctoCounts report was generated from main at commit 47135c72dfe1 on 2026-10-22T07:02:04.511796631+00:00.

## Similar repository reports

- [every-app/open-seo](https://octocounts.com/github/every-app/open-seo) — JSON, 533,402 code lines
- [MastaTrill/Aetheron-Sentinel-L3](https://octocounts.com/github/MastaTrill/Aetheron-Sentinel-L3) — JSON, 545,703 code lines
- [AltimateAI/altimate-code](https://octocounts.com/github/AltimateAI/altimate-code) — JSON, 512,000 code lines
- [a63976659/ComfyUI-Global-Translation](https://octocounts.com/github/a63976659/ComfyUI-Global-Translation) — JSON, 551,246 code lines
- [espocrm/espocrm](https://octocounts.com/github/espocrm/espocrm) — JSON, 552,385 code lines
- [drscrewdriver/dsh-context-compression-improved](https://octocounts.com/github/drscrewdriver/dsh-context-compression-improved) — JSON, 573,075 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)
- [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)
