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
Commit fa89781
Browse filesBrowse the repository at this point in the historyBrowse files
fix: accept a PipelineVariable for HyperparameterTuner random_seed (#6320)
* fix: accept pipeline variable for HyperparameterTuner random_seed
HyperParameterTuningJobConfig.random_seed was typed Optional[int]; assigning a
pipeline variable (e.g. ParameterInteger) raised ValidationError under the
shape's validate_assignment. Type it Optional[IntPipeVar] (via the codegen
PIPE_VAR_OVERRIDES source of truth + the generated shapes.py), matching sibling
fields like instance_count. Also broaden the ModelTrainer-facing tuner
random_seed signature to Optional[Union[int, PipelineVariable]].
Fixes#5614 (random_seed part), #6171
* docs: note random_seed accepts a PipelineVariable in tuner docstrings
---------
Co-authored-by: Mohamed Zeidan <zeidmo@amazon.com>
0 commit comments