You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to create a hyperparameter tuning step in SageMaker pipeline? #2060
Describe the feature you'd like
I am trying to use the latest SageMaker Python SDK (v2.23.0) to implement a SageMaker pipeline that includes a hyperparameter tuning job. However I didn't see anything in module sagemaker.workflow.steps or sagemaker.workflow.step_collections that I can use. There is a TrainingStep class but it's not for HPO.
How would this feature be used? Please describe.
The new Step class will be used to do hyperparameter tuning in a SageMaker pipeline.
Describe alternatives you've considered
N/A
Additional context
N/A
Reacted by Shiva, Yanfa Adi Putra, Mohamed Elzarei, Sune Debel, rgareev, Guillem Orellana Trullols and Filippo Squillace
Hi there, thanks for your interests in SageMaker Pipelines.
We do not have a specific plan to release this feature right now. However your feedback is very important to us. We are always reprioritize our roadmap based on customer input.
Hi, This feature is really important and necessary for us and it seems very odd not to be included in SM Pipelines where it's in the Step Functions Workflow API
Reacted by valentin-mihajlenko-epam, Jason Motylinski, Mohamed Elzarei, Sune Debel, Jake Parelman, Tim Vivian-Griffiths, rgareev, Guillem Orellana Trullols, borko, stanhrivnak and 7 more
You can also use Callback step and offload HPO tuning to a lambda that returns the model artifacts of the best trained estimator and then use a createmodel step to create a model from that. But this is a round about way that has a lot of moving parts.
It would be better to add HPO Step in pipelines.
Apache Airflow has it, Step. function have it, Pipelines need it and fast.
You can also use Callback step and offload HPO tuning to a lambda that returns the model artifacts of the best trained estimator and then use a createmodel step to create a model from that. But this is a round about way that has a lot of moving parts.
It would be better to add HPO Step in pipelines.
Apache Airflow has it, Step. function have it, Pipelines need it and fast.
you can provide the HPO to the training step outside the AWS studio but still you need to hung your pipeline which will wait for best param and then it will kick back .. still it is not not a good idea. to hung a pipeline.. Just wanted to share alternative.
Activity
dennisqian1 commentedon Jan 22, 2021
Is there any plan of including this feature request into a future release?
codeloki15 commentedon Feb 15, 2021
how to get this implemented on pipeline. at least make some document to do this .
wangweixun commentedon Mar 4, 2021
Hi there, thanks for your interests in SageMaker Pipelines.
We do not have a specific plan to release this feature right now. However your feedback is very important to us. We are always reprioritize our roadmap based on customer input.
melzareix commentedon Mar 30, 2021
Hi, This feature is really important and necessary for us and it seems very odd not to be included in SM Pipelines where it's in the Step Functions Workflow API
codeloki15 commentedon Jun 8, 2021
please check my medium book I have mentioned a method to implement hyperparameteron sm pipeline.... AWS please get us the feature as well..
https://codeloki.medium.com/understanding-aws-sagemaker-studio-with-model-building-training-and-deployment-along-with-the-12287ac56188
chubzor commentedon Jun 23, 2021
You can also use Callback step and offload HPO tuning to a lambda that returns the model artifacts of the best trained estimator and then use a createmodel step to create a model from that. But this is a round about way that has a lot of moving parts.
It would be better to add HPO Step in pipelines.
Apache Airflow has it, Step. function have it, Pipelines need it and fast.
codeloki15 commentedon Jun 23, 2021
you can provide the HPO to the training step outside the AWS studio but still you need to hung your pipeline which will wait for best param and then it will kick back .. still it is not not a good idea. to hung a pipeline.. Just wanted to share alternative.
jerrypeng7773 commentedon Jul 13, 2021
Hi there,
We have launched the tuning step today. Please find the docs here
https://aws.amazon.com/about-aws/whats-new/2021/07/amazon-sagemaker-pipeline-introduces-a-automatic-hyperparameter-tuning-step/
https://docs.aws.amazon.com/sagemaker/latest/dg/build-and-manage-steps.html#step-type-tuning
enjoy =)
fix: use compute param in get fine tuning utils (#2060)
Nova release (#5969)