Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/sagemaker/local/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,12 @@ def write_config_files(self, host, hyperparameters, input_data_config):
"""
config_path = os.path.join(self.container_root, host, "input", "config")

resource_config = {"current_host": host, "hosts": self.hosts}
resource_config = {
"current_host": host,
"hosts": self.hosts,
"network_interface_name": "eth0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this always eth0 or can this be customized

Copy link
Contributor Author

@benieric benieric Jan 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default is eth0 but not sure if can be customized. Even on platform training job can not customize.

"current_instance_type": self.instance_type,
}

json_input_data_config = {}
for c in input_data_config:
Expand Down
Loading