aws / sagemaker-experiments

Experiment tracking and metric logging for Amazon SageMaker notebooks and model training.
Apache License 2.0
125 stars 36 forks source link

fix: integration test throttling of AssociationTrialComponent #97

Closed danabens closed 3 years ago

danabens commented 4 years ago

fix occasional throttling exception and black format

   # associate the trials with trial components
   for trial_obj in trial_objs:
       sagemaker_boto_client.associate_trial_component(
          TrialName=trial_obj.trial_name, TrialComponentName=trial_component_obj.trial_component_name
      )

botocore.exceptions.ClientError: An error occurred (ThrottlingException) when calling the AssociateTrialComponent operation (reached max retries: 4): Rate exceeded