huggingface / bitsandbytes_testing
File Size

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

Intro
Learn more...
File Size Overall
41% | 13% | 16% | 17% | 10%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
cu82% | 17% | 0% | 0% | 0%
py31% | 15% | 14% | 25% | 13%
h0% | 0% | 65% | 22% | 12%
cpp0% | 0% | 82% | 0% | 17%
cuh0% | 0% | 0% | 61% | 38%
metal0% | 0% | 0% | 100% | 0%
toml0% | 0% | 0% | 0% | 100%
jsonl0% | 0% | 0% | 0% | 100%
mm0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
csrc69% | 14% | 6% | 5% | 4%
bitsandbytes33% | 16% | 15% | 22% | 11%
include0% | 0% | 66% | 22% | 10%
benchmarking0% | 0% | 0% | 81% | 18%
ROOT0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
kernels.cu
in csrc
3505 -
functional.py
in bitsandbytes
2202 79
ops.cu
in csrc
740 -
modules.py
in bitsandbytes/nn
541 45
optimizer.py
in bitsandbytes/optim
532 25
SIMD.h
in include
470 124
_functions.py
in bitsandbytes/autograd
420 21
adam.py
in bitsandbytes/optim
322 10
314 98
281 16
_functions.py
in bitsandbytes/research/autograd
274 11
Algo-Direct2.h
in include
215 7
adamw.py
in bitsandbytes/optim
178 6
triton_based_modules.py
in bitsandbytes/nn
178 12
Type.h
in include
171 12
int8_matmul_rowwise_dequantize.py
in bitsandbytes/triton
171 5
int8_matmul_mixed_dequantize.py
in bitsandbytes/triton
171 5
lars.py
in bitsandbytes/optim
169 6
lion.py
in bitsandbytes/optim
162 6
Portable.h
in include
157 11
ops.cuh
in csrc
157 -
speed_benchmark.py
in benchmarking/switchback
134 1
make_plot_with_jsonl.py
in benchmarking/switchback
126 -
utils.py
in bitsandbytes
126 12
adagrad.py
in bitsandbytes/optim
116 3
cuda.py
in bitsandbytes/diagnostics
109 6
quantize_global.py
in bitsandbytes/triton
105 6
metal
103 -
99 -
rmsprop.py
in bitsandbytes/optim
98 3
lamb.py
in bitsandbytes/optim
95 3
sgd.py
in bitsandbytes/optim
89 3
83 2
cextension.py
in bitsandbytes
67 5
BinAlgo.h
in include
64 2
main.py
in bitsandbytes/diagnostics
64 2
AAlloc.h
in include
63 7
modules.py
in bitsandbytes/research/nn
63 4
63 3
jsonl
info_a100_py2.jsonl
in benchmarking/switchback
60 -
quantize_rowwise.py
in bitsandbytes/triton
55 3
mps_ops.mm
in csrc
54 2
54 -
dequantize_rowwise.py
in bitsandbytes/triton
53 3
48 2
setup.py
in root
36 2
stale.py
in scripts
33 1
cuda_specs.py
in bitsandbytes
27 5
AlgoXCodes.h
in include
23 -
common.h
in csrc
18 -
Files With Most Units (Top 43)
File# lines# units
SIMD.h
in include
470 124
314 98
functional.py
in bitsandbytes
2202 79
modules.py
in bitsandbytes/nn
541 45
optimizer.py
in bitsandbytes/optim
532 25
_functions.py
in bitsandbytes/autograd
420 21
281 16
Type.h
in include
171 12
utils.py
in bitsandbytes
126 12
triton_based_modules.py
in bitsandbytes/nn
178 12
Portable.h
in include
157 11
_functions.py
in bitsandbytes/research/autograd
274 11
adam.py
in bitsandbytes/optim
322 10
Algo-Direct2.h
in include
215 7
AAlloc.h
in include
63 7
lion.py
in bitsandbytes/optim
162 6
lars.py
in bitsandbytes/optim
169 6
adamw.py
in bitsandbytes/optim
178 6
cuda.py
in bitsandbytes/diagnostics
109 6
quantize_global.py
in bitsandbytes/triton
105 6
cextension.py
in bitsandbytes
67 5
cuda_specs.py
in bitsandbytes
27 5
int8_matmul_rowwise_dequantize.py
in bitsandbytes/triton
171 5
int8_matmul_mixed_dequantize.py
in bitsandbytes/triton
171 5
modules.py
in bitsandbytes/research/nn
63 4
adagrad.py
in bitsandbytes/optim
116 3
rmsprop.py
in bitsandbytes/optim
98 3
sgd.py
in bitsandbytes/optim
89 3
lamb.py
in bitsandbytes/optim
95 3
dequantize_rowwise.py
in bitsandbytes/triton
53 3
quantize_rowwise.py
in bitsandbytes/triton
55 3
63 3
BinAlgo.h
in include
64 2
48 2
mps_ops.mm
in csrc
54 2
setup.py
in root
36 2
main.py
in bitsandbytes/diagnostics
64 2
utils.py
in bitsandbytes/diagnostics
7 2
83 2
stale.py
in scripts
33 1
speed_benchmark.py
in benchmarking/switchback
134 1
common.cpp
in csrc
18 1
triton_utils.py
in bitsandbytes/triton
3 1
Files With Long Lines (Top 17)

There are 17 files with lines longer than 120 characters. In total, there are 513 long lines.

File# lines# units# long lines
kernels.cu
in csrc
3505 - 137
314 98 107
ops.cu
in csrc
740 - 102
jsonl
info_a100_py2.jsonl
in benchmarking/switchback
60 - 60
SIMD.h
in include
470 124 55
99 - 17
ops.cuh
in csrc
157 - 14
functional.py
in bitsandbytes
2202 79 6
modules.py
in bitsandbytes/nn
541 45 4
281 16 3
make_plot_with_jsonl.py
in benchmarking/switchback
126 - 2
Algo-Direct2.h
in include
215 7 1
Portable.h
in include
157 11 1
metal
103 - 1
_functions.py
in bitsandbytes/autograd
420 21 1
cextension.py
in bitsandbytes
67 5 1
83 2 1