huggingface / accelerate
Unit Size

The distribution of size of units (measured in lines of code).

Intro
Learn more...
Unit Size Overall
25% | 13% | 27% | 16% | 17%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
py25% | 13% | 27% | 16% | 17%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
src23% | 13% | 25% | 17% | 20%
manim_animations81% | 12% | 2% | 3% | 0%
benchmarks0% | 17% | 61% | 11% | 9%
utils0% | 0% | 100% | 0% | 0%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
772 100 0
605 6 1
241 86 2
193 65 4
171 20 1
170 86 1
164 14 0
162 20 1
160 78 1
159 12 1
152 15 1
140 51 1
139 11 1
127 44 1
119 46 3
112 14 1
111 14 1
101 39 1
97 46 3
95 46 4
94 29 4
92 35 2
91 34 1
84 11 1
83 17 2
81 26 4
76 6 1
71 30 2
69 30 2
69 8 1
68 7 1
65 23 1
61 15 2
59 15 6
57 4 2
57 27 2
57 3 1
56 19 1
55 33 1
53 10 0
53 17 1
53 10 2
53 8 2
52 23 4
52 13 3
52 11 1
51 24 1
51 14 4
50 8 4
49 2 1