v0.4.0
版本发布时间: 2023-10-06 18:48:11
huggingface/safetensors最新发布版本:v0.4.5(2024-09-05 21:41:07)
Highlights
- Revamped the build pipeline to use maturin
- Reduced allocations (speedup for small safetensors files with many small tensors)
What's Changed
- Back on dev. by @Narsil in https://github.com/huggingface/safetensors/pull/313
- Clarify specification around endianness and header padding by @akx in https://github.com/huggingface/safetensors/pull/306
- Adding new target for m1 by @Narsil in https://github.com/huggingface/safetensors/pull/317
- Fixing macos 13 release script (by prebuilding). by @Narsil in https://github.com/huggingface/safetensors/pull/315
- Cache dir all the time. by @Narsil in https://github.com/huggingface/safetensors/pull/319
- Supporting whisper conversion. by @Narsil in https://github.com/huggingface/safetensors/pull/320
- add tensorshare to featured projects by @chainyo in https://github.com/huggingface/safetensors/pull/322
- Fix Bench GH action. by @Narsil in https://github.com/huggingface/safetensors/pull/323
- Yaml is nice. by @Narsil in https://github.com/huggingface/safetensors/pull/325
- Fixing big endian. by @Narsil in https://github.com/huggingface/safetensors/pull/327
- Fixing boolean + numpy > 1.20 by @Narsil in https://github.com/huggingface/safetensors/pull/326
- Add NumPy for all backends dependencies by @chainyo in https://github.com/huggingface/safetensors/pull/332
- impl
View
forTensorView
by @coreylowman in https://github.com/huggingface/safetensors/pull/329 - Reworked the release script entirely by @Narsil in https://github.com/huggingface/safetensors/pull/334
- Preparing small patch release (Big Endian fix). by @Narsil in https://github.com/huggingface/safetensors/pull/335
- Temporary revert of the breaking change (keep it for 0.4.0). by @Narsil in https://github.com/huggingface/safetensors/pull/336
- Don't release rust versions on RC by @Narsil in https://github.com/huggingface/safetensors/pull/337
- Fixing release script. by @Narsil in https://github.com/huggingface/safetensors/pull/338
- Python 3.8 for arm by @Narsil in https://github.com/huggingface/safetensors/pull/339
- Win64. by @Narsil in https://github.com/huggingface/safetensors/pull/342
- win64 by @Narsil in https://github.com/huggingface/safetensors/pull/343
- Trying out maturin. by @Narsil in https://github.com/huggingface/safetensors/pull/344
- Reduce memory allocations by @cospectrum in https://github.com/huggingface/safetensors/pull/350
- [docs] Convert weights by @stevhliu in https://github.com/huggingface/safetensors/pull/345
- Update types for load_model filename by @kevinhu in https://github.com/huggingface/safetensors/pull/356
- Fixing release script for windows aarch64 and 3.12 by @Narsil in https://github.com/huggingface/safetensors/pull/348
- Minor docstring edit to flax.py by @paulbricman in https://github.com/huggingface/safetensors/pull/359
- Stop recreating the hashmap all the time. by @Narsil in https://github.com/huggingface/safetensors/pull/363
- fix: add py.typed by @b-kamphorst in https://github.com/huggingface/safetensors/pull/365
- Preparing a new release (0.4.0). by @Narsil in https://github.com/huggingface/safetensors/pull/366
New Contributors
- @akx made their first contribution in https://github.com/huggingface/safetensors/pull/306
- @chainyo made their first contribution in https://github.com/huggingface/safetensors/pull/322
- @coreylowman made their first contribution in https://github.com/huggingface/safetensors/pull/329
- @cospectrum made their first contribution in https://github.com/huggingface/safetensors/pull/350
- @stevhliu made their first contribution in https://github.com/huggingface/safetensors/pull/345
- @kevinhu made their first contribution in https://github.com/huggingface/safetensors/pull/356
- @paulbricman made their first contribution in https://github.com/huggingface/safetensors/pull/359
- @b-kamphorst made their first contribution in https://github.com/huggingface/safetensors/pull/365
Full Changelog: https://github.com/huggingface/safetensors/compare/v0.3.2...v0.4.0