-
Notifications
You must be signed in to change notification settings - Fork 76
Add local path option for hf_cache #662
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: PatrykWo <[email protected]>
Signed-off-by: PatrykWo <[email protected]>
This reverts commit 2d44711.
This reverts commit 64b6373.
Signed-off-by: PatrykWo <[email protected]>
Signed-off-by: PatrykWo <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds flexibility to configure the Hugging Face cache path by introducing support for a custom local path through the LOCAL_PATH environment variable. This allows users to specify a different host directory for the cache instead of being restricted to the hardcoded /mnt/hf_cache path.
- Added environment variable substitution with fallback for the
hf_cachevolume mount path
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <[email protected]> Signed-off-by: Patryk Wolsza <[email protected]>
✅ CI PassedAll checks passed successfully against the following vllm commit: |
Option that allows using a custom path on a host folder for the hf_cache.
Enabled after setting the LOCAL_PATH environment variable.