Commit Graph

373 Commits

Author SHA1 Message Date
Carson M.
04da381f4d 2.0.0-rc.4 v2.0.0-rc.4 2024-07-07 15:50:08 -05:00
Carson M.
bc764d388f feat(sys): CUDA 12 + cuDNN 8 builds, ref #235 2024-07-07 14:54:40 -05:00
Carson M.
b2f4e1f772 fix: create an environment if one does not exist when registering TensorRT EP. ref #236 2024-07-07 12:26:55 -05:00
Carson M.
bb57252f10 fix(sys): more robust CUDA version check. fixes #234 2024-07-07 12:22:06 -05:00
Carson M.
3dec0173e8 2.0.0-rc.3 v2.0.0-rc.3 2024-07-06 12:16:29 -05:00
Carson M
0a43482d03 feat: training (#202) 2024-07-06 11:07:27 -05:00
Carson M.
0407adb5cc fix: link missing absl libraries, closes #228 2024-07-06 09:46:12 -05:00
Carson M.
1bff72d978 fix: TVM EP register function definition for non-load-dynamic, closes #227 2024-07-06 09:11:44 -05:00
Julien Cretin
bf10c18349 docs: Add Magika to projects using ort (#224) 2024-07-03 08:58:34 -05:00
Carson M.
66b0cb2a23 fix(sys): only link nsync if required, closes #223 2024-07-02 08:50:32 -05:00
Carson M.
e59d0c74db fix arm build 2024-07-02 00:43:52 -05:00
Carson M.
b69f41d2ff feat: most missing custom operator methods 2024-07-02 00:39:02 -05:00
Carson M.
dc79ade39d chore: more readable imports
when auto-importing, rust-analyzer seems to only do absolute imports on odd-numbered days and Tuesdays, falling back to crate:: imports otherwise. this commit adds some consistency.
2024-07-01 00:05:35 -05:00
Carson M.
a127d0f372 refactor: typestate for RunOptions that have selected outputs 2024-06-30 23:50:20 -05:00
Carson M.
3b93e73b27 chore: remove unused imports 2024-06-30 23:11:58 -05:00
Carson M.
920cee9427 refactor: simplify logging function 2024-06-30 23:10:57 -05:00
Carson M.
e1d77b499e refactor: simplify run_async 2024-06-30 22:19:40 -05:00
Carson M.
8f8bbfb424 chore: update to ONNX Runtime v1.18.1 2024-06-30 13:11:57 -05:00
Carson M.
8d1f6b6566 feat: OutputSelector 2024-06-30 12:25:53 -05:00
Carson M.
d59ac43241 refactor: take RunOptions by reference, add run_async_with_options 2024-06-30 11:49:08 -05:00
Ryo Yamashita
860e4496ad fix: i686-pc-windows-msvc build (#218) 2024-06-24 14:22:04 -05:00
Carson M.
668260c54f fix: ARM build
This whole thing where usize != size_t specifically on aarch64 is so bad.
2024-06-21 15:44:40 -05:00
cagnolone
882f657599 fix: bundle libonnxruntime in rlib/staticlib builds (#215)
Fixes #214.
2024-06-21 15:39:03 -05:00
Carson M.
c64b8ea990 refactor: usability
aka The Cleanening, part 2

- Add clearer documentation and examples for more things.
- Rework string tensors by introducing `PrimitiveTensorElementType` for primitive (i.e. f32) types, and again re-implementing `IntoTensorElementType` for `String`. This allows string tensors to be used via `Tensor<String>` instead of exclusively via `DynTensor`. Additionally, string tensors no longer require an `Allocator` to be created (which didn't make sense, since string data in Rust can only ever be stored on the CPU anyway). This also now applies to `Map`s, since their data also needed to be on the CPU anyway. (`Sequence`s are currently unaffected because I think a custom allocator could be useful for them?)
- Rework the `IoBinding` interface, and add an example clarifying the intended usage of it (ref #209). Thanks to AAce from the pyke Discord for pointing out the mutability issue in the old interface, which should be addressed now.
- Refactor `OperatorDomain::add` from the slightly-nicer-looking-but-more-confusing `fn<T>(t: T)` to just `fn<T>()` to further enforce the fact that `Operator`s are zero-sized.
- Maps can now have `String` keys.
- Remove some unused errors.
2024-06-21 15:37:39 -05:00
Carson M.
19d66de302 feat: MIGraphX execution provider, ref #212 2024-06-20 09:45:00 -05:00
Carson M.
a92dd3022e fix(sys): enable SOCKS proxy support, closes #210 2024-06-17 07:30:54 -05:00
Carson M.
23fce788b6 feat: option to error out session builder if EP registration fails 2024-06-14 18:07:13 -05:00
Carson M.
812fdb056c config: add python venv to gitignore 2024-06-08 13:20:08 -05:00
Carson M.
b00c9341bc docs: nuke mintlify 2024-06-08 13:20:07 -05:00
Florian Kasischke
1d89f822d8 feat(sys): support pkg-config
Co-authored-by: Florian Kasischke <florian.kasischke@helsing.ai>
2024-06-05 12:08:46 -05:00
Carson M.
5dce2c2725 fix(sys): update windows artifacts to include DirectML again 2024-06-03 18:53:50 -05:00
Carson M.
721bf0056c ci(test): run if examples or dist.txt changed 2024-05-29 15:11:02 -05:00
Carson M.
eb0f4029ce fix(wasm): update artifact 2024-05-29 15:07:48 -05:00
Carson M.
9453d040b2 fix(wasm): disable image::load_from_memory 2024-05-29 14:00:13 -05:00
Carson M.
9a7f0465d0 Revert "ci(test): run wasm test with --debug"
This reverts commit fd41c8ffc7.
2024-05-26 00:39:15 -05:00
Carson M.
fd41c8ffc7 ci(test): run wasm test with --debug 2024-05-26 00:36:17 -05:00
Carson M.
943a797d55 fix(sys): update API to 1.18 2024-05-25 23:35:11 -05:00
Carson M.
17b4170cb0 chore: update ONNX Runtime to v1.18.0 2024-05-25 23:17:43 -05:00
Carson M.
ce5aaba2ca feat: add telemetry option to environment builder, closes #203 2024-05-21 09:40:05 -05:00
Carson M.
58ba9912ca chore: remove old widestring error 2024-05-19 23:14:31 -05:00
Carson M.
9c80410f6f fix: bad cfg values 2024-05-19 23:13:13 -05:00
Carson M.
ba0867dec6 fix: exclude null byte in string kernel attribute extraction 2024-05-06 17:21:43 -05:00
Carson M.
076ddf4861 fix: kernel array attribute size type 2024-05-06 14:13:17 -05:00
Carson M.
1d8b815f4f feat: implement more kernel attribute types
still need constant inputs and functions for getting I/O lengths & names from indexes
2024-05-06 14:09:18 -05:00
Carson M.
1c0a5e4145 feat: direct downcasts of ValueRef & ValueRefMut 2024-05-06 14:08:16 -05:00
Carson M.
9b8bdf9065 docs: update readme 2024-05-06 13:43:18 -05:00
Carson M.
80be206829 chore(sys): update WASM build 2024-04-27 17:51:56 -05:00
Carson M.
8ae23f2e8b fix: stub c++ exception handling for wasm 2024-04-27 17:47:02 -05:00
Carson M.
05bc4fbf09 examples(webassembly): use MNIST as test model 2024-04-27 17:46:28 -05:00
Carson M.
467d127c58 2.0.0-rc.2 v2.0.0-rc.2 2024-04-26 19:00:51 -05:00