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

Make HUGGINGFACE_OFFLINE configurable #7

Open
slyt opened this issue Jul 15, 2024 · 3 comments
Open

Make HUGGINGFACE_OFFLINE configurable #7

slyt opened this issue Jul 15, 2024 · 3 comments

Comments

@slyt
Copy link

slyt commented Jul 15, 2024

Currently HUGGINGFACE_OFFLINE=1 is hardcoded in the helm template.

I'd like for it to be configurable in values.yaml so that I don't have to pull models from s3 and can download them directly from huggingface hub via the functionality in huggingface text-generation-inference image.

@slyt
Copy link
Author

slyt commented Jul 15, 2024

I was able to overwrite it with:

extraEnvVars:
  - name: HUGGINGFACE_OFFLINE
    value: "0"

@voatsap
Copy link
Contributor

voatsap commented Jul 23, 2024

Will take a look on this @romanprog please check

@voatsap
Copy link
Contributor

voatsap commented Jul 29, 2024

don't have to pull models from s3 and can download them directly from huggingface hub via the functionality in huggingface text-generation-inference image.

There is another block that refered on if model is downloaded through s3 or directly from HF
init:
s3:
enabled: false
bucketURL: s3://k8s-model-zephyr/llm/deployment/HuggingFaceH4/zephyr-7b-beta

If s3 enabled: false it would download it directly from HF, if not, it would use bucketURL

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

No branches or pull requests

2 participants