v2.0.0-rc.5
Possibly breaking
- Pre-built static libraries (i.e. not
cuda
ortensorrt
) are now linked with/MD
instead of/MT
on Windows; i.e. MSVC CRT is no longer statically linked. This should resolve linking issues in some cases (particularly crates using other FFI libraries), but may cause issues for others. I have personally tested this in 2 internal pyke projects that depend onort
& many FFI libraries and haven't encountered any issues, but your mileage may vary.
Definitely breaking
- 069ddfd
ort
now depends onndarray
0.16. - e2c4549
wasm32-unknown-unknown
support has been removed.- Getting
wasm32-unknown-unknown
working in the first place was basically a miracle. Hacking ONNX Runtime to work outside of Emscripten took a lot of effort, but recent changes to Emscripten and ONNX Runtime have made this exponentially more difficult. Given I am not adequately versed on ONNX Runtime's internals, the nigh-impossibility of debugging weird errors,and the vow I took to write as little C++ as possible ever since I learned Rust, it's no longer feasible for me to work on WASM support forort
. - If you were using
ort
in WASM, I suggest you use and/or support the development of alternative WASM-supporting ONNX inference crates liketract
or WONNX.
- Getting
Features
- ab293f8 Update to ONNX Runtime v1.19.0.
- ecf76f9 Use the URL hash for downloaded model filenames. Models previously downloaded & cached with
commit_from_url
will be redownloaded. - 9d25514 Add missing configuration keys for some execution providers.
- 733b7fa New callbacks for the simple
Trainer
API, just like HF'sTrainerCallbacks
! This allows you to write custom logging/LR scheduling callbacks. See the updatedtrain-clm-simple
example for usage details.
Fixes
If you have any questions about this release, we're here to help:
Love ort
? Consider supporting us on Open Collective 💖
❤️💚💙💛