Skip to content

Instantly share code, notes, and snippets.

@siakon89
Created October 7, 2020 10:49
Show Gist options
  • Save siakon89/e5cf0581f7be31e6edd174d01efd87de to your computer and use it in GitHub Desktop.
Save siakon89/e5cf0581f7be31e6edd174d01efd87de to your computer and use it in GitHub Desktop.
predictor = estimator.deploy(
initial_instance_count=1,
instance_type='ml.p2.xlarge',
endpoint_name="no-elastic-inference-test"
)
predictor = estimator.deploy(
initial_instance_count=1,
instance_type='ml.c5.large',
accelerator_type='ml.eia1.medium',
endpoint_name="elastic-inference-test"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment