kvcache-ai/ktransformers has 328,578 source lines of code out of 400,507 total lines across 1,101 files, counted from the main ref at commit a694e718e8b3 by the OctoCounts tokei engine on 2026-10-20. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
kvcache-ai/ktransformers: 328,578 code lines at commit a694e718e8b3, counted with tokei-14.0.0 on 2026-10-20. Saved result 32ed2babfb32bd32ab90a0c6091a62c517b31a2255fb2ddbe1cf8669fc7ddcbd.
OctoCounts produced this report by resolving kvcache-ai/ktransformers to commit a694e718e8b3, 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 82.0% of all lines, comments represent 7.7%, and the repository averages 298 code lines per file. Python accounts for 41.6% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 538 | 169822 | 136747 | 10786 | 22289 |
| C++ Header | 104 | 81157 | 62242 | 10047 | 8868 |
| JSON | 13 | 50135 | 50130 | 0 | 5 |
| C++ | 108 | 28069 | 23423 | 2507 | 2139 |
| Bitbake | 11 | 20885 | 19023 | 440 | 1422 |
| CUDA | 11 | 13628 | 10281 | 1517 | 1830 |
| YAML | 79 | 9875 | 8517 | 682 | 676 |
| C Header | 87 | 10012 | 7228 | 1677 | 1107 |
| Shell | 21 | 4594 | 3374 | 555 | 665 |
| CMake | 12 | 2686 | 2162 | 214 | 310 |
| TypeScript | 26 | 1488 | 1356 | 18 | 114 |
| CSS | 6 | 1372 | 1120 | 42 | 210 |
| HTML | 4 | 1082 | 960 | 6 | 116 |
| Dockerfile | 3 | 894 | 693 | 96 | 105 |
| JavaScript | 14 | 364 | 328 | 18 | 18 |
| Stylus | 2 | 322 | 276 | 8 | 38 |
| TOML | 7 | 350 | 273 | 25 | 52 |
| Makefile | 4 | 123 | 93 | 19 | 11 |
| INI | 3 | 119 | 92 | 5 | 22 |
| BASH | 1 | 77 | 64 | 8 | 5 |
| Fish | 1 | 74 | 52 | 12 | 10 |
| Autoconf | 4 | 64 | 50 | 8 | 6 |
| Vue | 6 | 50 | 36 | 0 | 14 |
| SVG | 1 | 51 | 34 | 0 | 17 |
| Batch | 2 | 32 | 24 | 2 | 6 |
| Markdown | 27 | 3099 | 0 | 2150 | 949 |
| Plain Text | 6 | 83 | 0 | 80 | 3 |
Top language (Python 41.6%). Generated at .
kvcache-ai/ktransformers has 400,507 total lines, including 328,578 code lines, 30,922 comment lines, and 41,007 blank lines.
OctoCounts resolved the public GitHub repository to commit a694e718e8b3, 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 main at commit a694e718e8b3 on 2026-10-20T00:55:20.258964678Z.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for kvcache-ai/ktransformers on this page — 328,578 code lines across 27 languages, counted by tokei.