# huggingface/candle SLOC report

> As of 2026-09-16 (commit ddf1b879dc3a), huggingface/candle contains 249,599 total lines: 211,013 code, 11,594 comments, 26,992 blank, across 1,051 files in 16 languages (top: Rust 80.2%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

huggingface/candle has 211,013 source lines of code out of 249,599 total lines across 1,051 files, counted from the ddf1b879dc3a1760cbcb3f3c4a7c6467850cec4a ref at commit ddf1b879dc3a by the OctoCounts tokei engine on 2026-09-16. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving huggingface/candle to commit ddf1b879dc3a, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a large codebase by counted code lines. Code represents 84.5% of all lines, comments represent 4.6%, and the repository averages 201 code lines per file. Rust accounts for 80.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 589 | 192,294 | 169,173 | 4,445 | 18,676 |
| Metal Shading Language | 17 | 16,943 | 13,803 | 829 | 2,311 |
| CUDA | 148 | 13,061 | 10,159 | 809 | 2,093 |
| 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 |

Top language (Rust 80.2%). Generated at 2026-09-16T20:47:23.038766770+00:00. Canonical report: https://octocounts.com/github/huggingface/candle

## Reproduce this report

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

## Report FAQ

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

huggingface/candle has 249,599 total lines, including 211,013 code lines, 11,594 comment lines, and 26,992 blank lines.

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

OctoCounts resolved the public GitHub repository to commit ddf1b879dc3a, 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 ddf1b879dc3a1760cbcb3f3c4a7c6467850cec4a at commit ddf1b879dc3a on 2026-09-16T20:47:23.038766770+00:00.

## Similar repository reports

- [microsoft/oxidizer](https://octocounts.com/github/microsoft/oxidizer) — Rust, 210,538 code lines
- [Ammar-Alnagar/Helios-Engine](https://octocounts.com/github/Ammar-Alnagar/Helios-Engine) — Rust, 206,091 code lines
- [Labpics-Team/lab-colors](https://octocounts.com/github/Labpics-Team/lab-colors) — Rust, 189,130 code lines
- [farion1231/cc-switch](https://octocounts.com/github/farion1231/cc-switch) — Rust, 234,174 code lines
- [Kuddev/pebrel](https://octocounts.com/github/Kuddev/pebrel) — Rust, 235,206 code lines
- [pacifio/atlas](https://octocounts.com/github/pacifio/atlas) — Rust, 186,787 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)
- [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)
