Closed ajaykarpur closed 4 years ago
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
Closing in favor of https://github.com/aws/sagemaker-containers/pull/246
Description of changes:
sagemaker-containers
functionmodules.download_and_install()
is deprecated and breaks network isolation.modules.import_module()
contains the necessary functionality to download, extract, and import the module without breaking network isolation. It also supportsrequirements.txt
.modules.download_and_install()
has been replaced withmodules.import_module()
accordingly.entry_point.run()
(which is called on the following line) contains some overlapping functionality withmodules.import_module()
, but it also runs the entry point. Upcoming work to refactor sagemaker-containers will remove redundant functionality and deprecated code.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.