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

fix: add ability to set HF_token now required by Mistral models on HF #462

Merged
merged 1 commit into from
Apr 21, 2024

Conversation

Rob-Powell
Copy link
Contributor

Issue #, if available:

#461

Description of changes:

As per issue, previously working Mistral models hosted via Sagemaker from HuggingFace are now broken and failing to start.

This is resolved by adding a feature to pass a now required HF_Token parameter to the model definition.

Required to update container runtimes for Mistral models to the latest that have proper support for HF_TOKEN. This also required bumping generative AI constructs to latest in order to be able to reference latest containers.

Have tested the changes and works as expected.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@bigadsoleiman bigadsoleiman merged commit d0edf9b into aws-samples:main Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants