85 Commits

Author SHA1 Message Date
Carson M.
9453d040b2 fix(wasm): disable image::load_from_memory 2024-05-29 14:00:13 -05:00
Carson M.
05bc4fbf09 examples(webassembly): use MNIST as test model 2024-04-27 17:46:28 -05:00
Carson M
b12c43c34f feat: support for wasm32-unknown-unknown target (#184) 2024-04-25 08:39:24 -05:00
Carson M.
af95987b62 examples: demo creating tensor from cudarc slice 2024-04-13 17:46:28 -05:00
Carson M
393f25f6e4 feat: value specialization (#178) 2024-03-27 19:45:41 -05:00
Carson M
979a591408 feat: Session::run_async (#174)
* feat: `Session::run_async`

* fix: set intra threads in doctests

* ci(code-quality): cover doctests too

* feat: make `InferenceFut` cancel safe

* ci(code-quality): revert

* minor cleanup
2024-03-21 18:32:00 -05:00
Carson M.
33938fde8b refactor: rename SessionBuilder commit methods 2024-02-28 21:17:54 -06:00
Carson M.
11d267eb44 fix: add apple rtlib link to examples 2024-02-28 09:15:47 -06:00
Carson M.
6e7c051a7a feat: custom ops & mutable tensors 2024-02-22 19:53:51 -06:00
ling jia
e33c7b8ed5 examples: add example for image matting with ModNet (#142)
* Add ModNet example

* Add show-image crate for visualizing output

* use parcel model download

---------

Co-authored-by: Carson M <carson@pyke.io>
2024-01-15 12:01:36 -06:00
Carson M.
a68370297d refactor: split out run_with_options 2024-01-12 11:12:20 -06:00
aykut-bozkurt
45f96c11bd feat: basic RunOptions support (#139) 2024-01-12 08:51:44 -06:00
Carson M.
153d7afdb9 refactor: remove model zoo URLs 2023-12-27 23:56:00 -06:00
Carson M.
af97600869 feat: extract sequences & maps. closes #30 2023-12-27 23:31:18 -06:00
Carson M.
3251b97bbe feat: model metadata printer example 2023-12-05 19:07:00 -06:00
Carson M.
8e477536b4 feat: gpt2 example without ndarray 2023-12-05 15:55:25 -06:00
Carson M.
c69064f443 refactor: create environment in global OnceLock 2023-11-20 21:05:50 -06:00
Carson M.
3838303b2b style(gpt2): convert doc comments to regular comments 2023-11-19 23:41:00 -06:00
Lenny
4778871004 docs(examples): add notes to gpt-2 example
* Leaving Error Note for Examples

* added docs for gpt2.rs

* Delete examples/Readme.md

* Update gpt2.rs

---------

Co-authored-by: Carson M <carson@pyke.io>
2023-11-13 11:33:01 -06:00
Carson M.
e5d8b6daae refactor: move example data to respective folders 2023-11-12 23:18:22 -06:00
Carson M.
073513b68c feat: allow with_model_downloaded on url string 2023-11-12 23:11:18 -06:00
Carson M.
98b0a0f9ed chore(examples): remove code from testing 2023-11-12 11:46:51 -06:00
Carson M.
34f8161357 whole bunch of changes
- Refactor execution providers to be separate builder pattern structs
- Improve `IoBinding` ergonomics
- Reduce allocations in hot paths
- Fix a few memory leaks
- Make the `ndarray` dependency optional

TODO:
- Make mutable `Value` methods
- Useful `IoBinding` example/test (Stable DIffusion?)
- Allow passing in pre-allocated `Value`s to `Session::run`, see C docs
2023-11-10 19:38:15 -06:00
Carson M.
02ac039cef chore: cleanup manifests, split license file 2023-11-06 19:21:58 -06:00
Carson M.
a802cf4dc8 refactor: cleanup type names, make custom ops optional 2023-11-01 23:06:56 -05:00
Carson M.
eabeb6ea5d refactor: split out examples into crates 2023-10-22 12:11:29 -05:00
Carson M.
98fd656f79 refactor: less cows and less IxDyns 2023-10-22 00:51:34 -05:00
Carson M.
9a631f1d0d simplify, fix leaks & bad error messages 2023-10-03 14:14:29 -05:00
Carson M.
e8d72af0c7 fix: clippy warnings 2023-08-26 11:32:45 -05:00
Carson M
d54b5ece9d v2.0.0 alpha1 2023-08-16 15:03:46 -05:00
Carson M
447354a46c 1.15.0 2023-07-15 19:47:01 -05:00
Carson M
930edb6c17 feat: load dylibs at runtime without linking
A better solution to the "shared library hell".
2023-03-09 20:09:10 -06:00
Carson M
9c77d4d020 examples(gpt): refactor to use tokenizers 2023-01-17 11:42:07 -06:00
Carson M
83577a0f31 fix: session should not need to be mut 2022-12-31 10:22:01 -06:00
Carson M
7b3acaf95b 1.13.0 2022-11-26 15:16:30 -06:00