huggingface / bitsandbytes_testing
Duplication

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

Intro
Learn more...
Duplication Overall
system28% (3,659 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
py39% (2,674 lines)
cu20% (888 lines)
metal56% (58 lines)
cuh9% (25 lines)
cpp4% (14 lines)
Duplication per Component (primary)
bitsandbytes41% (2,635 lines)
csrc19% (985 lines)
benchmarking10% (33 lines)
ROOT3% (6 lines)
include0% (0 lines)
scripts0% (0 lines)
Longest Duplicates
The list of 50 longest duplicates.
See data for all 635 duplicates...
Size#FoldersFilesLinesCode
59 x 2 bitsandbytes/triton
bitsandbytes/triton
8:80 (35%)
8:80 (35%)
view
50 x 2 csrc
csrc
170:221 (1%)
224:276 (1%)
view
35 x 2 bitsandbytes/optim
bitsandbytes/optim
399:441 (6%)
618:660 (6%)
view
33 x 2 bitsandbytes/triton
bitsandbytes/triton
92:130 (19%)
92:130 (19%)
view
31 x 2 bitsandbytes/optim
bitsandbytes/optim
9:66 (26%)
144:201 (26%)
view
30 x 2 bitsandbytes/optim
bitsandbytes/optim
469:504 (5%)
680:715 (5%)
view
27 x 2 bitsandbytes/optim
bitsandbytes/optim
78:133 (8%)
261:316 (8%)
view
27 x 2 csrc
csrc
3254:3286 (<1%)
3469:3501 (<1%)
view
27 x 2 bitsandbytes/optim
bitsandbytes/optim
139:194 (8%)
322:377 (8%)
view
27 x 2 bitsandbytes/optim
bitsandbytes/optim
17:72 (8%)
200:255 (8%)
view
25 x 2 csrc
csrc
372:396 (<1%)
46:70 (24%)
view
25 x 2 bitsandbytes/optim
bitsandbytes/optim
73:126 (25%)
136:190 (25%)
view
24 x 2 bitsandbytes/triton
bitsandbytes/triton
133:163 (14%)
133:162 (14%)
view
23 x 2 bitsandbytes/optim
bitsandbytes/optim
76:129 (24%)
140:193 (24%)
view
22 x 2 bitsandbytes/optim
bitsandbytes/optim
85:135 (6%)
77:127 (12%)
view
22 x 2 bitsandbytes/optim
bitsandbytes/optim
78:128 (6%)
139:189 (6%)
view
22 x 2 bitsandbytes/optim
bitsandbytes/optim
78:128 (6%)
200:250 (6%)
view
22 x 2 bitsandbytes/optim
bitsandbytes/optim
68:114 (25%)
124:170 (25%)
view
22 x 2 bitsandbytes/optim
bitsandbytes/optim
261:311 (6%)
322:372 (6%)
view
22 x 2 bitsandbytes/optim
bitsandbytes/optim
200:250 (6%)
322:372 (6%)
view
22 x 2 bitsandbytes/optim
bitsandbytes/optim
200:250 (6%)
261:311 (6%)
view
22 x 2 bitsandbytes/optim
bitsandbytes/optim
17:67 (6%)
261:311 (6%)
view
22 x 2 bitsandbytes/optim
bitsandbytes/optim
17:67 (6%)
322:372 (6%)
view
22 x 2 bitsandbytes/optim
bitsandbytes/optim
146:196 (6%)
138:188 (12%)
view
22 x 2 bitsandbytes/optim
bitsandbytes/optim
9:59 (12%)
70:120 (12%)
view
22 x 2 bitsandbytes/optim
bitsandbytes/optim
9:59 (12%)
131:181 (12%)
view
22 x 2 bitsandbytes/optim
bitsandbytes/optim
139:189 (6%)
261:311 (6%)
view
22 x 2 bitsandbytes/optim
bitsandbytes/optim
72:118 (13%)
129:175 (13%)
view
22 x 2 bitsandbytes/optim
bitsandbytes/optim
17:67 (6%)
78:128 (6%)
view
22 x 2 bitsandbytes/optim
bitsandbytes/optim
17:67 (6%)
139:189 (6%)
view
22 x 2 bitsandbytes
bitsandbytes
1697:1718 (1%)
1721:1742 (1%)
view
22 x 2 bitsandbytes/optim
bitsandbytes/optim
24:74 (6%)
16:66 (12%)
view
22 x 2 bitsandbytes/optim
bitsandbytes/optim
78:128 (6%)
322:372 (6%)
view
22 x 2 bitsandbytes/optim
bitsandbytes/optim
139:189 (6%)
200:250 (6%)
view
22 x 2 bitsandbytes/optim
bitsandbytes/optim
70:120 (12%)
131:181 (12%)
view
21 x 2 bitsandbytes/optim
bitsandbytes/optim
252:301 (11%)
312:361 (11%)
view
21 x 2 bitsandbytes/autograd
bitsandbytes/research/autograd
429:456 (5%)
313:341 (7%)
view
21 x 2 bitsandbytes/triton
bitsandbytes/triton
185:205 (12%)
186:206 (12%)
view
21 x 2 bitsandbytes/optim
bitsandbytes/optim
192:241 (11%)
312:361 (11%)
view
21 x 2 bitsandbytes/optim
bitsandbytes/optim
192:241 (11%)
252:301 (11%)
view
20 x 2 bitsandbytes/optim
bitsandbytes/optim
329:377 (6%)
138:186 (11%)
view
20 x 2 bitsandbytes/optim
bitsandbytes/optim
207:255 (6%)
16:64 (11%)
view
20 x 2 bitsandbytes/research/autograd
bitsandbytes/research/autograd
41:71 (7%)
125:155 (7%)
view
20 x 2 bitsandbytes/triton
bitsandbytes/triton
10:35 (41%)
10:35 (40%)
view
20 x 2 bitsandbytes/optim
bitsandbytes/optim
268:316 (6%)
77:125 (11%)
view
19 x 2 bitsandbytes/optim
bitsandbytes/optim
64:105 (11%)
116:157 (11%)
view
18 x 2 csrc
csrc
447:465 (<1%)
492:510 (<1%)
view
18 x 2 csrc
csrc
1028:1049 (<1%)
1193:1214 (<1%)
view
18 x 2 bitsandbytes/nn
bitsandbytes/nn
97:124 (3%)
179:206 (3%)
view
18 x 2 csrc
csrc
3175:3196 (<1%)
3398:3419 (<1%)
view