We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
/kind feature
Describe the solution you'd like I'd like to be able to provide a token so i can download private hugging face models
I figured out how to add a secret but there's nothing in the code that actually checks environment variables for tokens or will use tokens.
the AutoConfig from_pretrained_model function seems to support a token kwarg, so it should be pretty simple to add.
The text was updated successfully, but these errors were encountered:
Cc @andyi2it
Sorry, something went wrong.
@empath-nirvana You should be able to do that using env variables.
apiVersion: serving.kserve.io/v1beta1 kind: InferenceService metadata: name: huggingface-llama2 spec: predictor: model: modelFormat: name: huggingface args: - --model_name=<model_name> - --model_id=<private_model> - --backend=huggingface - --task=text_generation env: - name: HF_TOKEN value: <token> or # (envFromSecret)
No branches or pull requests
/kind feature
Describe the solution you'd like
I'd like to be able to provide a token so i can download private hugging face models
I figured out how to add a secret but there's nothing in the code that actually checks environment variables for tokens or will use tokens.
the AutoConfig from_pretrained_model function seems to support a token kwarg, so it should be pretty simple to add.
The text was updated successfully, but these errors were encountered: