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

Update downloader to support local weights cache #37

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

joehoover
Copy link
Contributor

For some models, we ensure that weights are cached on nodes. This commit updates the downloader to be compatible with our caching strategy.

One side-effect of this implementation is that weights will not be re-used when cog-vllm is run locally, because weights are now downloaded to /weights/vllm instead of /src/.... However, users can still re-use local weights by downloading them and then pointing to the local location.

For some models, we ensure that weights are cached on nodes. This commit updates the downloader to be compatible with our caching strategy.

One side-effect of this implementation is that weights will not be re-used when cog-vllm is run locally, because weights are now downloaded to `/weights/vllm` instead of `/src/...`.
However, users can still re-use local weights by downloading them and then pointing to the local location.
@joehoover joehoover merged commit 48359ee into main Aug 2, 2024
2 checks passed
@joehoover joehoover deleted the joe/add-support-for-local-weights-cache branch August 2, 2024 14:20
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.

1 participant