huggingface/candle has 217,299 source lines of code out of 256,440 total lines across 1,054 files, counted with tokei from the c68b24997319b8d76e5a4e775dab197c7f26322a ref at commit c68b24997319 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
huggingface/candle: 217,299 code lines at commit c68b24997319, counted with tokei-15.0.0 on 2026-11-15. Saved result fb410cab9e599195b038776889034919a0d092d0b1f7ff14c6228d33b55eb714.
OctoCounts produced this report by resolving huggingface/candle to commit c68b24997319, 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 84.7% of all lines, comments represent 4.6%, and the repository averages 206 code lines per file. Rust accounts for 80.6% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Rust | 592 | 198686 | 175060 | 4550 | 19076 |
| Metal Shading Language | 17 | 16943 | 13803 | 829 | 2311 |
| CUDA | 148 | 13510 | 10558 | 825 | 2127 |
| C Header | 26 | 7815 | 5192 | 1689 | 934 |
| Python | 31 | 3887 | 3224 | 91 | 572 |
| C++ Header | 7 | 2715 | 2080 | 279 | 356 |
| HTML | 13 | 1939 | 1886 | 10 | 43 |
| JavaScript | 14 | 1700 | 1545 | 37 | 118 |
| C++ | 1 | 1745 | 1414 | 133 | 198 |
| TOML | 28 | 1167 | 1018 | 29 | 120 |
| JSON | 2 | 768 | 767 | 0 | 1 |
| Forge Config | 1 | 790 | 648 | 10 | 132 |
| Org | 1 | 96 | 73 | 0 | 23 |
| Shell | 9 | 19 | 19 | 0 | 0 |
| Makefile | 1 | 16 | 12 | 0 | 4 |
| Markdown | 163 | 4644 | 0 | 3233 | 1411 |
Top language: Rust 80.6%. Generated on .
huggingface/candle: 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.
huggingface/candle has 217,299 lines of code, plus 11,715 comment lines and 27,426 blank lines, for 256,440 total lines at commit c68b24997319 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit c68b24997319, 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 c68b24997319b8d76e5a4e775dab197c7f26322a at commit c68b24997319 on November 15, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for huggingface/candle on this page — 217,299 code lines across 16 languages, counted by tokei.