v2.0.0-rc.7 #301
decahedron1
announced in
Announcements
v2.0.0-rc.7
#301
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Breaking: Infallible functions
The following functions have been updated to return
T
instead ofort::Result<T>
:MemoryInfo::memory_type
MemoryInfo::allocator_type
MemoryInfo::allocation_device
MemoryInfo::device_id
Value::<T>::memory_info
Value::<T>::dtype
Features
ValueType
now implementsDisplay
.Sync
forValue<T>
.ep_context_embed_mode
.Send
forAllocator
.Session::overridable_initializers
to get a list of overridable initializers in the graph.ValueRef
orValueRefMut
to aValue
in certain cases.SessionBuilder::with_config_entry
for adding custom session config options.ORT_PREFER_DYNAMIC_LINK
, to override whether or notort
should prefer static or dynamic libs whenORT_LIB_LOCATION
is specified.IoBinding
.::ptr()
to every C-backed struct to exposeort_sys
pointers.Clone
forMemoryInfo
.Fixes
with_arena_allocator
is nowwith_use_arena
.)IoBinding
so it can be stored in a struct alongside a session.Sequence::extract_sequence
now returnsValue<T>
instead ofValueRef<T>
.Environment
andExecutionProvider
Send + Sync
.Other changes
If you have any questions about this release, we're here to help:
#💬|ort-discussions
Thank you to Brad Neuman, web3nomad, and Julien Cretin for contributing to this release!
Thank you to Thomas, Johannes Laier, Yunho Cho, Phu Tran, Bartek, Noah, Matouš Kučera, Kevin Lacker, and Okabintaro, whose support made this release possible. If you'd like to support
ort
as well, consider supporting us on Open Collective 💖💜🩷💜🩷
This discussion was created from the release v2.0.0-rc.7.
Beta Was this translation helpful? Give feedback.
All reactions