Commit Graph

112 Commits

Author SHA1 Message Date
7a6101bee7 make available_providers function 2021-01-22 14:58:21 +04:00
4f6be5efb9 Add available_providers method 2021-01-22 14:08:14 +04:00
8041b81588 Fix bindings for CUDA Provider 2021-01-22 13:45:06 +04:00
Andrey Tkachenko
25785a1ada Some fixes 2021-01-15 14:19:20 +04:00
Basile Henry
08fb5dbf8c
Merge pull request #16 from basile-henry/update-readme
Update README
2020-08-23 17:13:47 +02:00
Basile Henry
3ca3a39c57 Update README 2020-08-23 15:33:23 +01:00
Basile Henry
d999026b33
Merge pull request #15 from basile-henry/ci-1.4.0
Build with release 1.4.0 in CI
2020-08-23 16:27:18 +02:00
Basile Henry
2865b8fcfa Build with release 1.4.0 in CI 2020-08-23 15:00:41 +01:00
Basile Henry
d49c77f42d
Merge pull request #13 from basile-henry/cargo-actions
Setup cargo actions
2020-07-14 09:27:53 +02:00
Basile Henry
835dfdfba5 ci: Don't error on clippy warnings (for now) 2020-07-06 22:03:10 +02:00
Basile Henry
4f7d500b25 Fix some cargo clippy hints 2020-07-05 23:50:39 +02:00
Basile Henry
6114ae03f0 niv update 2020-07-05 23:41:48 +02:00
Basile Henry
dd9ffdfa14 Install dependencies for check and lint jobs 2020-07-05 23:32:36 +02:00
Basile Henry
214a853c08 Set env vars from script 2020-07-05 23:26:36 +02:00
Basile Henry
e096d7ffbe Install llvm-config in CI 2020-07-05 23:16:07 +02:00
Basile Henry
6cc1fee786 CI on PRs, master and tags 2020-07-05 23:16:07 +02:00
Basile Henry
2b0c01830d Expect the C headers in a different location
This should be compatible with a non Nix install of onnxruntime, and easily fixable in nix.
2020-07-05 23:16:07 +02:00
Basile Henry
829ce1fd9e Setup onnxruntime version matrix 2020-07-05 22:32:58 +02:00
Basile Henry
f47472b47c Run script 2020-07-05 17:39:40 +02:00
Basile Henry
86979aea4b Fix cargo check 2020-07-05 17:38:02 +02:00
Basile Henry
c2fbeea503 Setup cargo actions 2020-07-05 17:32:38 +02:00
Christopher Chalmers
72709d1bc8
Merge pull request #11 from basile-henry/more-str
Change the internals of OrtString for cheap &str and &Cstr conversions
2020-06-15 09:37:55 +01:00
Christopher Chalmers
c5bdf9c9c0 Change the internals of OrtString for cheap &str and &Cstr conversions 2020-06-06 10:16:24 +01:00
Christopher Chalmers
8622da3088
Merge pull request #1 from basile-henry/chris
Chris
2020-05-31 23:55:35 +01:00
Christopher Chalmers
bddc810020 Slightly better documentation 2020-05-31 23:40:52 +01:00
Christopher Chalmers
01143dc038 Only warn once when a size is missing 2020-05-31 23:32:38 +01:00
Christopher Chalmers
e249d09c56 Better documentation for run 2020-05-31 23:09:58 +01:00
Christopher Chalmers
c1c53aebab Move run to bin so that the nix derivation builds it 2020-05-31 22:27:15 +01:00
Christopher Chalmers
ffc2237abe Run the model multiple times and on multiple threads in run example 2020-05-31 20:23:00 +01:00
Christopher Chalmers
abb7a28771 Don't need both license-file and license 2020-05-31 17:43:52 +01:00
Christopher Chalmers
8b1d032121 Point to standard include path in README 2020-05-31 17:22:29 +01:00
Christopher Chalmers
6a4d5f47da Move pkg-config and clang to nativeBuildInputs 2020-05-31 17:21:30 +01:00
Christopher Chalmers
3bdc2c93d0 Add some examples 2020-05-31 17:20:17 +01:00
Christopher Chalmers
4b6afb6170 Add Display for OrtString 2020-05-31 17:20:17 +01:00
Christopher Chalmers
598b9a6aae Add session metadata 2020-05-31 17:20:17 +01:00
Christopher Chalmers
298a55f182 Implement Send and Sync for a bunch of types 2020-05-31 17:20:17 +01:00
Christopher Chalmers
be0e5eb9da Expose from_raw for Status 2020-05-31 17:20:17 +01:00
Christopher Chalmers
4d1f3edd5d Add TensorView and TensorViewMut 2020-05-31 17:20:17 +01:00
Christopher Chalmers
d13a7ad0ba Have a &[usize] interface for tensors
Using i64 for the tensor size is so annoying.
2020-05-31 17:20:17 +01:00
Christopher Chalmers
a7128e22a6 Prettier Symbolic fmt 2020-05-31 17:20:17 +01:00
Christopher Chalmers
3b24f99e1d Nicer symbolic dimensions interface 2020-05-31 17:20:17 +01:00
Christopher Chalmers
0cfa44a4a0 Slightly less crazy with the iterators 2020-05-31 17:20:17 +01:00
Christopher Chalmers
c4a903e9ee Refactor how arguments are handled 2020-05-31 17:20:17 +01:00
Christopher Chalmers
cfef7a5bc6 Fully qualified use of CStr in run macro 2020-05-31 17:20:17 +01:00
Christopher Chalmers
3c537e9f38 Let the session be an expression in run macro 2020-05-31 17:20:17 +01:00
Christopher Chalmers
2c6cf51762 Add support for literal names in run macro 2020-05-31 17:20:17 +01:00
Christopher Chalmers
5a7a41735c Properly convert CStr to pointers 2020-05-31 17:20:17 +01:00
Christopher Chalmers
f87343731b Add symbolic_dims for TensorInfo 2020-05-31 17:20:17 +01:00
Christopher Chalmers
b2921f12fe Add api for getting info about session inputs and outputs 2020-05-31 17:20:17 +01:00
Christopher Chalmers
c211524131 Add some RunOptions options 2020-05-31 17:20:17 +01:00