kvcache-ai/ktransformers has 328,652 source lines of code out of 400,606 total lines across 1,101 files, counted with tokei from the main ref at commit ca198c50de70 on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
kvcache-ai/ktransformers: 328,652 code lines at commit ca198c50de70, counted with tokei-15.0.0 on 2026-11-13. Saved result 7291f3452ce3b9734f2115f24700978a990b3faedb32d4848d74045fe70a9ee6.
OctoCounts produced this report by resolving kvcache-ai/ktransformers to commit ca198c50de70, 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 82.0% of all lines, comments represent 7.7%, and the repository averages 299 code lines per file. Python accounts for 41.6% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 538 | 169789 | 136716 | 10788 | 22285 |
| C++ Header | 104 | 81289 | 62347 | 10067 | 8875 |
| 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 on .
kvcache-ai/ktransformers: 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.
kvcache-ai/ktransformers has 328,652 lines of code, plus 30,944 comment lines and 41,010 blank lines, for 400,606 total lines at commit ca198c50de70 on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit ca198c50de70, 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 ca198c50de70 on November 13, 2026.
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,652 code lines across 27 languages, counted by tokei.