ggml-org/ggml has 416,333 source lines of code out of 527,207 total lines across 1,421 files, counted from the master ref at commit ffa4e8b80930 by the OctoCounts tokei engine on 2026-10-05. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-05 (commit ffa4e8b80930), ggml-org/ggml contains 527,207 total lines: 416,333 code, 32,347 comments, 78,527 blank, across 1,421 files in 21 languages (top: C++ 44.2%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving ggml-org/ggml to commit ffa4e8b80930, 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 79.0% of all lines, comments represent 6.1%, and the repository averages 293 code lines per file. C++ accounts for 44.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 280 | 232555 | 183976 | 14623 | 33956 |
| C | 91 | 81339 | 64001 | 4019 | 13319 |
| C Header | 198 | 54943 | 40037 | 7011 | 7895 |
| OpenCL | 182 | 44743 | 38915 | 0 | 5828 |
| CUDA | 190 | 27121 | 21924 | 1320 | 3877 |
| GLSL | 192 | 25114 | 20164 | 861 | 4089 |
| C++ Header | 79 | 19089 | 14826 | 1339 | 2924 |
| Metal Shading Language | 37 | 13714 | 10569 | 497 | 2648 |
| WebGPU Shader Language | 43 | 7027 | 5708 | 217 | 1102 |
| Python | 25 | 5017 | 4337 | 222 | 458 |
| CMake | 42 | 5306 | 4209 | 396 | 701 |
| Templ | 7 | 4423 | 3877 | 37 | 509 |
Top language (C++ 44.2%). Generated at .
ggml-org/ggml has 527,207 total lines, including 416,333 code lines, 32,347 comment lines, and 78,527 blank lines.
OctoCounts resolved the public GitHub repository to commit ffa4e8b80930, 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 ffa4e8b80930 on 2026-10-05T15:53:54.519777188+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for ggml-org/ggml on this page — 416,333 code lines across 12 languages, counted by tokei.