v0.3.0
版本发布时间: 2023-03-03 22:22:16
huggingface/safetensors最新发布版本:v0.4.5(2024-09-05 21:41:07)
Everything in this new release should be backward compatible.
The only thing which might not, is loading a file and saving it again might change it's layout. Content will be the same, but the order and positions of tensors might be changed to improve the alignment of buffers which can enable much faster loads on lower level languages. ( https://github.com/huggingface/safetensors/pull/148)
Major changes
- Fixing the fact that the context manager wasn't properly cleaning up after itself. by @Narsil in https://github.com/huggingface/safetensors/pull/166
- [Major Change] Enforcing tensor alignment by @Narsil in https://github.com/huggingface/safetensors/pull/148
- Faster GPU Loads ?? by @Narsil in https://github.com/huggingface/safetensors/pull/184
- Removed the need for SAFETENSORS_FAST_GPU=1 with a safe alternative that loads just as fast.
What's Changed
- Improve type hinting by @thomasw21 in https://github.com/huggingface/safetensors/pull/159
- New unreleased version. by @Narsil in https://github.com/huggingface/safetensors/pull/161
- Update README.md by @thomasw21 in https://github.com/huggingface/safetensors/pull/163
- Enabling 3.8 support for M1. by @Narsil in https://github.com/huggingface/safetensors/pull/162
- Added JSONSchema of the header. by @KOLANICH in https://github.com/huggingface/safetensors/pull/151
- Adding custom error type for users to properly catch. by @Narsil in https://github.com/huggingface/safetensors/pull/165
- Fixing the fact that the context manager wasn't properly cleaning up after itself. by @Narsil in https://github.com/huggingface/safetensors/pull/166
- Minor pydoc fixes for torch bindings by @jbn in https://github.com/huggingface/safetensors/pull/167
- Better error messages on outdated context manager. by @Narsil in https://github.com/huggingface/safetensors/pull/168
- Clippy fix. by @Narsil in https://github.com/huggingface/safetensors/pull/171
- Update README.md by @Narsil in https://github.com/huggingface/safetensors/pull/170
- Fixing error message for FileNotFound. by @Narsil in https://github.com/huggingface/safetensors/pull/175
- Add PaddlePaddle backend by @JunnYu in https://github.com/huggingface/safetensors/pull/176
- [Docs] add paddlepaddle docs by @JunnYu in https://github.com/huggingface/safetensors/pull/177
- [Major Change] Enforcing tensor alignment by @Narsil in https://github.com/huggingface/safetensors/pull/148
- README.md proposed clarity by @fdwr in https://github.com/huggingface/safetensors/pull/181
- Better Rust API (tch-rs) by @Narsil in https://github.com/huggingface/safetensors/pull/179
- Faster GPU Loads ?? by @Narsil in https://github.com/huggingface/safetensors/pull/184
- Preparing for release 0.3rc1. by @Narsil in https://github.com/huggingface/safetensors/pull/185
- Version 0.3.0 by @Narsil in https://github.com/huggingface/safetensors/pull/186
New Contributors
- @jbn made their first contribution in https://github.com/huggingface/safetensors/pull/167
- @JunnYu made their first contribution in https://github.com/huggingface/safetensors/pull/176
- @fdwr made their first contribution in https://github.com/huggingface/safetensors/pull/181
Full Changelog: https://github.com/huggingface/safetensors/compare/v0.2.8...v0.3.0