Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache path vs Local path #602

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Cache path vs Local path #602

wants to merge 2 commits into from

Conversation

axrati
Copy link

@axrati axrati commented Feb 22, 2024

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.

src/utils/hub.js Outdated Show resolved Hide resolved
@axrati
Copy link
Author

axrati commented Feb 29, 2024

@xenova

1 similar comment
@axrati
Copy link
Author

axrati commented Mar 13, 2024

@xenova

@felladrin
Copy link
Contributor

@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.

@axrati
Copy link
Author

axrati commented Mar 14, 2024

Thank you! Happy to help however I can (PR's / Issues / etc), please let me know how to contribute best 😃

@axrati
Copy link
Author

axrati commented Apr 18, 2024

@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): #520

@axrati
Copy link
Author

axrati commented May 22, 2024

@felladrin @xenova

Following up on this! Please let me know how to move forward with your merging process?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants