# huggingface/candle SLOC report

> huggingface/candle: 217,299 code lines at commit c68b24997319, counted with tokei-15.0.0 on 2026-11-15. Saved result fb410cab9e599195b038776889034919a0d092d0b1f7ff14c6228d33b55eb714.

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.

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.

## Counting rules and retention

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.

## Repository size insights

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 | 198,686 | 175,060 | 4,550 | 19,076 |
| Metal Shading Language | 17 | 16,943 | 13,803 | 829 | 2,311 |
| CUDA | 148 | 13,510 | 10,558 | 825 | 2,127 |
| C Header | 26 | 7,815 | 5,192 | 1,689 | 934 |
| Python | 31 | 3,887 | 3,224 | 91 | 572 |
| C++ Header | 7 | 2,715 | 2,080 | 279 | 356 |
| HTML | 13 | 1,939 | 1,886 | 10 | 43 |
| JavaScript | 14 | 1,700 | 1,545 | 37 | 118 |
| C++ | 1 | 1,745 | 1,414 | 133 | 198 |
| TOML | 28 | 1,167 | 1,018 | 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 | 4,644 | 0 | 3,233 | 1,411 |

Top language: Rust 80.6%. Generated on November 15, 2026. Canonical report: https://octocounts.com/github/huggingface/candle/commit/c68b24997319b8d76e5a4e775dab197c7f26322a?reportId=fb410cab9e599195b038776889034919a0d092d0b1f7ff14c6228d33b55eb714&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/huggingface/candle/commit/c68b24997319b8d76e5a4e775dab197c7f26322a?reportId=fb410cab9e599195b038776889034919a0d092d0b1f7ff14c6228d33b55eb714&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does huggingface/candle have?

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.

### How was the huggingface/candle line count measured?

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.

### What commit was counted for huggingface/candle?

This OctoCounts report was generated from c68b24997319b8d76e5a4e775dab197c7f26322a at commit c68b24997319 on November 15, 2026.

## Similar repository reports

- [vicanso/zedis](https://octocounts.com/github/vicanso/zedis) — Rust, 219,098 code lines
- [storytold/wordcraft](https://octocounts.com/github/storytold/wordcraft) — Rust, 219,226 code lines
- [crmne/zapfast](https://octocounts.com/github/crmne/zapfast) — Rust, 214,457 code lines
- [seradotcom/motionwright](https://octocounts.com/github/seradotcom/motionwright) — Rust, 213,923 code lines
- [storytold/craft-anything](https://octocounts.com/github/storytold/craft-anything) — Rust, 210,418 code lines
- [vercel-labs/agent-browser](https://octocounts.com/github/vercel-labs/agent-browser) — Rust, 207,171 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
