pytorch/tensordict has 90,128 source lines of code out of 107,904 total lines across 124 files, counted from the main ref at commit 063429e70b2f 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.
pytorch/tensordict: 90,128 code lines at commit 063429e70b2f, counted with tokei-14.0.0 on 2026-10-22. Saved result 6812c3ca4b7e54a4e4a2abd1c38e6194050d994222393f3a4538351ce3059938.
OctoCounts produced this report by resolving pytorch/tensordict to commit 063429e70b2f, 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 83.5% of all lines, comments represent 7.8%, and the repository averages 727 code lines per file. Python accounts for 99.8% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 111 | 106555 | 89933 | 7512 | 9110 |
| TOML | 1 | 186 | 137 | 32 | 17 |
| INI | 2 | 69 | 50 | 4 | 15 |
| Autoconf | 1 | 10 | 8 | 0 | 2 |
| Markdown | 7 | 1079 | 0 | 886 | 193 |
| Plain Text | 2 | 5 | 0 | 5 | 0 |
Top language (Python 99.8%). Generated at .
pytorch/tensordict has 107,904 total lines, including 90,128 code lines, 8,439 comment lines, and 9,337 blank lines.
OctoCounts resolved the public GitHub repository to commit 063429e70b2f, 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 063429e70b2f on 2026-10-22T06:58:27.155066967Z.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for pytorch/tensordict on this page — 90,128 code lines across 6 languages, counted by tokei.