huggingface / text-generation-inference
Components

An overview of source code logical components.

Intro

Logical decomposition is a representation of the organization of the main source code, where every and each file is put in exactly one logical component.

Logical Decompositions Overview

Analyzed system has 1 logical decomposition:

Logical Decomposition #1: PRIMARY

The decompositions is based on the folder structure at level 1 (relative to the source code root).

Bubble Chart | Tree Map
Component Sizes (Lines of Code)
The "primary" logical decomposition has 10 components.
  • 409 files, 98,155 LOC (100.0% vs. main code).
  • "server" is biggest, containing 47.31% of LOC.
  • "ROOT" is smallest, containing 0.41% of LOC.


server46441 LOC (47%) 183 files
backends39203 LOC (39%) 172 files
router6739 LOC (6%) 14 files
launcher1936 LOC (1%) 5 files
benchmark1160 LOC (1%) 8 files
clients959 LOC (<1%) 6 files
proto466 LOC (<1%) 2 files
load_tests433 LOC (<1%) 8 files
nix411 LOC (<1%) 6 files
ROOT407 LOC (<1%) 5 files
Component Commits
Components ordered by number of commits
Total Commits per Component
All commits, some commits may include files from multiple components.
server600 commits (42%)
router291 commits (20%)
launcher179 commits (12%)
ROOT157 commits (11%)
backends84 commits (5%)
clients43 commits (3%)
proto43 commits (3%)
nix37 commits (2%)
benchmark36 commits (2%)
load_tests11 commits (<1%)
Yearly File Updates Trend per Components
The number of file changes in commits
animated commit history: all time cumulative | 12 months window
2025 2024 2023 2022
server
200
1239
672
8
backends
392
145
router
68
274
148
41
ROOT
39
92
34
5
launcher
26
76
89
11
nix
19
22
clients
3
33
44
benchmark
36
30
load_tests
17
2
proto
12
26
6


Dependencies between components in same commits (past 180 days)
The number on the lines shows the number of shared commits.
See detailed temporal dependencies report...

G server server server--server 39 ROOT ROOT server--ROOT 13 launcher launcher server--launcher 9 nix nix server--nix 7 backends backends backends--server 3 backends--backends 38 router router backends--router 7 backends--ROOT 5 backends--nix 1 router--server 11 router--router 18 router--launcher 8 router--nix 3 ROOT--router 5 ROOT--ROOT 4 ROOT--launcher 3 launcher--backends 6 launcher--launcher 4 nix--ROOT 8 nix--launcher 1 nix--nix 2 clients clients clients--backends 1 clients--router 1 clients--nix 1


2025-06-30 09:00