NVIDIA/Model-Optimizer has 222,788 source lines of code out of 321,340 total lines across 1,651 files, counted from the main ref at commit f98361961773 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.
NVIDIA/Model-Optimizer: 222,788 code lines at commit f98361961773, counted with tokei-14.0.0 on 2026-10-22. Saved result 817cf1eebb3ff6d32c57f2008ea01f56dd7bdfa7b100492edd4a471cd35bc80d.
OctoCounts produced this report by resolving NVIDIA/Model-Optimizer to commit f98361961773, 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 135 code lines per file. Python accounts for 89.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 906 | 260943 | 200295 | 28026 | 32622 |
| YAML | 413 | 22156 | 12942 | 7540 | 1674 |
| Shell | 60 | 6648 | 4033 | 1778 | 837 |
| CUDA | 10 | 2073 | 1357 | 420 | 296 |
| Jupyter Notebooks | 16 | 1816 | 1112 | 423 | 281 |
| ReStructuredText | 1 | 1157 | 896 | 0 | 261 |
| Jinja2 | 6 | 838 | 703 | 105 | 30 |
| C++ | 8 | 790 | 509 | 171 | 110 |
| TOML | 4 | 503 | 388 | 63 | 52 |
| C Header | 5 | 521 | 276 | 153 | 92 |
| JSON | 5 | 201 | 201 | 0 | 0 |
| Dockerfile | 2 | 107 | 55 | 30 | 22 |
| CMake | 1 | 41 | 17 | 16 | 8 |
| Autoconf | 1 | 9 | 4 | 5 | 0 |
| Markdown | 185 | 23355 | 0 | 16487 | 6868 |
| Plain Text | 28 | 182 | 0 | 177 | 5 |
Top language (Python 89.9%). Generated at .
NVIDIA/Model-Optimizer has 321,340 total lines, including 222,788 code lines, 55,394 comment lines, and 43,158 blank lines.
OctoCounts resolved the public GitHub repository to commit f98361961773, 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 f98361961773 on 2026-10-22T05:20:37.891301491Z.
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 — 222,788 code lines across 16 languages, counted by tokei.