NVIDIA/Model-Optimizer has 214,618 source lines of code out of 309,702 total lines across 1,604 files, counted from the main ref at commit 8c64b3123726 by the OctoCounts tokei engine on 2026-10-08. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-08 (commit 8c64b3123726), NVIDIA/Model-Optimizer contains 309,702 total lines: 214,618 code, 53,160 comments, 41,924 blank, across 1,604 files in 16 languages (top: Python 89.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving NVIDIA/Model-Optimizer to commit 8c64b3123726, 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 large codebase by counted code lines. Code represents 69.3% of all lines, comments represent 17.2%, and the repository averages 134 code lines per file. Python accounts for 89.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 884 | 251672 | 192840 | 27108 | 31724 |
| YAML | 394 | 21124 | 12336 | 7163 | 1625 |
| Shell | 60 | 6648 | 4033 | 1778 | 837 |
| CUDA | 10 | 2055 | 1342 | 418 | 295 |
| Jupyter Notebooks | 16 | 1816 | 1112 | 423 | 281 |
| ReStructuredText | 1 | 1079 | 834 | 0 | 245 |
| Jinja2 | 6 | 838 | 703 | 105 | 30 |
| C++ | 8 | 768 | 487 | 171 | 110 |
| TOML | 4 | 492 | 380 | 61 | 51 |
| C Header | 5 | 519 | 274 | 153 | 92 |
| JSON | 5 | 201 | 201 | 0 | 0 |
| Dockerfile | 2 | 107 | 55 | 30 | 22 |
Top language (Python 89.9%). Generated at .
NVIDIA/Model-Optimizer has 309,702 total lines, including 214,618 code lines, 53,160 comment lines, and 41,924 blank lines.
OctoCounts resolved the public GitHub repository to commit 8c64b3123726, 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 8c64b3123726 on 2026-10-08T23:04:38.828741560+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for NVIDIA/Model-Optimizer on this page — 214,618 code lines across 12 languages, counted by tokei.