aws / aws/sagemaker-python-sdk

HyperparameterTuner does not accept Pipeline Variable for random_seed argument

Open
#6,171 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.3k
Forks
1.3k
Avg merge
1d 22h
Merged PRs (30d)
35

Description

**PySDK Version**
- [ ] PySDK V2 (2.x)
- [x] PySDK V3 (3.x)

**Describe the bug**
The HyperparameterTuner class does not accept a Pipeline Variable for the random_seed argument, which is required to be an int. This is a regression in comparison to v2.

Contributor guide

Open the contributing guide

Research direction

Locate the HyperparameterTuner implementation and the random_seed argument validation. Compare its behavior with the PySDK V2 implementation, then verify that a Pipeline Variable is accepted while integer inputs continue to work; add or run the relevant HyperparameterTuner tests if the repository provides them.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.