huggingface / picotron_tutorial
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 1% | 4% | 12% | 81%
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
py0% | 1% | 4% | 12% | 81%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
step8_pipeline_parallel_1f1b0% | 3% | 13% | 11% | 71%
step7_pipeline_parallel_afab0% | 4% | 4% | 12% | 79%
step6_data_parallel_bucket0% | 0% | 5% | 9% | 85%
step5_data_parallel_naive0% | 0% | 0% | 9% | 90%
step4_tensor_parallel0% | 0% | 0% | 10% | 89%
step3_dataloader0% | 0% | 0% | 17% | 82%
step2_process_group_manager0% | 0% | 0% | 28% | 71%
step1_modeling0% | 0% | 0% | 13% | 86%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
28 26 5
28 26 5
30 15 1
30 15 1
30 15 1
23 14 5
48 12 5
28 10 4
28 10 4
28 10 4
28 10 4
28 10 4
28 10 4
28 10 4
12 6 3
17 6 2
24 6 5
17 6 2
17 6 2
12 6 3
17 6 2
24 6 5
17 6 2
17 6 2
17 6 2
12 6 3
17 6 2
8 5 4
38 5 1
7 5 3
38 5 1
8 5 4
38 5 1
7 5 3
38 5 1
8 5 4
38 5 1
17 4 3
10 4 2
12 4 1
12 4 1
6 4 4
17 4 3
10 4 2
12 4 1
12 4 1
17 4 3
10 4 2
12 4 1
12 4 1