huggingface / optimum-tpu
Unit Size

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

Intro
Learn more...
Unit Size Overall
3% | 6% | 23% | 22% | 43%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
py3% | 6% | 23% | 22% | 43%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
text-generation-inference10% | 11% | 21% | 12% | 44%
optimum0% | 3% | 24% | 28% | 43%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
106 33 2
64 21 2
59 3 5
51 12 2
42 11 4
39 14 2
36 9 2
34 3 6
34 3 6
33 4 6
31 6 4
31 8 4
31 8 4
30 19 2
29 7 4
29 1 4
26 2 4
26 4 1
23 8 1
22 1 2
22 1 2
22 4 1
22 8 2
22 5 4
21 4 2
21 5 4
21 5 4
20 2 3
20 8 2
20 3 2
19 5 4
19 6 2
18 5 3
18 5 2
18 4 2
17 1 1
16 1 4
16 1 4
16 4 4
16 5 4
15 5 4
15 1 0
15 5 2
14 1 1
14 1 1
14 1 1
14 1 4
13 3 3
13 1 0
13 1 0