kvcache-ai/ktransformers

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.

As of 2026-11-13 (commit ca198c50de70), kvcache-ai/ktransformers contains 400,606 total lines: 328,652 code, 30,944 comments, 41,010 blank, across 1,101 files in 27 languages (top language: Python 41.6%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-13 (commit ca198c50de70), kvcache-ai/ktransformers contains 400,606 total lines: 328,652 code, 30,944 comments, 41,010 blank, across 1,101 files in 27 languages (top language: Python 41.6%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
Python5381697891367161078822285
C++ Header1048128962347100678875
JSON13501355013005
C++108280692342325072139
Bitbake1120885190234401422
CUDA11136281028115171830
YAML7998758517682676
C Header8710012722816771107
Shell2145943374555665
CMake1226862162214310
TypeScript261488135618114
CSS61372112042210

Top language: Python 41.6%. Generated on .

Counting rules and retention

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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does kvcache-ai/ktransformers have?

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.

How was the kvcache-ai/ktransformers line count measured?

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.

What commit was counted for kvcache-ai/ktransformers?

This OctoCounts report was generated from main at commit ca198c50de70 on November 13, 2026.

Similar repository reports

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.