huggingface/text-generation-inference has 150,835 source lines of code out of 177,291 total lines across 708 files, counted from the main ref at commit b4adbf2f6e2e by the OctoCounts tokei engine on 2026-10-16. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
huggingface/text-generation-inference: 150,835 code lines at commit b4adbf2f6e2e, counted with tokei-14.0.0 on 2026-10-16. Saved result 57fa9e2e77160e89928fe451f90b1c32c7fc59100ca2af8ba14c25db49b29ddf.
OctoCounts produced this report by resolving huggingface/text-generation-inference to commit b4adbf2f6e2e, 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.
This is a large codebase by counted code lines. Code represents 85.1% of all lines, comments represent 5.6%, and the repository averages 213 code lines per file. Python accounts for 56.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 348 | 103849 | 85064 | 5610 | 13175 |
| JSON | 205 | 41892 | 41892 | 0 | 0 |
| Rust | 64 | 22606 | 19242 | 1130 | 2234 |
| CUDA | 9 | 1978 | 1454 | 222 | 302 |
| TOML | 18 | 734 | 662 | 4 | 68 |
| Nix | 8 | 657 | 548 | 67 | 42 |
| C++ | 3 | 472 | 372 | 19 | 81 |
| C++ Header | 3 | 503 | 327 | 105 | 71 |
| Shell | 7 | 353 | 304 | 17 | 32 |
| Protocol Buffers | 2 | 525 | 299 | 167 | 59 |
| Makefile | 8 | 337 | 235 | 27 | 75 |
| Dockerfile | 1 | 250 | 149 | 48 | 53 |
| CMake | 4 | 191 | 138 | 20 | 33 |
| JavaScript | 2 | 188 | 114 | 54 | 20 |
| C Header | 3 | 40 | 30 | 1 | 9 |
| INI | 1 | 5 | 5 | 0 | 0 |
| Markdown | 13 | 933 | 0 | 639 | 294 |
| Plain Text | 9 | 1778 | 0 | 1778 | 0 |
Top language (Python 56.4%). Generated at .
huggingface/text-generation-inference has 177,291 total lines, including 150,835 code lines, 9,908 comment lines, and 16,548 blank lines.
OctoCounts resolved the public GitHub repository to commit b4adbf2f6e2e, 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 main at commit b4adbf2f6e2e on 2026-10-16T14:15:45.617167409Z.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for huggingface/text-generation-inference on this page — 150,835 code lines across 18 languages, counted by tokei.