-
Notifications
You must be signed in to change notification settings - Fork 1.2k
sagemaker.image_uris.retrieve
returns a wrong image when instance type comes from a ParameterString
#3024
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
Comments
Hi @jonsnowseven , Thanks for using Amazon SageMaker. When I do |
@ahsan-z-khan, yes. When I start a pipeline execution, the image that is retrieved into the estimator is not the correct one (should be a gpu image). Sorry, the code points to a different thing. I'll fix it. |
Hey @jonsnowseven, the |
To give more context, the compile time means the time when generating the pipeline definition in Python SDK stage, while the pipeline runtime means the time when pipeline is running an execution in backend. I'll update to throw exception if Pipeline variables are passed into the |
Thanks for the explanation @jerrypeng7773 and @qidewenwhen! On which version will that change be included, @qidewenwhen? |
Sorry for the delay. Just opened a PR for this action item. Once the PR gets merged, it will be released within a week. Will update the release version at that time. |
The PR has been released in v2.91.0, closing this issue. @jonsnowseven feel free to reopen if you have any questions. |
Reopen this issue as the release needs to be reverted for some reason. Will update once it's ready to put back. |
@jonsnowseven can you confirm PR 3130 unblocked you, let us know, thanks. |
In v2.92.0, we added a validation in |
….retrieve (#3130) Co-authored-by: Dewen Qi <[email protected]>
commit has breaking changes, please give proper note in advance next time. |
Hi, facing similar issue.
Any idea about what is going wrong as all my |
Hi @pranjal-joshi, could you open a new issue for the issue if it still persists? Please add 1) sample code snippet and 2) the SDK version in the new issue to help us for further investigation. I suspect your SDK version is not up-to-date compared with that in your SM studio |
Describe the bug
sagemaker.image_uris.retrieve
returns a wrong image when instance type comes from a ParameterTo reproduce
Expected behavior
Lazy evaluation of the image to allow getting the actual parameter value for the instance type.
System information
A description of your system. Please provide:
The text was updated successfully, but these errors were encountered: