# huggingface/pytorch-image-models SLOC report

> 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.

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.

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.

## Counting rules and retention

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.

## Repository size insights

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 | 151,355 | 129,298 | 5,069 | 16,988 |
| 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 | 15,451 | 0 | 12,567 | 2,884 |
| Markdown | 8 | 930 | 0 | 746 | 184 |
| Plain Text | 27 | 223,867 | 0 | 223,867 | 0 |

Top language: Python 99.7%. Generated on November 3, 2026. Canonical report: https://octocounts.com/github/huggingface/pytorch-image-models

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/huggingface/pytorch-image-models/commit/43b549bfe9d680bc94284cfd0b611152d18e97d7?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=1e8b187007514943d2a40fb153eb25e95c98e3421291e0152fb51a1cdf620455).

## Report FAQ

### How many lines of code does huggingface/pytorch-image-models have?

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.

### How was the huggingface/pytorch-image-models line count measured?

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.

### What commit was counted for huggingface/pytorch-image-models?

This OctoCounts report was generated from main at commit 43b549bfe9d6 on November 3, 2026.

## Similar repository reports

- [EchoAran/RequirementSpace-Workbench](https://octocounts.com/github/EchoAran/RequirementSpace-Workbench) — Python, 129,826 code lines
- [XiaomiMiMo/verl](https://octocounts.com/github/XiaomiMiMo/verl) — Python, 130,616 code lines
- [ansible/ansible](https://octocounts.com/github/ansible/ansible) — Python, 128,020 code lines
- [NVIDIA/auto-ontology](https://octocounts.com/github/NVIDIA/auto-ontology) — Python, 127,737 code lines
- [TheAlgorithms/Python](https://octocounts.com/github/TheAlgorithms/Python) — Python, 127,292 code lines
- [FlashML-org/FreeToken](https://octocounts.com/github/FlashML-org/FreeToken) — Python, 132,838 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)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
