huggingface / accelerate
Conditional Complexity

The distribution of complexity of units (measured with McCabe index).

Intro
Learn more...
Conditional Complexity Overall
11% | 8% | 21% | 22% | 36%
Legend:
51+
26-50
11-25
6-10
1-5
Alternative Visuals
Conditional Complexity per Extension
51+
26-50
11-25
6-10
1-5
py11% | 8% | 21% | 22% | 36%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src13% | 9% | 17% | 24% | 34%
manim_animations0% | 0% | 88% | 5% | 6%
utils0% | 0% | 100% | 0% | 0%
benchmarks0% | 0% | 0% | 24% | 75%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
772 100 0
241 86 2
170 86 1
160 78 1
193 65 4
140 51 1
95 46 4
97 46 3
119 46 3
127 44 1
101 39 1
92 35 2
91 34 1
55 33 1
71 30 2
69 30 2
94 29 4
37 28 2
57 27 2
81 26 4
40 25 2
51 24 1
41 23 1
52 23 4
65 23 1
46 21 4
162 20 1
171 20 1
33 19 4
37 19 2
34 19 1
56 19 1
46 19 3
33 18 1
43 18 3
47 18 2
53 17 1
13 17 5
83 17 2
23 16 1
27 16 1
34 15 2
59 15 6
45 15 2
33 15 2
61 15 2
152 15 1
30 14 0
26 14 2
26 14 3