As of 2026-07-15 (commit d710d689510d), Lightning-AI/pytorch-lightning contains 72,390 total lines: 50,493 code, 11,530 comments, 10,367 blank, across 365 files in 8 languages (top: Python 99.4%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving Lightning-AI/pytorch-lightning to commit d710d689510d, 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 69.8% of all lines, comments represent 15.9%, and the repository averages 138 code lines per file. Python accounts for 99.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 314 | 64396 | 50172 | 5754 | 8470 |
| TOML | 1 | 181 | 137 | 26 | 18 |
| Makefile | 1 | 118 | 88 | 14 | 16 |
| Jupyter Notebooks | 1 | 82 | 53 | 18 | 11 |
| Shell | 2 | 57 | 22 | 29 | 6 |
| Autoconf | 3 | 24 | 21 | 2 | 1 |
| Markdown | 21 | 7350 | 0 | 5526 | 1824 |
| Plain Text | 22 | 182 | 0 | 161 | 21 |
Top language (Python 99.4%). Generated at .
Lightning-AI/pytorch-lightning has 72,390 total lines, including 50,493 code lines, 11,530 comment lines, and 10,367 blank lines.
OctoCounts resolved the public GitHub repository to commit d710d689510d, 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 master at commit d710d689510d on 2026-07-15T03:37:13.814016032+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: