Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix: HyperparameterTuner to pass enable_managed_spot_training flag to training jobs#5597

Open
toddstep wants to merge 3 commits intoaws:masteraws/sagemaker-python-sdk:masterfrom
toddstep:fix_hypertuner_managed_spot_350toddstep/sagemaker-python-sdk:fix_hypertuner_managed_spot_350Copy head branch name to clipboard
Open

fix: HyperparameterTuner to pass enable_managed_spot_training flag to training jobs#5597
toddstep wants to merge 3 commits intoaws:masteraws/sagemaker-python-sdk:masterfrom
toddstep:fix_hypertuner_managed_spot_350toddstep/sagemaker-python-sdk:fix_hypertuner_managed_spot_350Copy head branch name to clipboard

Conversation

@toddstep
Copy link

@toddstep toddstep commented Mar 4, 2026

HyperparameterTuner._build_training_job_definition() is not copying parameters needed for managed spot training:

  • enable_managed_spot_training
  • max_wait_time_in_seconds

This causes training jobs to launch with on-demand instances.

*Issue #5584

Description of changes:

  • Include the additional parameters in the job definition
  • Add a unit test

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

…ot parameters

HyperparameterTuner._build_training_job_definition() was not copying
parameters needed for managed spot training:
  - enable_managed_spot_training
  - max_wait_time_in_seconds
This caused training jobs to launch with on-demend instances.

- Include the additional parameters in the job definition
- Add a unit test
@toddstep toddstep temporarily deployed to manual-approval March 4, 2026 14:54 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.