Skip to content

fix(train): set input_data_config to None - #6154

Open
danb27 wants to merge 1 commit into
aws:masterfrom
danb27:master
Open

fix(train): set input_data_config to None#6154
danb27 wants to merge 1 commit into
aws:masterfrom
danb27:master

Conversation

@danb27

@danb27 danb27 commented Aug 4, 2026

Copy link
Copy Markdown

Issue #, if available: N/A - small fix, can create if required.

Description of changes: When no input channels are provided, input_data_config must be None rather than an empty list to avoid SageMaker API validation errors. This appears to be a regression caused by this recent fix. Before, input_data_config=[] would be dropped from the config silently, avoiding the validation issue in the API. Now, however, it is not dropped, which breaks the validation.

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

… provided

When no input channels are provided, input_data_config must be None
rather than an empty list to avoid SageMaker API validation errors.
@danb27 danb27 changed the title fix(model_trainer): set input_data_config to None fix(train): set input_data_config to None Aug 4, 2026
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