用于创建要在Amazon SageMaker上运行的容器的开源库。
sagemaker-container-support的Python项目详细描述
这个包使得在Amazon Sagemaker上运行的Docker映像更容易构建。例如,正式的sagemakerTensorFlow和MXNet图像使用这个包。sagemaker兼容图像的要求记录在这里:https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html
提供的功能:
- 与SageMaker Python SDK估计量的集成,包括:
- 下载用户提供的python代码
- 反序列化超参数(保留其python类型)
- bin/entry.py,它充当sagemaker所需的docker入口点
- 在培训期间读取提供给容器的元数据文件,如下所述:https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-training-algo.html
- nginx+gunicorn http服务器,用于提供符合此处描述的接口的推理请求:https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-inference-code.html
许可证
此库是根据Apache2.0许可证授权的。