# tinygrad/tinygrad SLOC report

> As of 2026-09-17 (commit 107adc31701d), tinygrad/tinygrad contains 467,851 total lines: 411,613 code, 29,739 comments, 26,499 blank, across 879 files in 20 languages (top: Python 69.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

tinygrad/tinygrad has 411,613 source lines of code out of 467,851 total lines across 879 files, counted from the 107adc31701df0247dfa45e175984df906a68b53 ref at commit 107adc31701d by the OctoCounts tokei engine on 2026-09-17. 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 tinygrad/tinygrad to commit 107adc31701d, 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 88.0% of all lines, comments represent 6.4%, and the repository averages 468 code lines per file. Python accounts for 69.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 458 | 302,797 | 287,085 | 4,996 | 10,716 |
| C Header | 52 | 122,391 | 93,870 | 16,885 | 11,636 |
| C++ | 35 | 9,225 | 7,594 | 761 | 870 |
| JavaScript | 16 | 5,317 | 4,927 | 188 | 202 |
| Metal Shading Language | 75 | 9,983 | 4,760 | 4,373 | 850 |
| CUDA | 13 | 4,442 | 3,577 | 444 | 421 |
| GNU Style Assembly | 1 | 2,423 | 2,328 | 0 | 95 |
| Shell | 141 | 3,007 | 2,015 | 294 | 698 |
| XML | 1 | 2,334 | 1,998 | 216 | 120 |
| JSON | 23 | 896 | 896 | 0 | 0 |
| CSS | 7 | 760 | 613 | 37 | 110 |
| C | 4 | 623 | 478 | 45 | 100 |

Top language (Python 69.7%). Generated at 2026-09-17T18:15:03.768553423+00:00. Canonical report: https://octocounts.com/github/tinygrad/tinygrad

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/tinygrad/tinygrad/commit/107adc31701df0247dfa45e175984df906a68b53?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 tinygrad/tinygrad have?

tinygrad/tinygrad has 467,851 total lines, including 411,613 code lines, 29,739 comment lines, and 26,499 blank lines.

### How was the tinygrad/tinygrad line count measured?

OctoCounts resolved the public GitHub repository to commit 107adc31701d, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for tinygrad/tinygrad?

This OctoCounts report was generated from 107adc31701df0247dfa45e175984df906a68b53 at commit 107adc31701d on 2026-09-17T18:15:03.768553423+00:00.

## Similar repository reports

- [Mai-with-u/MaiBot](https://octocounts.com/github/Mai-with-u/MaiBot) — Python, 410,762 code lines
- [lightseekorg/tokenspeed](https://octocounts.com/github/lightseekorg/tokenspeed) — Python, 395,517 code lines
- [rlaope/oh-my-hermes](https://octocounts.com/github/rlaope/oh-my-hermes) — Python, 394,862 code lines
- [repowise-dev/repowise](https://octocounts.com/github/repowise-dev/repowise) — Python, 429,609 code lines
- [numpy/numpy](https://octocounts.com/github/numpy/numpy) — Python, 436,444 code lines
- [HKUDS/DeepTutor](https://octocounts.com/github/HKUDS/DeepTutor) — Python, 438,547 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)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [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)
