huggingface / optimum-benchmark
Duplication

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

Intro
Learn more...
Duplication Overall
system20% (1,375 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
py17% (1,139 lines)
yaml63% (236 lines)
Duplication per Component (primary)
optimum_benchmark18% (1,139 lines)
energy_star63% (236 lines)
ROOT0% (0 lines)
scripts0% (0 lines)
Longest Duplicates
The list of 50 longest duplicates.
See data for all 336 duplicates...
Size#FoldersFilesLinesCode
29 x 2 optimum_benchmark/launchers/process
optimum_benchmark/launchers/torchrun
35:73 (29%)
55:93 (18%)
view
28 x 2 optimum_benchmark/preprocessors
optimum_benchmark/preprocessors
51:85 (7%)
89:123 (7%)
view
28 x 2 optimum_benchmark/preprocessors
optimum_benchmark/preprocessors
13:47 (7%)
51:85 (7%)
view
28 x 2 optimum_benchmark/preprocessors
optimum_benchmark/preprocessors
13:47 (7%)
89:123 (7%)
view
23 x 2 optimum_benchmark/scenarios/energy_star
optimum_benchmark/scenarios/inference
16:39 (8%)
23:46 (6%)
view
22 x 2 optimum_benchmark/backends/tensorrt_llm
optimum_benchmark/backends/vllm
25:50 (26%)
26:51 (24%)
view
20 x 2 optimum_benchmark/scenarios/energy_star
optimum_benchmark/scenarios/inference
80:101 (28%)
81:102 (25%)
view
18 x 2 optimum_benchmark/backends/py_txi
optimum_benchmark/backends/vllm
19:39 (16%)
26:46 (20%)
view
18 x 2 optimum_benchmark/backends/py_txi
optimum_benchmark/backends/tensorrt_llm
19:39 (16%)
25:45 (21%)
view
15 x 2 optimum_benchmark/trackers
optimum_benchmark/trackers
338:355 (3%)
515:532 (3%)
view
15 x 2 optimum_benchmark/trackers
optimum_benchmark/trackers
245:262 (3%)
338:355 (3%)
view
15 x 2 optimum_benchmark/trackers
optimum_benchmark/trackers
270:286 (3%)
634:650 (3%)
view
15 x 2 optimum_benchmark/trackers
optimum_benchmark/trackers
245:262 (3%)
515:532 (3%)
view
14 x 2 optimum_benchmark/launchers/process
optimum_benchmark/launchers/torchrun
108:122 (14%)
139:153 (9%)
view
14 x 2 optimum_benchmark/backends
optimum_benchmark/backends
54:68 (29%)
145:159 (8%)
view
14 x 2 optimum_benchmark/launchers/process
optimum_benchmark/launchers/torchrun
89:106 (14%)
118:135 (9%)
view
14 x 2 optimum_benchmark/scenarios/energy_star
optimum_benchmark/scenarios/inference
90:103 (5%)
109:123 (3%)
view
13 x 2 optimum_benchmark/preprocessors
optimum_benchmark/preprocessors
89:105 (3%)
267:283 (3%)
view
13 x 2 optimum_benchmark/preprocessors
optimum_benchmark/preprocessors
51:67 (3%)
267:283 (3%)
view
13 x 2 optimum_benchmark/preprocessors
optimum_benchmark/preprocessors
13:29 (3%)
267:283 (3%)
view
12 x 2 optimum_benchmark/preprocessors
optimum_benchmark/preprocessors
110:123 (3%)
154:167 (3%)
view
12 x 2 optimum_benchmark/preprocessors
optimum_benchmark/preprocessors
110:123 (3%)
433:446 (3%)
view
12 x 2 optimum_benchmark/preprocessors
optimum_benchmark/preprocessors
34:47 (3%)
154:167 (3%)
view
12 x 2 optimum_benchmark/preprocessors
optimum_benchmark/preprocessors
34:47 (3%)
433:446 (3%)
view
12 x 2 optimum_benchmark/generators
optimum_benchmark/generators
108:125 (3%)
136:153 (3%)
view
12 x 2 optimum_benchmark/preprocessors
optimum_benchmark/preprocessors
72:85 (3%)
433:446 (3%)
view
12 x 2 optimum_benchmark/preprocessors
optimum_benchmark/preprocessors
72:85 (3%)
154:167 (3%)
view
12 x 2 optimum_benchmark/preprocessors
optimum_benchmark/preprocessors
154:167 (3%)
433:446 (3%)
view
11 x 2 optimum_benchmark/trackers
optimum_benchmark/trackers
161:171 (6%)
129:139 (3%)
view
10 x 2 optimum_benchmark/preprocessors
optimum_benchmark/preprocessors
74:85 (2%)
292:303 (2%)
view
10 x 2 energy_star
energy_star
11:22 (34%)
11:22 (34%)
view
10 x 2 optimum_benchmark/preprocessors
optimum_benchmark/preprocessors
156:167 (2%)
292:303 (2%)
view
10 x 2 optimum_benchmark/preprocessors
optimum_benchmark/preprocessors
112:123 (2%)
292:303 (2%)
view
10 x 2 optimum_benchmark/preprocessors
optimum_benchmark/preprocessors
292:303 (2%)
435:446 (2%)
view
10 x 2 energy_star
energy_star
11:22 (37%)
11:22 (34%)
view
10 x 2 optimum_benchmark/preprocessors
optimum_benchmark/preprocessors
36:47 (2%)
292:303 (2%)
view
10 x 2 energy_star
energy_star
11:22 (37%)
11:22 (34%)
view
10 x 2 energy_star
energy_star
11:22 (34%)
11:22 (34%)
view
10 x 2 energy_star
energy_star
11:22 (34%)
11:22 (34%)
view
10 x 2 energy_star
energy_star
11:22 (37%)
11:22 (34%)
view
9 x 2 optimum_benchmark/trackers
optimum_benchmark/trackers
213:224 (1%)
600:611 (1%)
view
9 x 2 optimum_benchmark/generators
optimum_benchmark/generators
110:122 (2%)
214:226 (2%)
view
9 x 2 optimum_benchmark/trackers
optimum_benchmark/trackers
85:95 (5%)
132:142 (5%)
view
9 x 2 optimum_benchmark/trackers
optimum_benchmark/trackers
85:95 (5%)
150:160 (1%)
view
9 x 2 optimum_benchmark/generators
optimum_benchmark/generators
138:150 (2%)
214:226 (2%)
view
9 x 2 optimum_benchmark/generators
optimum_benchmark/generators
101:111 (2%)
282:292 (2%)
view
9 x 2 optimum_benchmark/preprocessors
optimum_benchmark/preprocessors
139:151 (2%)
418:430 (2%)
view
9 x 2 optimum_benchmark/backends/ipex
optimum_benchmark/backends/openvino
84:96 (15%)
115:127 (10%)
view
9 x 2 optimum_benchmark/preprocessors
optimum_benchmark/preprocessors
307:317 (2%)
334:344 (2%)
view
9 x 2 optimum_benchmark/trackers
optimum_benchmark/trackers
132:142 (5%)
150:160 (1%)
view