# huggingface/candle SLOC report

> As of 2026-10-03 (commit c68b24997319), huggingface/candle contains 256,440 total lines: 217,299 code, 11,715 comments, 27,426 blank, across 1,054 files in 16 languages (top: Rust 80.6%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

huggingface/candle has 217,299 source lines of code out of 256,440 total lines across 1,054 files, counted from the main ref at commit c68b24997319 by the OctoCounts tokei engine on 2026-10-03. 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 c68b24997319, 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.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 |

Top language (Rust 80.6%). Generated at 2026-10-03T13:35:20.148056991+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/c68b24997319b8d76e5a4e775dab197c7f26322a?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 256,440 total lines, including 217,299 code lines, 11,715 comment lines, and 27,426 blank lines.

### 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 main at commit c68b24997319 on 2026-10-03T13:35:20.148056991+00:00.

## Similar repository reports

- [BigPizzaV3/CodexPlusPlus](https://octocounts.com/github/BigPizzaV3/CodexPlusPlus) — Rust, 220,401 code lines
- [pbakaus/impeccable](https://octocounts.com/github/pbakaus/impeccable) — Rust, 221,786 code lines
- [zyycn/codex-proxy-rs](https://octocounts.com/github/zyycn/codex-proxy-rs) — Rust, 211,720 code lines
- [zhukunpenglinyutong/desktop-cc-gui](https://octocounts.com/github/zhukunpenglinyutong/desktop-cc-gui) — Rust, 223,124 code lines
- [microsoft/mxc](https://octocounts.com/github/microsoft/mxc) — Rust, 208,652 code lines
- [UniClipboard/UniClipboard](https://octocounts.com/github/UniClipboard/UniClipboard) — Rust, 226,952 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)
