Releases: barakugav/executorch-rs
Releases · barakugav/executorch-rs
v0.8.1
What's Changed
- Bump Cpp lib to 1.0.1, a bug fix release. Linking with 1.0.0 is still possible, but not recommended. In this new version of the Cpp library, negative indexing was fixed, fixing the
nano-gptexample which was broken in 1.0.0.
Full Changelog: v0.8.0...v0.8.1
v0.8.0
What's Changed
- Bump the Cpp executorch lib to 1.0.0, as part of it a few building and linking breaking changes are included
flatccstatic lib moved from{build-dir}/third-party/flatcc_external_project/libto{build-dir}/third-party/flatcc_ep/libEXECUTORCH_BUILD_EXTENSION_NAMED_DATA_MAP=ONis required ifEXECUTORCH_BUILD_EXTENSION_MODULE=ON
- Add
NamedDataMapstruct, support reading.ptdfiles - Add
FlatTensorDataMapunderflat-tensorfeature, an implementation forNamedDataMap, seeexamples/data_map - Use more fine grained generics bounds for functions and structs
- Rename
Tensor.as_ptr()->Tensor.as_data_ptr() - Merge
ErrorandCErrorinto a simpler flat enum - Mark
executorch::platform::pal_initunsafe, it access global variables without synchronization - Make
DataLoadera struct instead of trait, implementAsRef<DataLoader>for impls, matches underlying Cpp polymorphism - Support overriding platform abstraction level (PAL) of executorch. Can be used to log executorch inner logs to external loggers, for example by using the
logcrate. Also useful for embedded systems - Flatten the sys crate, removing the dedicated module of the cxx bridge
- Add
TensorLayoutstruct - Add a few minor new functions to existing structs, matching the Cpp API
Full Changelog: v0.7.4...v0.8.0
v0.7.4
What's Changed
- Use
FfiChar(ffi::c_char)internally to solve trait impl conflicts whenc_charisu8(for example android aarch64) - Fix build for arm 32bit platforms (executorch-sys 0.7.3)
- Add to CI arm/arm64/x86_64/i686/ubuntu/macos/ios/android
Full Changelog: v0.7.3...v0.7.4
executorch-sys/v0.7.3
What's Changed
- Fix build for arm 32bit platforms by correcting
EValueStoragelayout
Full Changelog: v0.7.2...executorch-sys/v0.7.3
v0.7.3
v0.7.2
Quick release to fix docs build failure on docsrs.
What's Changed
- Replace doc_auto_cfg with doc_auto
Full Changelog: v0.7.1...v0.7.2
v0.7.1
What's Changed
- Implement
SendforModuleandTensorPtr - Add bindings to executorch-sys to override platform functions (PAL,
executorch/runtime/platform/platform.h) - Activate data-loader feature if module feature
Full Changelog: v0.7.0...v0.7.1
v0.7.0
What's Changed
- Bump Cpp executorch to 0.7.0 and add bindings to new functions and arguments
- Add bindings to all functions in
executorch/runtime/platform/platform.h - Add logs when errors occur in addition to the returned error code, using
pal_emit_log_messageinplatform.h - Check slice bounds against shape and strides when creating tensors
Full Changelog: v0.6.0...v0.7.0
v0.6.0
What's Changed
- Bump Cpp executorch to 0.6.0 and add bindings to new functions and arguments
- Add RawTensor for low level users, avoiding code size overhead of regular Tensor generics
- Add
TensorAccessor, supporting more efficient indexing into a Tensor - Require mut self for get_mut Tensor methods
- Add EXECUTORCH_CPP_VERSION const str to executorch-sys
- Bump bindgen from 0.71.1 to 0.72.0
Full Changelog: v0.5.0...v0.6.0
v0.5.0
What's Changed
- Bump Cpp executorch to 0.5.0
- Add
TensorPtrwithtensor-ptrfeature - Support
EventTracerandETDumpGenwithetdumpfeature - Support dim order
- Support all
EValueinner values, i64 list, None, (optional) tensor list, etc - Support f16, bf16 and Complex even without a dependency on
halfornum-complexcrates - Support all scalars types, small floats, quantized integers, etc
- Add
new_in_allocatorforTensorandEValue - Add
TensorImpl::from_scalar - nano-gpt and llama3 examples
- Add
storage!()macro - Add
tensor_ptr!()macro - Use a mix of
cxxandextern "C"for bridge - Use link-cplusplus crate
Full Changelog: v0.4.0...v0.5.0