Files with excluded extensions are not shown; configure exclude_exts in gitstats.conf.
| Extension | Files | Lines | Share | Lines/file | |
|---|---|---|---|---|---|
| cpp | 729 | 515,545 | 31.6% | 707 | |
| csv | 14 | 245,684 | 15.0% | 17,548 | |
| h | 338 | 196,987 | 12.1% | 582 | |
| py | 241 | 84,941 | 5.2% | 352 | |
| c | 98 | 84,036 | 5.1% | 857 | |
| ts | 463 | 61,650 | 3.8% | 133 | |
| hpp | 88 | 48,053 | 2.9% | 546 | |
| cl | 190 | 46,948 | 2.9% | 247 | |
| js | 15 | 38,328 | 2.3% | 2,555 | |
| html | 2 | 35,167 | 2.2% | 17,583 | |
| svelte | 387 | 34,990 | 2.1% | 90 | |
| schema | 12 | 34,509 | 2.1% | 2,875 | |
| cu | 192 | 28,669 | 1.8% | 149 | |
| md | 129 | 21,824 | 1.3% | 169 | |
| json | 13 | 21,463 | 1.3% | 1,651 | |
| cuh | 93 | 19,883 | 1.2% | 213 | |
| comp | 162 | 16,508 | 1.0% | 101 | |
| metal | 38 | 14,011 | 0.9% | 368 | |
| jinja | 74 | 11,794 | 0.7% | 159 | |
| yml | 79 | 10,650 | 0.7% | 134 | |
| sh | 75 | 9,660 | 0.6% | 128 | |
| glsl | 30 | 8,621 | 0.5% | 287 | |
| txt | 111 | 7,849 | 0.5% | 70 | |
| wgsl | 43 | 7,103 | 0.4% | 165 | |
| tmpl | 7 | 4,486 | 0.3% | 640 | |
| m | 2 | 3,322 | 0.2% | 1,661 | |
| inp | 15 | 1,687 | 0.1% | 112 | |
| kt | 11 | 1,654 | 0.1% | 150 | |
| Dockerfile | 11 | 1,571 | 0.1% | 142 | |
| cmake | 22 | 1,506 | 0.1% | 68 | |
| svg | 6 | 1,451 | 0.1% | 241 | |
| swift | 9 | 1,276 | 0.1% | 141 | |
| patch | 1 | 1,184 | 0.1% | 1,184 | |
| css | 2 | 1,021 | 0.1% | 510 | |
| nix | 11 | 815 | 0.0% | 74 | |
| vim | 1 | 783 | 0.0% | 783 | |
| out | 15 | 694 | 0.0% | 46 | |
| bat | 6 | 539 | 0.0% | 89 | |
| pbxproj | 1 | 449 | 0.0% | 449 | |
| xml | 18 | 436 | 0.0% | 24 | |
| in | 13 | 422 | 0.0% | 32 | |
| disabled | 1 | 304 | 0.0% | 304 | |
| toml | 4 | 199 | 0.0% | 49 | |
| yaml | 2 | 182 | 0.0% | 91 | |
| spec | 2 | 172 | 0.0% | 86 | |
| kts | 4 | 161 | 0.0% | 40 | |
| gbnf | 8 | 137 | 0.0% | 17 | |
| ps1 | 1 | 136 | 0.0% | 136 | |
| ld | 1 | 85 | 0.0% | 85 | |
| template | 2 | 61 | 0.0% | 30 | |
| pro | 3 | 58 | 0.0% | 19 | |
| mdx | 1 | 44 | 0.0% | 44 | |
| inf | 1 | 38 | 0.0% | 38 | |
| mk | 1 | 38 | 0.0% | 38 | |
| properties | 2 | 30 | 0.0% | 15 | |
| idl | 1 | 23 | 0.0% | 23 | |
| scss | 1 | 16 | 0.0% | 16 | |
| S | 1 | 15 | 0.0% | 15 | |
| ini | 2 | 11 | 0.0% | 5 | |
| log | 1 | 11 | 0.0% | 11 | |
| plist | 1 | 8 | 0.0% | 8 | |
| no extension | 1 | 7 | 0.0% | 7 | |
| example | 1 | 3 | 0.0% | 3 | |
| farf | 1 | 1 | 0.0% | 1 | |
| last | 1 | 1 | 0.0% | 1 | |
| gguf | 19 | — | — | — | |
| png | 11 | — | — | — | |
| webp | 11 | — | — | — | |
| ico | 2 | — | — | — | |
| jpg | 2 | — | — | — | |
| 2 | — | — | — | ||
| jar | 1 | — | — | — | |
| jpeg | 1 | — | — | — | |
| key | 1 | — | — | — | |
| mp3 | 1 | — | — | — | |
| mp4 | 1 | — | — | — | |
| typed | 1 | — | — | — |
Files in the current tree touched most often across all commits. High-churn files are hotspots that may benefit from extra review or refactoring.
| File | Times Changed | |
|---|---|---|
| tests/test-backend-ops.cpp | 557 | |
| ggml/src/ggml-vulkan/ggml-vulkan.cpp | 515 | |
| README.md | 514 | |
| src/llama-model.cpp | 414 | |
| common/common.cpp | 392 | |
| common/common.h | 390 | |
| convert_hf_to_gguf.py | 380 | |
| common/arg.cpp | 372 | |
| gguf-py/gguf/constants.py | 337 | |
| Makefile | 331 | |
| ggml/src/ggml-cuda/ggml-cuda.cu | 326 | |
| CMakeLists.txt | 285 | |
| src/llama.cpp | 261 | |
| ggml/src/ggml-sycl/ggml-sycl.cpp | 251 | |
| ggml/src/ggml-opencl/ggml-opencl.cpp | 228 | |
| src/llama-context.cpp | 222 | |
| tools/server/server-context.cpp | 216 | |
| include/llama.h | 214 | |
| ggml/src/ggml.c | 210 | |
| src/llama-graph.cpp | 200 | |
| src/llama-arch.cpp | 197 | |
| gguf-py/gguf/tensor_mapping.py | 191 | |
| tools/server/server.cpp | 181 | |
| ggml/src/ggml-vulkan/vulkan-shaders/vulkan-shaders-gen.cpp | 178 | |
| tools/mtmd/clip.cpp | 173 |
Change frequency by file size →
How llama.cpp compares with other open source AI and machine learning projects →
How llama.cpp ranks among open source AI and machine learning projects by AI-assisted commits →
Generate this report for your own repository with gitstats-action · All Gallery reports
Publishes the report to GitHub Pages on every push to main: turn on Pages for the gh-pages branch.
# .github/workflows/gitstats.yml
name: GitStats Report
on:
push:
branches: [main]
permissions:
contents: write
jobs:
gitstats:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: shenxianpeng/gitstats-action@v1
with:
deploy-to-pages: true