huggingface / picotron_tutorial
Unit Size

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

Intro
Learn more...
Unit Size Overall
0% | 0% | 22% | 41% | 36%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
py0% | 0% | 22% | 41% | 36%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
step8_pipeline_parallel_1f1b0% | 0% | 33% | 31% | 34%
step7_pipeline_parallel_afab0% | 0% | 26% | 35% | 38%
step6_data_parallel_bucket0% | 0% | 20% | 39% | 39%
step5_data_parallel_naive0% | 0% | 19% | 45% | 34%
step4_tensor_parallel0% | 0% | 15% | 51% | 33%
step3_dataloader0% | 0% | 10% | 58% | 30%
step2_process_group_manager0% | 0% | 17% | 41% | 41%
step1_modeling0% | 0% | 0% | 52% | 48%
ROOT0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
48 12 5
38 5 1
38 5 1
38 5 1
38 5 1
38 5 1
30 15 1
30 15 1
30 15 1
28 10 4
28 26 5
28 10 4
28 10 4
28 10 4
28 26 5
28 10 4
28 10 4
28 10 4
26 2 11
26 2 11
26 2 11
26 2 11
24 6 5
24 6 5
23 14 5
19 2 5
19 2 6
19 2 5
19 2 6
19 2 6
19 2 5
19 2 6
19 2 6
19 2 5
19 2 6
19 2 5
19 2 6
19 2 5
19 2 6
18 3 4
18 3 4
18 3 4
18 2 10
18 3 4
18 2 10
18 3 4
18 3 4
17 4 3
17 2 5
17 6 2