Releases: justinchuby/onnx-safetensors
v1.5.0
What's Changed
- Support embedding the ONNX model into the safetensors file for storage/transfer: https://github.com/justinchuby/onnx-safetensors#embed-onnx-model-in-a-safetensors-file
Full Changelog: v1.4.1...v1.5.0
v1.4.1
What's Changed
- Fix bugs with handling subbyte types by @justinchuby in #45
Full Changelog: v1.4.0...v1.4.1
v1.4.0
What's Changed
You can now use the command line
onnx-safetensors convert input.onnx output.onnx --max-shard-size 5GBTo convert models to use safetensors as the external data format.
- Create docs by @justinchuby in #41
- Create a command line option by @justinchuby in #42
- Fix readthedocs by @justinchuby in #43
- Fix typos in docs by @justinchuby in #44
Full Changelog: v1.3.0_1...v1.4.0
v1.3.0
What's Changed
Note
This release introduces the new save_model() function which supports saving the onnx model along with sharded safetensors in an HF Hub compatible way. See https://github.com/justinchuby/onnx-safetensors#save-an-onnx-model-with-safetensors-weights for examples.
- Skip
__metadata__when reading tensors by @justinchuby in #32 - Implement save_model and tensor sharding by @justinchuby in #39
Full Changelog: v1.2.0...v1.3.0_1
v1.2.0
What's Changed
- Create tutorial by @justinchuby in #26
- Upload coverage by @justinchuby in #27
- Update dependency to use onnx-ir by @justinchuby in #29
Full Changelog: v1.1.1...v1.2.0
v1.1.1
What's Changed
- Refactor to fix checks and simplify tensor implementation by @justinchuby in #24
- Update readme by @justinchuby in #25
Full Changelog: v1.1.0...v1.1.1
v1.1.0
What's Changed
Added support for all ONNX dtypes.
- Check tensor type and support other dtypes by @justinchuby in #20
- Support all ONNX dtypes in load() by @justinchuby in #22
Full Changelog: v1.0.1...v1.1.0
v1.0.1
What's Changed
- Rename base_path to base_dir for consistency by @justinchuby in #21
Full Changelog: v1.0.0...v1.0.1
v1.0.0_1
Fix CI pipelines.
Full Changelog: v1.0.0...v1.0.0_1
v1.0.0
What's Changed
Release 1.0 introduces backward incompatible changes to the APIs. Now you can use safetensors as true external data to ONNX models and use them natively in ONNX Runtime and other tools in the ecosystem. Refer to the project README for usage examples.
Additionally, the project now takes onnxscript as a dependency to leverage the ONNX IR for modifying the ONNX graphs.
Full Changelog: v0.1.1...v1.0.0