Adding support for platform identification during model deployment. For example, if the model is being deployed on EC2, then the 'list_endpoints' will not be called, only if the model is deployed on SageMaker
Change in 2_deploy notebook to handle/track if the ep is a sagemaker ep
Changes in the deploy scripts + constants
This PR is tested with a config file on EC2 (without any sagemaker permissions) and with SageMaker to test for backward compatibility.
This PR contains the following changes:
This PR is tested with a config file on EC2 (without any sagemaker permissions) and with SageMaker to test for backward compatibility.