pytorch/tensordict

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.

As of 2026-10-22 (commit 063429e70b2f), pytorch/tensordict contains 107,904 total lines: 90,128 code, 8,439 comments, 9,337 blank, across 124 files in 6 languages (top: Python 99.8%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

As of 2026-10-22 (commit 063429e70b2f), pytorch/tensordict contains 107,904 total lines: 90,128 code, 8,439 comments, 9,337 blank, across 124 files in 6 languages (top: Python 99.8%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
Python1111065558993375129110
TOML11861373217
INI26950415
Autoconf110802
Markdown710790886193
Plain Text25050

Top language (Python 99.8%). Generated at .

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does pytorch/tensordict have?

pytorch/tensordict has 107,904 total lines, including 90,128 code lines, 8,439 comment lines, and 9,337 blank lines.

How was the pytorch/tensordict line count measured?

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.

What commit was counted for pytorch/tensordict?

This OctoCounts report was generated from main at commit 063429e70b2f on 2026-10-22T06:58:27.155066967+00:00.

Similar repository reports

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.