aws / aws/amazon-sagemaker-examples
[Bug Report] Deploy fine-tune model got the parameter error message
- Dominant language
- Jupyter Notebook
- Stars
- 11k
- Forks
- 7k
- Avg merge
- 8h 29m
- Merged PRs (30d)
- 8
Description
**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](https://github.com/aws/amazon-sagemaker-examples/files/12644540/llama-fine-tune-error.log)
Contributor guide
Research direction
Start with introduction_to_amazon_algorithms/jumpstart-foundation-models/llama-2-finetuning.ipynb and execute the notebook through finetuned_predictor = estimator.deploy(). Read the linked error log alongside the ParamValidationError to identify the deployment incompatibility. Done means the fine-tuned model deploys without the reported parameter error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, jupyter-notebook
- Domain
- cloud, machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100