941 Commits

Author SHA1 Message Date
Carson M
3b74b6293a refactor: use "proper" MemTypes 2023-02-12 23:03:52 -06:00
Carson M
2364c5d510 fix: static linking part 2 2023-02-12 12:26:17 -06:00
Carson M
f094fa5f35 1.14.0-beta.0 v1.14.0-beta.0 2023-02-12 11:52:51 -06:00
Carson M
2a520159d5 fix: doc tests 2023-02-12 10:31:36 -06:00
Carson M
cce4992a8d refactor: default to AllocatorType::Device 2023-02-12 10:31:18 -06:00
Carson M
5044e4535a fix(build): maybe fix static link? ref #16 2023-02-07 22:12:32 -06:00
Carson M
b02744a5fa feat: ExecutionProvider::rocm, ref #16 2023-02-07 09:17:05 -06:00
Carson M
17eeed38f8 docs: more rust documentation 2023-02-03 14:48:26 -06:00
Carson M
bb2f9240e7 fix: ensure tensor data is contiguous in memory 2023-01-23 11:32:38 -06:00
Carson M
f12881b916 1.14.0-alpha.0 v1.14.0-alpha.0 2023-01-18 10:36:38 -06:00
Carson M
d5b50259b8 docs: update for clarity 2023-01-18 10:30:13 -06:00
Carson M
e7e9804879 fix: support scalar inputs, closes #12 2023-01-18 10:02:12 -06:00
Carson M
1d4fcd9528 feat: DirectML 2023-01-17 19:34:44 -06:00
Carson M
f7a617fa2b refactor: remove disable-build-script, prefer-* features
Simplifies downstream usage in libraries using docs.rs.

`prefer-*` had to be removed because I could not for the life of me get
rust-analyzer to **not** enable all Cargo features.
No matter what, it always wanted to compile ORT from source after
removing the `disable-build-script` feature. I gave up and decided
the features were not useful anyways.
2023-01-17 14:34:57 -06:00
Carson M
9c77d4d020 examples(gpt): refactor to use tokenizers 2023-01-17 11:42:07 -06:00
Carson M
ad5ba9b42e refactor: remove redundant *_if_available EP functions 2023-01-17 11:41:43 -06:00
Carson M
1ebefceb0b refactor: make Environment easier to use 2023-01-17 10:16:18 -06:00
Carson M
b49ca6f94d refactor: simplify downloaded models 2023-01-17 10:09:15 -06:00
dzhao
dbb1e00e9c feat: with_memory_pattern (#10)
* add cpumemarena & memory pattern switches

* remove with_cpu_memory_arena api as it is already in
OrtSessionOptionsAppendExecutionProvider_CPU?
There's already ExecutionProvider::with_use_arena

* style: tabs

Co-authored-by: Di Zhao <diz@twitter.com>
Co-authored-by: Carson M <carson@pyke.io>
2023-01-11 18:48:04 -06:00
Carson M
b3a24b0199 fix: linux build 2023-01-11 17:29:44 -06:00
Carson M
27b673aae9 fix: some build strategy issues, ref #8 2023-01-11 17:23:15 -06:00
Carson M
ae7623272a fix!: windows compilation 2023-01-11 17:22:39 -06:00
Carson M
ff1d3848a5 1.13.3 2023-01-10 13:03:28 -06:00
dzhao
be961a35a4 feat: session profiling (#7)
* add some debuging message for ep providers

* use tracing::info

* remove a compilation warning

* fix: tracing::instrument, style issues

* Update session.rs

* style: fix formatting

* style: fix formatting

Co-authored-by: Di Zhao <diz@twitter.com>
Co-authored-by: Carson M <carson@pyke.io>
2023-01-06 16:13:50 -06:00
Carson M
b49ebc97bc refactor: fix a few deepsource issues 2023-01-04 12:14:24 -06:00
Carson M
9b5c2d43bb feat: ExecutionProvider::coreml 2023-01-04 12:01:47 -06:00
rsdy
1e0ff45a84 fix: aarch64-darwin builds (#5) 2023-01-04 11:49:22 -06:00
dzhao
1975fbadbb feat: log the registration status of execution providers (#4)
* add some debuging message for ep providers

* use tracing::info

* remove a compilation warning

* fix: tracing::instrument, style issues

Co-authored-by: Di Zhao <diz@twitter.com>
Co-authored-by: Carson M <carson@pyke.io>
2023-01-02 20:37:42 -06:00
Carson M
00ff5f07a8 1.13.2 2022-12-31 10:30:10 -06:00
Carson M
de6525ef73 fix: rerun build script if strategy changes 2022-12-31 10:26:49 -06:00
Carson M
8eea6e6350 feat: ExecutionProvider::dnnl, closes #3 2022-12-31 10:22:13 -06:00
Carson M
a46dddbbef fix: clippy warnings 2022-12-31 10:22:10 -06:00
Carson M
e4376dc97a feat: session is thread-safe 2022-12-31 10:22:06 -06:00
Carson M
83577a0f31 fix: session should not need to be mut 2022-12-31 10:22:01 -06:00
DeepSource Bot
8f5dcce2cc Add .deepsource.toml 2022-12-20 19:34:58 +00:00
Carson M
5efd697bdf fix: clippy warnings in build script 2022-12-20 09:09:47 -06:00
Carson M
fdfce69097 docs: clarity 2022-12-20 09:07:31 -06:00
Carson M
d2bec7e2db fix: docs.rs build 2022-11-27 17:11:14 -06:00
Carson M
c238054553 chore: regenerate 1.13.1 bindings 2022-11-26 15:54:31 -06:00
Carson M
2f724f1b76 ci: manually run 2022-11-26 15:19:27 -06:00
Carson M
7b3acaf95b 1.13.0 2022-11-26 15:16:30 -06:00