kvcache-ai/ktransformers SLOC report
As of 2026-07-20 (commit d1a3ed8a308c), kvcache-ai/ktransformers contains 369,776 total lines: 301,599 code, 29,628 comments, 38,549 blank, across 1,048 files in 27 languages (top: Python 41.7%). Counted with tokei via OctoCounts.
Repository size insights
This is a large codebase by counted code lines. Code represents 81.6% of all lines, comments represent 8.0%, and the repository averages 288 code lines per file. Python accounts for 41.7% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| Python | 519 | 157582 | 125817 | 10513 | 21252 |
| JSON | 13 | 50135 | 50130 | 0 | 5 |
| C++ Header | 87 | 66431 | 49211 | 9363 | 7857 |
| C++ | 104 | 26565 | 22102 | 2472 | 1991 |
| Bitbake | 11 | 20854 | 18992 | 440 | 1422 |
| CUDA | 11 | 13628 | 10281 | 1517 | 1830 |
| YAML | 79 | 9875 | 8517 | 682 | 676 |
| C Header | 84 | 9897 | 7182 | 1629 | 1086 |
| Shell | 17 | 3288 | 2244 | 508 | 536 |
| CMake | 11 | 2469 | 1970 | 198 | 301 |
| TypeScript | 26 | 1488 | 1356 | 18 | 114 |
| CSS | 6 | 1372 | 1120 | 42 | 210 |
Top language (Python 41.7%). Generated at 2026-07-20T05:49:15.903802180+00:00.
Report FAQ
How many lines of code does kvcache-ai/ktransformers have?
kvcache-ai/ktransformers has 369,776 total lines, including 301,599 code lines, 29,628 comment lines, and 38,549 blank lines.
How was the kvcache-ai/ktransformers line count measured?
OctoCounts resolved the public GitHub repository to commit d1a3ed8a308c, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for kvcache-ai/ktransformers?
This OctoCounts report was generated from main at commit d1a3ed8a308c on 2026-07-20T05:49:15.903802180+00:00.