I'm pretty sure the modnet photo was taken by Charlotte May, not "Tyler Nix". The link leftover from cudarc's COPYRIGHT.md (btw, why did I delete that file from modnet?) is now a 404. Reverse image search led me to Charlotte May's photo on Pexels, and their profile features more photos of the same person. Does this mean 'Tyler Nix' is a THIEF...? Nixgate!!1!
Also, I once again apologize for saying I was gonna do this however long ago and then promptly forgetting to do it
This has all sorts of fun breaking changes:
- `ort::inputs!` no longer yields an `ort::Result<...>` (thank God)
- `Tensor::from_array` now only accepts owned data.
- Introduce `TensorRef::from_array_view` and `TensorRefMut::from_array_view_mut`.
- `TryFrom<A>` is no longer implemented for `Tensor<T>` for any variants.
This opens the door to new optimizations on top of fixing a few unsoundness issues.
TODO: update docs
- 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