-
-
Notifications
You must be signed in to change notification settings - Fork 339
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
Sagemaker - Support for custom_attributes for accept_eula for Llama 2 #361
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
Thank you for your contribution! This requires langchain-ai/langchain#8326 to be fixed, and for us to upgrade to a newer LangChain version once this is fixed. |
I verified that this feature is ready to use. I can access the llama2 deployed on SageMaker endpoint by using SageMaker Jumpstart. |
Can you share the code? Thanks |
@JasonWeill It would be great if credentials_profile_name can be supported as well. This will allow to override the AWS credentials that are used by using named profile. |
I tried Sagemaker endpoint with Langchain and it does support Custom Attributes |
I also encountered this issue when using Sagemaker's batch transform job, so where should I add this parameter to the batch transform job |
Problem
I could not find the ability to set custom_attributes when using Llama2 on AWS Sagemaker. Sagemaker requires custom_attributes='accept_eula=true' for the Llama2 model.
Error -
The text was updated successfully, but these errors were encountered: