You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: exposing deno_cache + ai cache interceptor (#446)
* chore: add `deno_cache` crate
* feat(sb_core): expose `deno_cache` to js land
**NOTE:** saving cache in `temp folder` consider move it to a better
location
* stamp: add example for cache api
* stamp: add `onnxruntime` cache adapter
- adding a cache adapter that intercepts `transformers-cache`
- fetch and caching models from rust land
* fix: tracing wrong import
* test(sb_ai): adding `ort` snapshots in a separated file
- using a separated file to store `ort` predictions snapshots for both
`x64` and `arm64`.
* stamp(test): add test command with debug support
- Checking for `RUST_LOG` env, then executing tests as `debug` with
tracing enabled
* fix(sb_ai): apply url check before `load_from_url()`
- Applying url check to prevent request errors, matching between `Url`
and `Model Bytes`.
* test(sb_ai): add integration tests for `ort cache`
- Adding tests scenarios for `env.useBrowserCache = true`
* stamp: clippy :)
* chore: rid all things that are related to model downloading
* chore: cleanup ort integration tests
* refactor(sb_ai): polishing and cleanup
* stamp: cleanup
* stamp: polishing
* chore: update dependencies
* chore: update `Cargo.lock`
* stamp(sb_ai): polishing
* chore: allow `install_onnx.sh` able to be used in another os
* chore: add x86_64 snapshots of ort integration tests
* stamp: attach the os prefix to snapshots
* stamp: should be cleanup unused sessions while running integration tests
* chore: add x86_64 (linux) snapshots of ort integration tests
* stamp: snapshots must not be created in CI
* stamp: disabling `Web Cache API` for general use
- blocking `Web Cache API` to only allow caching of `.onnx` files
comming from `transformers.js` lib.
* stamp: format
* stamp: allow cache dir to be specified through env var
* stamp: apply `cargo fmt`
* Revert "stamp(test): add test command with debug support"
This reverts commit d6bf8a7.
* stamp: solve merge conflicts
* chore: add aarch64 (osx) snapshots for integration tests
(cherry picked from commit 8f9a535)
---------
Co-authored-by: Nyannyacha <[email protected]>
Co-authored-by: Nyannyacha <[email protected]>
0 commit comments