huggingface / candle-extensions
Unit Size

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

Intro
Learn more...
Unit Size Overall
23% | 6% | 17% | 23% | 27%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
rs53% | 9% | 13% | 14% | 9%
h9% | 2% | 20% | 29% | 38%
cpp0% | 87% | 0% | 0% | 12%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
candle-flash-attn-v118% | 6% | 18% | 24% | 32%
candle-layer-norm50% | 11% | 11% | 10% | 15%
candle-rotary68% | 0% | 31% | 0% | 0%
candle-cublaslt0% | 0% | 14% | 67% | 17%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
230 55 6
153 19 8
144 9 0
134 8 0
123 15 5
103 12 5
67 15 1
61 9 0
61 2 19
61 9 0
49 5 1
47 2 0
44 21 1
42 9 1
38 9 2
35 7 1
31 1 0
31 9 3
31 1 0
28 3 5
26 3 1
24 1 0
24 11 1
24 11 1
24 10 1
23 7 3
22 9 1
22 10 1
22 3 1
22 7 2
21 5 0
21 1 2
20 5 3
20 4 2
20 14 1
20 3 1
20 3 1
19 10 2
19 9 2
18 1 7
18 4 2
18 7 1
17 6 2
17 7 1
17 3 1
17 2 6
17 5 4
16 1 7
16 1 5
16 1 5