# ggml-org/ggml SLOC report

> ggml-org/ggml: 468,970 code lines at commit d9fe7bff3d2b, counted with tokei-15.0.0 on 2026-11-16. Saved result 55cc44b3889c6b40941ab89fd705825f1a71497bc58261f83abf23cb8dc496f5.

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.

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.

## Counting rules and retention

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.

## Repository size insights

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 | 254,896 | 203,362 | 15,314 | 36,220 |
| C | 98 | 91,015 | 72,047 | 4,272 | 14,696 |
| OpenCL | 275 | 59,843 | 52,129 | 0 | 7,714 |
| C Header | 225 | 59,637 | 44,008 | 7,004 | 8,625 |
| CUDA | 209 | 31,102 | 25,297 | 1,509 | 4,296 |
| GLSL | 193 | 26,173 | 21,126 | 869 | 4,178 |
| C++ Header | 84 | 21,001 | 16,353 | 1,498 | 3,150 |
| Metal Shading Language | 38 | 14,439 | 11,140 | 547 | 2,752 |
| WebGPU Shader Language | 47 | 7,403 | 6,014 | 229 | 1,160 |
| Python | 26 | 5,525 | 4,726 | 225 | 574 |
| CMake | 42 | 5,537 | 4,415 | 414 | 708 |
| Templ | 7 | 4,486 | 3,935 | 37 | 514 |
| Objective-C | 2 | 3,588 | 2,677 | 215 | 696 |
| Shell | 19 | 1,948 | 1,292 | 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 November 16, 2026. Canonical report: https://octocounts.com/github/ggml-org/ggml/commit/d9fe7bff3d2bf4d077e25c654486d02c321734aa?reportId=55cc44b3889c6b40941ab89fd705825f1a71497bc58261f83abf23cb8dc496f5&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/ggml-org/ggml/commit/d9fe7bff3d2bf4d077e25c654486d02c321734aa?reportId=55cc44b3889c6b40941ab89fd705825f1a71497bc58261f83abf23cb8dc496f5&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does ggml-org/ggml have?

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.

### How was the ggml-org/ggml line count measured?

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.

### What commit was counted for ggml-org/ggml?

This OctoCounts report was generated from master at commit d9fe7bff3d2b on November 16, 2026.

## Similar repository reports

- [OGRECave/ogre](https://octocounts.com/github/OGRECave/ogre) — C++, 474,463 code lines
- [hsutter/cppfront](https://octocounts.com/github/hsutter/cppfront) — C++, 476,996 code lines
- [Gerate-Technik/zkgram](https://octocounts.com/github/Gerate-Technik/zkgram) — C++, 495,342 code lines
- [HaxxorCialtion/SimpleText2Motion](https://octocounts.com/github/HaxxorCialtion/SimpleText2Motion) — C++, 503,246 code lines
- [RobotLocomotion/drake](https://octocounts.com/github/RobotLocomotion/drake) — C++, 504,901 code lines
- [cloudflare/workerd](https://octocounts.com/github/cloudflare/workerd) — C++, 505,843 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Godot vs Bevy](https://octocounts.com/compare/godot-vs-bevy)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
