huggingface / safetensors
File Size

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

Intro
Learn more...
File Size Overall
54% | 0% | 19% | 6% | 19%
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
rs83% | 0% | 9% | 4% | 3%
py0% | 0% | 49% | 12% | 38%
toml0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
nix0% | 0% | 0% | 0% | 100%
pyi0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
safetensors75% | 0% | 15% | 0% | 8%
bindings45% | 0% | 24% | 11% | 18%
attacks0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 42)
File# lines# units
tensor.rs
in safetensors/src
1260 49
lib.rs
in bindings/python/src
1127 24
torch.py
in bindings/python/py_src/safetensors
318 17
convert.py
in bindings/python
289 11
slice.rs
in safetensors/src
260 10
stub.py
in bindings/python
155 9
view.rs
in bindings/python/src
130 5
pyproject.toml
in bindings/python
99 -
numpy.py
in bindings/python/py_src/safetensors
65 8
cfg
setup.cfg
in bindings/python
52 -
47 3
benchmark.rs
in safetensors/benches
45 1
nix
flake.nix
in root
39 -
convert_all.py
in bindings/python
36 -
lib.rs
in safetensors/src
35 -
Cargo.toml
in safetensors
35 -
flax.py
in bindings/python/py_src/safetensors
33 6
mlx.py
in bindings/python/py_src/safetensors
33 6
tensorflow.py
in bindings/python/py_src/safetensors
32 6
paddle.py
in bindings/python/py_src/safetensors
30 6
fuzz.py
in bindings/python
25 1
pyi
__init__.pyi
in bindings/python/py_src/safetensors
25 10
23 1
Cargo.toml
in safetensors/fuzz
21 -
21 1
20 2
16 -
Cargo.toml
in bindings/python
15 -
13 1
12 -
12 -
12 -
9 1
9 1
__init__.py
in bindings/python/py_src/safetensors
8 -
8 -
in
MANIFEST.in
in bindings/python
7 -
fuzz_target_1.rs
in safetensors/fuzz/fuzz_targets
6 -
5 -
5 -
2 -
1 -
Files With Most Units (Top 22)
File# lines# units
tensor.rs
in safetensors/src
1260 49
lib.rs
in bindings/python/src
1127 24
torch.py
in bindings/python/py_src/safetensors
318 17
convert.py
in bindings/python
289 11
pyi
__init__.pyi
in bindings/python/py_src/safetensors
25 10
slice.rs
in safetensors/src
260 10
stub.py
in bindings/python
155 9
numpy.py
in bindings/python/py_src/safetensors
65 8
tensorflow.py
in bindings/python/py_src/safetensors
32 6
flax.py
in bindings/python/py_src/safetensors
33 6
paddle.py
in bindings/python/py_src/safetensors
30 6
mlx.py
in bindings/python/py_src/safetensors
33 6
view.rs
in bindings/python/src
130 5
47 3
20 2
fuzz.py
in bindings/python
25 1
benchmark.rs
in safetensors/benches
45 1
9 1
23 1
13 1
21 1
9 1
Files With Long Lines (Top 3)

There are 3 files with lines longer than 120 characters. In total, there are 16 long lines.

File# lines# units# long lines
tensor.rs
in safetensors/src
1260 49 12
convert.py
in bindings/python
289 11 3
slice.rs
in safetensors/src
260 10 1