@@ -41,7 +41,6 @@ def submit(
4141 share_identifier : Optional [str ] = None ,
4242 timeout : Optional [Dict ] = None ,
4343 tags : Optional [Dict ] = None ,
44- experiment_config : Optional [Dict ] = None ,
4544 ) -> TrainingQueuedJob :
4645 """Submit a queued job and return a QueuedJob object.
4746
@@ -54,9 +53,6 @@ def submit(
5453 share_identifier: Share identifier for Batch job.
5554 timeout: Timeout configuration for Batch job.
5655 tags: Tags apply to Batch job. These tags are for Batch job only.
57- experiment_config: Experiment management configuration.
58- Optionally, the dict can contain four keys:
59- 'ExperimentName', 'TrialName', 'TrialComponentDisplayName' and 'RunName'.
6056
6157 Returns: a TrainingQueuedJob object with Batch job ARN and job name.
6258
@@ -71,11 +67,6 @@ def submit(
7167 raise ValueError (
7268 "TrainingQueue requires using a ModelTrainer with Mode.SAGEMAKER_TRAINING_JOB"
7369 )
74- if experiment_config is not None :
75- logging .warning (
76- "ExperimentConfig is not supported for ModelTrainer. "
77- "It will be ignored when submitting the job."
78- )
7970 training_payload = training_job ._create_training_job_args (
8071 input_data_config = inputs , boto3 = True
8172 )
@@ -111,7 +102,6 @@ def map(
111102 share_identifier : Optional [str ] = None ,
112103 timeout : Optional [Dict ] = None ,
113104 tags : Optional [Dict ] = None ,
114- experiment_config : Optional [Dict ] = None ,
115105 ) -> List [TrainingQueuedJob ]:
116106 """Submit queued jobs to the provided estimator and return a list of TrainingQueuedJob objects.
117107
@@ -124,15 +114,10 @@ def map(
124114 share_identifier: Share identifier for the Batch jobs.
125115 timeout: Timeout configuration for the Batch jobs.
126116 tags: Tags apply to Batch job. These tags are for Batch job only.
127- experiment_config: Experiment management configuration.
128- Optionally, the dict can contain four keys:
129- 'ExperimentName', 'TrialName', 'TrialComponentDisplayName' and 'RunName'.
130117
131118 Returns: a list of TrainingQueuedJob objects with each Batch job ARN and job name.
132119
133120 """
134- if experiment_config is None :
135- experiment_config = {}
136121
137122 if job_names is not None :
138123 if len (job_names ) != len (inputs ):
@@ -153,7 +138,6 @@ def map(
153138 share_identifier ,
154139 timeout ,
155140 tags ,
156- experiment_config ,
157141 )
158142 queued_batch_job_list .append (queued_batch_job )
159143
0 commit comments