-
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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]>
- Loading branch information
1 parent
997f2d9
commit 13ee2a2
Showing
132 changed files
with
2,004 additions
and
700 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,5 +6,4 @@ assets/ | |
.github/ | ||
|
||
scripts/* | ||
!scripts/install_onnx.sh | ||
!scripts/download_models.sh | ||
!scripts/install_onnx.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.