huggingface / huggingface-llama-recipes
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 9 components.
  • 24 files, 19,943 LOC (100.0% vs. main code).
  • "llama_guard" is biggest, containing 40.89% of LOC.
  • "api_inference" is smallest, containing 0.87% of LOC.


llama_guard8155 LOC (40%) 3 files
llama_rag7687 LOC (38%) 1 file
gradio_demos1368 LOC (6%) 2 files
local_inference1008 LOC (5%) 6 files
ROOT501 LOC (2%) 1 file
fine_tune429 LOC (2%) 3 files
assisted_decoding376 LOC (1%) 2 files
performance_optimization245 LOC (1%) 5 files
api_inference174 LOC (<1%) 1 file
Component Commits
Components ordered by number of commits
Total Commits per Component
All commits, some commits may include files from multiple components.
llama_guard9 commits (6%)
performance_optimization4 commits (3%)
local_inference3 commits (2%)
api_inference3 commits (2%)
llama_rag2 commits (1%)
fine_tune2 commits (1%)
assisted_decoding2 commits (1%)
ROOT1 commits (<1%)
gradio_demos1 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
local_inference
13
performance_optimization
12
llama_guard
1
8
fine_tune
6
assisted_decoding
4
api_inference
3
llama_rag
2
gradio_demos
2
ROOT
1


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...

No temporal dependencies found.



2025-06-30 09:09