amazon-sagemaker-examples icon indicating copy to clipboard operation
amazon-sagemaker-examples copied to clipboard

[Bug Report] Deploy fine-tune model got the parameter error message

Open eric80116 opened this issue 2 years ago • 3 comments

Link to the notebook https://github.com/aws/amazon-sagemaker-examples/blob/main/introduction_to_amazon_algorithms/jumpstart-foundation-models/llama-2-finetuning.ipynb

Describe the bug When deploy the fine-tune model with the following code and got the parameter error message finetuned_predictor = estimator.deploy()

To reproduce Just execute it step by step until deploy the fine-tune model

Logs ParamValidationError: Parameter validation failed: Unknown parameter in PrimaryContainer: "ModelDataSource", must be one of: ContainerHostname, Image, ImageConfig, Mode, ModelDataUrl, Environment, ModelPackageName, InferenceSpecificationName, MultiModelConfig

llama-fine-tune-error.log

eric80116 avatar Sep 18 '23 03:09 eric80116

Same here

Jacobsolawetz avatar Dec 11 '23 22:12 Jacobsolawetz

@eric80116 did you solve it? This issue might be relevant: https://github.com/aws/sagemaker-python-sdk/issues/4321

tleyden avatar Dec 13 '23 09:12 tleyden

@tleyden No, I still got the same error even I upgraded boto3 to 1.34.2 and sagemaker to 2.200.1.

eric80116 avatar Dec 16 '23 01:12 eric80116