ggml-org/ggml has 425,101 source lines of code out of 537,690 total lines across 1,440 files, counted from the master ref at commit da8e2a54b919 by the OctoCounts tokei engine on 2026-10-21. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-21 (commit da8e2a54b919), ggml-org/ggml contains 537,690 total lines: 425,101 code, 32,944 comments, 79,645 blank, across 1,440 files in 21 languages (top: C++ 44.4%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving ggml-org/ggml to commit da8e2a54b919, 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.1% of all lines, comments represent 6.1%, and the repository averages 295 code lines per file. C++ accounts for 44.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 284 | 238102 | 188662 | 14912 | 34528 |
| C | 93 | 82788 | 65263 | 4036 | 13489 |
| C Header | 205 | 55887 | 40800 | 7089 | 7998 |
| OpenCL | 182 | 44986 | 39142 | 0 | 5844 |
| CUDA | 191 | 28190 | 22820 | 1374 | 3996 |
| GLSL | 192 | 25094 | 20157 | 859 | 4078 |
| C++ Header | 81 | 19638 | 15268 | 1381 | 2989 |
| Metal Shading Language | 38 | 13873 | 10681 | 514 | 2678 |
| WebGPU Shader Language | 43 | 7048 | 5715 | 222 | 1111 |
| Python | 25 | 5017 | 4337 | 222 | 458 |
| CMake | 42 | 5387 | 4268 | 415 | 704 |
| Templ | 7 | 4423 | 3877 | 37 | 509 |
Top language (C++ 44.4%). Generated at .
ggml-org/ggml has 537,690 total lines, including 425,101 code lines, 32,944 comment lines, and 79,645 blank lines.
OctoCounts resolved the public GitHub repository to commit da8e2a54b919, 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 da8e2a54b919 on 2026-10-21T02:06:18.838055981+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 — 425,101 code lines across 12 languages, counted by tokei.