Cache path vs Local path
This aims to fix an issue where providing a directory for a model in a different parent directory/tree results in an error.
There is a split handling between cache path and local path - mostly because I wasn't sure behind all use case implementations (browser vs local vs X). This solutions solves providing file paths such as ../../your_model_dir as the env.localModelPath variable.
@xenova
@xenova
@xenova
Xenova is currently overwhelmed with the release of v3, but will for sure review your PR as soon as possible. Don't worry, your PR won't be left behind.
Thank you! Happy to help however I can (PR's / Issues / etc), please let me know how to contribute best 😃
@felladrin @xenova
Hi! This has been open for a bit... its a small change I promise :)
Fixes issues in this issue (multiple people are experiencing): https://github.com/xenova/transformers.js/issues/520
@felladrin @xenova
Following up on this! Please let me know how to move forward with your merging process?
Sorry it hasn't been merged yet, @axrati. But only Xenova can make it.
@xenova following up on this!
@xenova @felladrin following up on this!