huggingface/pytorch-image-models has 129,686 source lines of code out of 392,008 total lines across 481 files, counted with tokei from the main ref at commit 43b549bfe9d6 on November 3, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-03 (commit 43b549bfe9d6), huggingface/pytorch-image-models contains 392,008 total lines: 129,686 code, 242,253 comments, 20,069 blank, across 481 files in 10 languages (top language: Python 99.7%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving huggingface/pytorch-image-models to commit 43b549bfe9d6, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.
This is a large codebase by counted code lines. Code represents 33.1% of all lines, comments represent 61.8%, and the repository averages 270 code lines per file. Python accounts for 99.7% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 323 | 151355 | 129298 | 5069 | 16988 |
| YAML | 2 | 307 | 303 | 2 | 2 |
| TOML | 1 | 76 | 69 | 0 | 7 |
| Forge Config | 1 | 9 | 6 | 0 | 3 |
| Shell | 2 | 9 | 6 | 2 | 1 |
| Autoconf | 1 | 3 | 3 | 0 | 0 |
| JSON | 1 | 1 | 1 | 0 | 0 |
| MDX | 115 | 15451 | 0 | 12567 | 2884 |
| Markdown | 8 | 930 | 0 | 746 | 184 |
| Plain Text | 27 | 223867 | 0 | 223867 | 0 |
Top language: Python 99.7%. Generated on .
huggingface/pytorch-image-models: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
huggingface/pytorch-image-models has 129,686 lines of code, plus 242,253 comment lines and 20,069 blank lines, for 392,008 total lines at commit 43b549bfe9d6 on November 3, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 43b549bfe9d6, 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 43b549bfe9d6 on November 3, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for huggingface/pytorch-image-models on this page — 129,686 code lines across 10 languages, counted by tokei.