├── .dockerignore ├── .github ├── ISSUE_TEMPLATE │ ├── bug-report.yml │ ├── config.yml │ └── feature-request.yml ├── PULL_REQUEST_TEMPLATE.md ├── conda │ ├── bld.bat │ ├── build.sh │ └── meta.yaml ├── stale.yml └── workflows │ ├── build_documentation.yml │ ├── build_pr_documentation.yml │ ├── codecov.yml │ ├── delete_doc_comment.yml │ ├── delete_doc_comment_trigger.yml │ ├── python-bench.yml │ ├── python-release-conda.yml │ ├── python-release.yml │ ├── python.yml │ ├── rust-release.yml │ ├── rust.yml │ ├── stale.yml │ ├── trufflehog.yml │ └── upload_pr_documentation.yml ├── .gitignore ├── .pre-commit-config.yaml ├── Dockerfile.s390x.test ├── LICENSE ├── Makefile ├── README.md ├── RELEASE.md ├── attacks ├── README.md ├── numpy_dos_create.py ├── numpy_dos_get_pwned.py ├── paddle_ace_create.py ├── paddle_ace_get_pwned.py ├── safetensors_abuse_attempt_1.py ├── safetensors_abuse_attempt_2.py ├── safetensors_abuse_attempt_3.py ├── tf_ace_create.py ├── tf_ace_get_pwned.py ├── tf_safe_ace_create.py ├── tf_safe_ace_get_pwned.py ├── torch_ace_create.py ├── torch_ace_get_pwned.py ├── torch_dos_create.py └── torch_dos_get_pwned.py ├── bindings └── python │ ├── .gitignore │ ├── Cargo.toml │ ├── LICENSE │ ├── MANIFEST.in │ ├── Makefile │ ├── README.md │ ├── benches │ ├── test_flax.py │ ├── test_mlx.py │ ├── test_paddle.py │ ├── test_pt.py │ └── test_tf.py │ ├── convert.py │ ├── convert_all.py │ ├── fuzz.py │ ├── py_src │ └── safetensors │ │ ├── __init__.py │ │ ├── __init__.pyi │ │ ├── flax.py │ │ ├── mlx.py │ │ ├── numpy.py │ │ ├── paddle.py │ │ ├── py.typed │ │ ├── tensorflow.py │ │ └── torch.py │ ├── pyproject.toml │ ├── setup.cfg │ ├── src │ ├── lib.rs │ └── view.rs │ ├── stub.py │ ├── tests │ ├── data │ │ └── __init__.py │ ├── test_flax_comparison.py │ ├── test_handle.py │ ├── test_mlx_comparison.py │ ├── test_paddle_comparison.py │ ├── test_pt_comparison.py │ ├── test_pt_model.py │ ├── test_simple.py │ └── test_tf_comparison.py │ └── uv.lock ├── codecov.yaml ├── codecov.yml ├── docs ├── safetensors.schema.json └── source │ ├── _toctree.yml │ ├── api │ ├── flax.mdx │ ├── numpy.mdx │ ├── paddle.mdx │ ├── tensorflow.mdx │ └── torch.mdx │ ├── convert-weights.md │ ├── index.mdx │ ├── metadata_parsing.mdx │ ├── speed.mdx │ └── torch_shared_tensors.mdx ├── flake.lock ├── flake.nix └── safetensors ├── Cargo.toml ├── LICENSE ├── README.md ├── benches └── benchmark.rs ├── fuzz ├── .gitignore ├── Cargo.toml └── fuzz_targets │ └── fuzz_target_1.rs └── src ├── lib.rs ├── slice.rs └── tensor.rs /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/.dockerignore -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug-report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/.github/ISSUE_TEMPLATE/bug-report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: true 2 | version: 2.1 3 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature-request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/.github/ISSUE_TEMPLATE/feature-request.yml -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/conda/bld.bat: -------------------------------------------------------------------------------- 1 | cd bindings\python 2 | %PYTHON% -m pip install . --prefix=%PREFIX% 3 | -------------------------------------------------------------------------------- /.github/conda/build.sh: -------------------------------------------------------------------------------- 1 | cd bindings/python 2 | $PYTHON -m pip install . --prefix=$PREFIX 3 | -------------------------------------------------------------------------------- /.github/conda/meta.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/.github/conda/meta.yaml -------------------------------------------------------------------------------- /.github/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/.github/stale.yml -------------------------------------------------------------------------------- /.github/workflows/build_documentation.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/.github/workflows/build_documentation.yml -------------------------------------------------------------------------------- /.github/workflows/build_pr_documentation.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/.github/workflows/build_pr_documentation.yml -------------------------------------------------------------------------------- /.github/workflows/codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/.github/workflows/codecov.yml -------------------------------------------------------------------------------- /.github/workflows/delete_doc_comment.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/.github/workflows/delete_doc_comment.yml -------------------------------------------------------------------------------- /.github/workflows/delete_doc_comment_trigger.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/.github/workflows/delete_doc_comment_trigger.yml -------------------------------------------------------------------------------- /.github/workflows/python-bench.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/.github/workflows/python-bench.yml -------------------------------------------------------------------------------- /.github/workflows/python-release-conda.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/.github/workflows/python-release-conda.yml -------------------------------------------------------------------------------- /.github/workflows/python-release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/.github/workflows/python-release.yml -------------------------------------------------------------------------------- /.github/workflows/python.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/.github/workflows/python.yml -------------------------------------------------------------------------------- /.github/workflows/rust-release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/.github/workflows/rust-release.yml -------------------------------------------------------------------------------- /.github/workflows/rust.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/.github/workflows/rust.yml -------------------------------------------------------------------------------- /.github/workflows/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/.github/workflows/stale.yml -------------------------------------------------------------------------------- /.github/workflows/trufflehog.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/.github/workflows/trufflehog.yml -------------------------------------------------------------------------------- /.github/workflows/upload_pr_documentation.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/.github/workflows/upload_pr_documentation.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /Dockerfile.s390x.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/Dockerfile.s390x.test -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/README.md -------------------------------------------------------------------------------- /RELEASE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/RELEASE.md -------------------------------------------------------------------------------- /attacks/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/attacks/README.md -------------------------------------------------------------------------------- /attacks/numpy_dos_create.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/attacks/numpy_dos_create.py -------------------------------------------------------------------------------- /attacks/numpy_dos_get_pwned.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/attacks/numpy_dos_get_pwned.py -------------------------------------------------------------------------------- /attacks/paddle_ace_create.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/attacks/paddle_ace_create.py -------------------------------------------------------------------------------- /attacks/paddle_ace_get_pwned.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/attacks/paddle_ace_get_pwned.py -------------------------------------------------------------------------------- /attacks/safetensors_abuse_attempt_1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/attacks/safetensors_abuse_attempt_1.py -------------------------------------------------------------------------------- /attacks/safetensors_abuse_attempt_2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/attacks/safetensors_abuse_attempt_2.py -------------------------------------------------------------------------------- /attacks/safetensors_abuse_attempt_3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/attacks/safetensors_abuse_attempt_3.py -------------------------------------------------------------------------------- /attacks/tf_ace_create.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/attacks/tf_ace_create.py -------------------------------------------------------------------------------- /attacks/tf_ace_get_pwned.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/attacks/tf_ace_get_pwned.py -------------------------------------------------------------------------------- /attacks/tf_safe_ace_create.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/attacks/tf_safe_ace_create.py -------------------------------------------------------------------------------- /attacks/tf_safe_ace_get_pwned.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/attacks/tf_safe_ace_get_pwned.py -------------------------------------------------------------------------------- /attacks/torch_ace_create.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/attacks/torch_ace_create.py -------------------------------------------------------------------------------- /attacks/torch_ace_get_pwned.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/attacks/torch_ace_get_pwned.py -------------------------------------------------------------------------------- /attacks/torch_dos_create.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/attacks/torch_dos_create.py -------------------------------------------------------------------------------- /attacks/torch_dos_get_pwned.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/attacks/torch_dos_get_pwned.py -------------------------------------------------------------------------------- /bindings/python/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/.gitignore -------------------------------------------------------------------------------- /bindings/python/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/Cargo.toml -------------------------------------------------------------------------------- /bindings/python/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/LICENSE -------------------------------------------------------------------------------- /bindings/python/MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/MANIFEST.in -------------------------------------------------------------------------------- /bindings/python/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/Makefile -------------------------------------------------------------------------------- /bindings/python/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/README.md -------------------------------------------------------------------------------- /bindings/python/benches/test_flax.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/benches/test_flax.py -------------------------------------------------------------------------------- /bindings/python/benches/test_mlx.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/benches/test_mlx.py -------------------------------------------------------------------------------- /bindings/python/benches/test_paddle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/benches/test_paddle.py -------------------------------------------------------------------------------- /bindings/python/benches/test_pt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/benches/test_pt.py -------------------------------------------------------------------------------- /bindings/python/benches/test_tf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/benches/test_tf.py -------------------------------------------------------------------------------- /bindings/python/convert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/convert.py -------------------------------------------------------------------------------- /bindings/python/convert_all.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/convert_all.py -------------------------------------------------------------------------------- /bindings/python/fuzz.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/fuzz.py -------------------------------------------------------------------------------- /bindings/python/py_src/safetensors/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/py_src/safetensors/__init__.py -------------------------------------------------------------------------------- /bindings/python/py_src/safetensors/__init__.pyi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/py_src/safetensors/__init__.pyi -------------------------------------------------------------------------------- /bindings/python/py_src/safetensors/flax.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/py_src/safetensors/flax.py -------------------------------------------------------------------------------- /bindings/python/py_src/safetensors/mlx.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/py_src/safetensors/mlx.py -------------------------------------------------------------------------------- /bindings/python/py_src/safetensors/numpy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/py_src/safetensors/numpy.py -------------------------------------------------------------------------------- /bindings/python/py_src/safetensors/paddle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/py_src/safetensors/paddle.py -------------------------------------------------------------------------------- /bindings/python/py_src/safetensors/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bindings/python/py_src/safetensors/tensorflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/py_src/safetensors/tensorflow.py -------------------------------------------------------------------------------- /bindings/python/py_src/safetensors/torch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/py_src/safetensors/torch.py -------------------------------------------------------------------------------- /bindings/python/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/pyproject.toml -------------------------------------------------------------------------------- /bindings/python/setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/setup.cfg -------------------------------------------------------------------------------- /bindings/python/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/src/lib.rs -------------------------------------------------------------------------------- /bindings/python/src/view.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/src/view.rs -------------------------------------------------------------------------------- /bindings/python/stub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/stub.py -------------------------------------------------------------------------------- /bindings/python/tests/data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bindings/python/tests/test_flax_comparison.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/tests/test_flax_comparison.py -------------------------------------------------------------------------------- /bindings/python/tests/test_handle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/tests/test_handle.py -------------------------------------------------------------------------------- /bindings/python/tests/test_mlx_comparison.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/tests/test_mlx_comparison.py -------------------------------------------------------------------------------- /bindings/python/tests/test_paddle_comparison.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/tests/test_paddle_comparison.py -------------------------------------------------------------------------------- /bindings/python/tests/test_pt_comparison.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/tests/test_pt_comparison.py -------------------------------------------------------------------------------- /bindings/python/tests/test_pt_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/tests/test_pt_model.py -------------------------------------------------------------------------------- /bindings/python/tests/test_simple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/tests/test_simple.py -------------------------------------------------------------------------------- /bindings/python/tests/test_tf_comparison.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/tests/test_tf_comparison.py -------------------------------------------------------------------------------- /bindings/python/uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/bindings/python/uv.lock -------------------------------------------------------------------------------- /codecov.yaml: -------------------------------------------------------------------------------- 1 | comment: false 2 | -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- 1 | comment: false 2 | -------------------------------------------------------------------------------- /docs/safetensors.schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/docs/safetensors.schema.json -------------------------------------------------------------------------------- /docs/source/_toctree.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/docs/source/_toctree.yml -------------------------------------------------------------------------------- /docs/source/api/flax.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/docs/source/api/flax.mdx -------------------------------------------------------------------------------- /docs/source/api/numpy.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/docs/source/api/numpy.mdx -------------------------------------------------------------------------------- /docs/source/api/paddle.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/docs/source/api/paddle.mdx -------------------------------------------------------------------------------- /docs/source/api/tensorflow.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/docs/source/api/tensorflow.mdx -------------------------------------------------------------------------------- /docs/source/api/torch.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/docs/source/api/torch.mdx -------------------------------------------------------------------------------- /docs/source/convert-weights.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/docs/source/convert-weights.md -------------------------------------------------------------------------------- /docs/source/index.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/docs/source/index.mdx -------------------------------------------------------------------------------- /docs/source/metadata_parsing.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/docs/source/metadata_parsing.mdx -------------------------------------------------------------------------------- /docs/source/speed.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/docs/source/speed.mdx -------------------------------------------------------------------------------- /docs/source/torch_shared_tensors.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/docs/source/torch_shared_tensors.mdx -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/flake.lock -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/flake.nix -------------------------------------------------------------------------------- /safetensors/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/safetensors/Cargo.toml -------------------------------------------------------------------------------- /safetensors/LICENSE: -------------------------------------------------------------------------------- 1 | ../LICENSE -------------------------------------------------------------------------------- /safetensors/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /safetensors/benches/benchmark.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/safetensors/benches/benchmark.rs -------------------------------------------------------------------------------- /safetensors/fuzz/.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | corpus 3 | artifacts 4 | coverage 5 | -------------------------------------------------------------------------------- /safetensors/fuzz/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/safetensors/fuzz/Cargo.toml -------------------------------------------------------------------------------- /safetensors/fuzz/fuzz_targets/fuzz_target_1.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/safetensors/fuzz/fuzz_targets/fuzz_target_1.rs -------------------------------------------------------------------------------- /safetensors/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/safetensors/src/lib.rs -------------------------------------------------------------------------------- /safetensors/src/slice.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/safetensors/src/slice.rs -------------------------------------------------------------------------------- /safetensors/src/tensor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huggingface/safetensors/HEAD/safetensors/src/tensor.rs --------------------------------------------------------------------------------