alibaba / ChatLearn
Duplication

Places in code with 6 or more lines that are exactly the same.

Intro
Learn more...
Duplication Overall
system17% (2,652 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
py17% (2,652 lines)
Duplication per Component (primary)
chatlearn17% (2,652 lines)
ROOT0% (0 lines)
Longest Duplicates
The list of 50 longest duplicates.
See data for all 177 duplicates...
Size#FoldersFilesLinesCode
40 x 2 chatlearn/models/megatron/memory_manager
chatlearn/models/megatron/memory_manager
82:140 (19%)
87:145 (21%)
view
39 x 2 chatlearn/models/vllm/hooks/vllm_0_6_3
chatlearn/models/vllm/hooks/vllm_0_6_6
155:222 (33%)
188:253 (30%)
view
39 x 2 chatlearn/models/megatron/lora
chatlearn/models/megatron/lora
114:168 (6%)
243:297 (6%)
view
36 x 2 chatlearn/models
chatlearn/models
919:961 (4%)
234:277 (8%)
view
32 x 2 chatlearn/models/vllm/hooks/vllm_0_6_3
chatlearn/models/vllm/hooks/vllm_0_6_6
36:74 (52%)
37:75 (57%)
view
29 x 2 chatlearn/models/vllm/hooks/vllm_0_6_6
chatlearn/models/vllm/hooks/vllm_0_6_6
481:514 (7%)
409:441 (6%)
view
29 x 2 chatlearn/models/megatron/memory_manager
chatlearn/models/vllm
35:77 (82%)
29:71 (90%)
view
27 x 2 chatlearn/models/megatron/memory_manager
chatlearn/models/megatron/memory_manager
174:211 (12%)
172:209 (14%)
view
27 x 2 chatlearn/models/megatron/memory_manager
chatlearn/models/megatron/memory_manager
195:232 (15%)
172:209 (14%)
view
27 x 2 chatlearn/models/megatron/memory_manager
chatlearn/models/megatron/memory_manager
174:211 (12%)
195:232 (15%)
view
26 x 2 chatlearn/models/megatron/lora
chatlearn/models/megatron/lora
258:295 (4%)
382:419 (4%)
view
26 x 2 chatlearn/models/megatron/lora
chatlearn/models/megatron/lora
129:166 (4%)
382:419 (4%)
view
23 x 2 chatlearn/runtime
chatlearn/runtime
265:306 (4%)
703:744 (4%)
view
23 x 2 chatlearn/models/vllm/hooks/vllm_0_6_6
chatlearn/models/vllm/hooks/vllm_0_6_6
338:361 (5%)
356:379 (5%)
view
20 x 2 chatlearn/runtime
chatlearn/runtime
714:744 (3%)
59:89 (8%)
view
20 x 2 chatlearn/runtime
chatlearn/runtime
276:306 (3%)
59:89 (8%)
view
19 x 2 chatlearn/models/megatron/memory_manager
chatlearn/models/megatron/memory_manager
37:55 (9%)
43:61 (10%)
view
19 x 2 chatlearn/models/megatron/memory_manager
chatlearn/models/megatron/memory_manager
38:56 (11%)
43:61 (10%)
view
19 x 2 chatlearn/models/megatron/memory_manager
chatlearn/models/megatron/memory_manager
37:55 (9%)
38:56 (11%)
view
19 x 2 chatlearn/models/megatron/lora
chatlearn/models/megatron/lora
490:517 (3%)
599:626 (3%)
view
19 x 2 chatlearn/models/megatron/lora
chatlearn/models/megatron/lora
465:488 (3%)
573:596 (3%)
view
18 x 2 chatlearn/models/megatron/lora
chatlearn/models/megatron/lora
259:287 (3%)
479:507 (3%)
view
18 x 2 chatlearn/models/megatron/lora
chatlearn/models/megatron/lora
130:158 (3%)
479:507 (3%)
view
18 x 2 chatlearn/utils
chatlearn/utils
89:117 (16%)
627:654 (1%)
view
18 x 2 chatlearn/models/megatron/lora
chatlearn/models/megatron/lora
383:411 (3%)
479:507 (3%)
view
17 x 2 chatlearn/models/vllm/hooks/vllm_0_6_3
chatlearn/models/vllm/hooks/vllm_0_6_6
22:43 (100%)
24:46 (94%)
view
17 x 2 chatlearn/models/megatron/memory_manager
chatlearn/models/megatron/memory_manager
112:139 (10%)
110:135 (9%)
view
17 x 2 chatlearn/utils
chatlearn/utils
873:892 (1%)
1238:1258 (1%)
view
17 x 2 chatlearn/models/vllm/hooks/vllm_0_6_3
chatlearn/models/vllm/hooks/vllm_0_6_6
89:113 (27%)
88:114 (30%)
view
17 x 2 chatlearn/models/vllm/hooks/vllm_0_6_6
chatlearn/models/vllm/hooks/vllm_0_6_6
159:176 (4%)
205:222 (4%)
view
17 x 2 chatlearn/models/megatron/memory_manager
chatlearn/models/megatron/memory_manager
105:130 (8%)
112:139 (10%)
view
17 x 2 chatlearn/models/megatron/memory_manager
chatlearn/models/megatron/memory_manager
144:166 (8%)
146:168 (9%)
view
17 x 2 chatlearn/utils
chatlearn/utils
814:833 (1%)
995:1014 (1%)
view
16 x 2 chatlearn/runtime
chatlearn/runtime
235:251 (6%)
301:317 (6%)
view
16 x 2 chatlearn/models
chatlearn/models
446:463 (2%)
326:343 (3%)
view
16 x 2 chatlearn/utils
chatlearn/utils
811:828 (1%)
1179:1195 (1%)
view
16 x 2 chatlearn/models
chatlearn/models
108:127 (3%)
175:194 (3%)
view
16 x 2 chatlearn/models/vllm/hooks/vllm_0_6_3
chatlearn/models/vllm/hooks/vllm_0_6_6
112:135 (13%)
149:172 (12%)
view
16 x 2 chatlearn/models
chatlearn/models
388:407 (2%)
515:534 (3%)
view
14 x 2 chatlearn/utils
chatlearn/utils
215:238 (1%)
457:479 (1%)
view
14 x 2 chatlearn/utils
chatlearn/utils
995:1009 (1%)
1182:1195 (1%)
view
14 x 2 chatlearn/runtime
chatlearn/runtime
599:614 (2%)
638:653 (2%)
view
14 x 2 chatlearn/synchronizer
chatlearn/synchronizer
239:253 (<1%)
1620:1634 (<1%)
view
14 x 2 chatlearn/models/megatron/lora
chatlearn/models/megatron/lora
442:456 (2%)
558:571 (2%)
view
14 x 2 chatlearn/utils
chatlearn/utils
210:229 (1%)
298:317 (1%)
view
13 x 2 chatlearn/models/vllm/hooks/vllm_0_5_1
chatlearn/models/vllm/hooks/vllm_0_6_3
23:42 (100%)
23:42 (100%)
view
12 x 2 chatlearn/models/vllm/hooks/vllm_0_6_6
chatlearn/models/vllm/hooks/vllm_0_6_6
115:130 (2%)
163:178 (2%)
view
12 x 2 chatlearn/models
chatlearn/models
90:103 (2%)
159:172 (2%)
view
12 x 2 chatlearn/utils
chatlearn/utils
923:937 (1%)
1101:1115 (1%)
view
12 x 2 chatlearn/models
chatlearn/models
179:190 (1%)
193:204 (1%)
view
Duplicated Units
The list of top 2 duplicated units.
See data for all 2 unit duplicates...
Size#FoldersFilesLinesCode
20 x 2 chatlearn/models/vllm
chatlearn/models/megatron/memory_manager
0:0 
0:0 
view
11 x 2 chatlearn/models/vllm/hooks/vllm_0_5_1
chatlearn/models/vllm/hooks/vllm_0_6_3
0:0 
0:0 
view