ggml-org/ggml has 468,970 source lines of code out of 588,698 total lines across 1,594 files, counted with tokei from the master ref at commit d9fe7bff3d2b on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
ggml-org/ggml: 468,970 code lines at commit d9fe7bff3d2b, counted with tokei-15.0.0 on 2026-11-16. Saved result 55cc44b3889c6b40941ab89fd705825f1a71497bc58261f83abf23cb8dc496f5.
OctoCounts produced this report by resolving ggml-org/ggml to commit d9fe7bff3d2b, 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.
This is a large codebase by counted code lines. Code represents 79.7% of all lines, comments represent 5.7%, and the repository averages 294 code lines per file. C++ accounts for 43.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 292 | 254896 | 203362 | 15314 | 36220 |
| C | 98 | 91015 | 72047 | 4272 | 14696 |
| OpenCL | 275 | 59843 | 52129 | 0 | 7714 |
| C Header | 225 | 59637 | 44008 | 7004 | 8625 |
| CUDA | 209 | 31102 | 25297 | 1509 | 4296 |
| GLSL | 193 | 26173 | 21126 | 869 | 4178 |
| C++ Header | 84 | 21001 | 16353 | 1498 | 3150 |
| Metal Shading Language | 38 | 14439 | 11140 | 547 | 2752 |
| WebGPU Shader Language | 47 | 7403 | 6014 | 229 | 1160 |
| Python | 26 | 5525 | 4726 | 225 | 574 |
| CMake | 42 | 5537 | 4415 | 414 | 708 |
| Templ | 7 | 4486 | 3935 | 37 | 514 |
| Objective-C | 2 | 3588 | 2677 | 215 | 696 |
| Shell | 19 | 1948 | 1292 | 331 | 325 |
| Autoconf | 8 | 294 | 230 | 20 | 44 |
| YAML | 1 | 166 | 124 | 12 | 30 |
| LD Script | 1 | 85 | 54 | 17 | 14 |
| HTML | 1 | 26 | 26 | 0 | 0 |
| GNU Style Assembly | 1 | 15 | 15 | 0 | 0 |
| Markdown | 12 | 655 | 0 | 454 | 201 |
| Plain Text | 13 | 864 | 0 | 848 | 16 |
Top language: C++ 43.4%. Generated on .
ggml-org/ggml: 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.
ggml-org/ggml has 468,970 lines of code, plus 33,815 comment lines and 85,913 blank lines, for 588,698 total lines at commit d9fe7bff3d2b on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit d9fe7bff3d2b, 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 d9fe7bff3d2b on November 16, 2026.
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 — 468,970 code lines across 21 languages, counted by tokei.