├── .flake8 ├── .github └── PULL_REQUEST_TEMPLATE.md ├── .gitignore ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── NOTICE ├── README.rst ├── VERSION ├── docker ├── 4.0.0 │ └── final │ │ ├── py2 │ │ ├── Dockerfile.cpu │ │ └── Dockerfile.gpu │ │ └── py3 │ │ ├── Dockerfile.cpu │ │ └── Dockerfile.gpu ├── 4.1.0 │ └── final │ │ ├── py2 │ │ ├── Dockerfile.cpu │ │ └── Dockerfile.gpu │ │ └── py3 │ │ ├── Dockerfile.cpu │ │ └── Dockerfile.gpu ├── 5.0.0 │ └── final │ │ ├── py2 │ │ ├── Dockerfile.cpu │ │ └── Dockerfile.gpu │ │ └── py3 │ │ ├── Dockerfile.cpu │ │ └── Dockerfile.gpu └── base │ ├── Dockerfile.cpu │ ├── Dockerfile.gpu │ ├── change-hostname.sh │ ├── changehostname.c │ └── parallel_updater.patch ├── pylintrc ├── setup.cfg ├── setup.py ├── src └── sagemaker_chainer_container │ ├── __init__.py │ ├── serving.py │ └── training.py ├── test ├── __init__.py ├── conftest.py ├── integration │ ├── local │ │ ├── __init__.py │ │ ├── test_failure_scenarios.py │ │ ├── test_mnist.py │ │ └── test_serving.py │ └── sagemaker │ │ ├── test_mnist.py │ │ └── timeout.py ├── resources │ ├── __init__.py │ ├── failure_scenarios │ │ ├── __init__.py │ │ ├── all_processes_finish_customer_script.py │ │ ├── failure_script.py │ │ └── training_jobs_do_not_stall_customer_script.py │ ├── mnist │ │ ├── data │ │ │ ├── test │ │ │ │ └── test.npz │ │ │ └── train │ │ │ │ └── train.npz │ │ ├── distributed_customer_script.py │ │ ├── distributed_customer_script_with_env_vars.py │ │ ├── mnist.py │ │ ├── model.tar.gz │ │ ├── single_machine_custom_loop.py │ │ ├── single_machine_customer_script.py │ │ └── utils │ │ │ ├── __init__.py │ │ │ └── preprocess.py │ └── serving │ │ ├── call_model_fn_once.py │ │ └── model.tar.gz ├── unit │ ├── test_serving.py │ └── test_training.py └── utils │ ├── __init__.py │ ├── image_utils.py │ └── test_utils.py └── tox.ini /.flake8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/.flake8 -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/LICENSE -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/NOTICE -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/README.rst -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | 1.0.10.dev0 2 | -------------------------------------------------------------------------------- /docker/4.0.0/final/py2/Dockerfile.cpu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/docker/4.0.0/final/py2/Dockerfile.cpu -------------------------------------------------------------------------------- /docker/4.0.0/final/py2/Dockerfile.gpu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/docker/4.0.0/final/py2/Dockerfile.gpu -------------------------------------------------------------------------------- /docker/4.0.0/final/py3/Dockerfile.cpu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/docker/4.0.0/final/py3/Dockerfile.cpu -------------------------------------------------------------------------------- /docker/4.0.0/final/py3/Dockerfile.gpu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/docker/4.0.0/final/py3/Dockerfile.gpu -------------------------------------------------------------------------------- /docker/4.1.0/final/py2/Dockerfile.cpu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/docker/4.1.0/final/py2/Dockerfile.cpu -------------------------------------------------------------------------------- /docker/4.1.0/final/py2/Dockerfile.gpu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/docker/4.1.0/final/py2/Dockerfile.gpu -------------------------------------------------------------------------------- /docker/4.1.0/final/py3/Dockerfile.cpu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/docker/4.1.0/final/py3/Dockerfile.cpu -------------------------------------------------------------------------------- /docker/4.1.0/final/py3/Dockerfile.gpu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/docker/4.1.0/final/py3/Dockerfile.gpu -------------------------------------------------------------------------------- /docker/5.0.0/final/py2/Dockerfile.cpu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/docker/5.0.0/final/py2/Dockerfile.cpu -------------------------------------------------------------------------------- /docker/5.0.0/final/py2/Dockerfile.gpu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/docker/5.0.0/final/py2/Dockerfile.gpu -------------------------------------------------------------------------------- /docker/5.0.0/final/py3/Dockerfile.cpu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/docker/5.0.0/final/py3/Dockerfile.cpu -------------------------------------------------------------------------------- /docker/5.0.0/final/py3/Dockerfile.gpu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/docker/5.0.0/final/py3/Dockerfile.gpu -------------------------------------------------------------------------------- /docker/base/Dockerfile.cpu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/docker/base/Dockerfile.cpu -------------------------------------------------------------------------------- /docker/base/Dockerfile.gpu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/docker/base/Dockerfile.gpu -------------------------------------------------------------------------------- /docker/base/change-hostname.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/docker/base/change-hostname.sh -------------------------------------------------------------------------------- /docker/base/changehostname.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/docker/base/changehostname.c -------------------------------------------------------------------------------- /docker/base/parallel_updater.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/docker/base/parallel_updater.patch -------------------------------------------------------------------------------- /pylintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/pylintrc -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/setup.py -------------------------------------------------------------------------------- /src/sagemaker_chainer_container/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/src/sagemaker_chainer_container/__init__.py -------------------------------------------------------------------------------- /src/sagemaker_chainer_container/serving.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/src/sagemaker_chainer_container/serving.py -------------------------------------------------------------------------------- /src/sagemaker_chainer_container/training.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/src/sagemaker_chainer_container/training.py -------------------------------------------------------------------------------- /test/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/test/conftest.py -------------------------------------------------------------------------------- /test/integration/local/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/integration/local/test_failure_scenarios.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/test/integration/local/test_failure_scenarios.py -------------------------------------------------------------------------------- /test/integration/local/test_mnist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/test/integration/local/test_mnist.py -------------------------------------------------------------------------------- /test/integration/local/test_serving.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/test/integration/local/test_serving.py -------------------------------------------------------------------------------- /test/integration/sagemaker/test_mnist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/test/integration/sagemaker/test_mnist.py -------------------------------------------------------------------------------- /test/integration/sagemaker/timeout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/test/integration/sagemaker/timeout.py -------------------------------------------------------------------------------- /test/resources/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/resources/failure_scenarios/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/resources/failure_scenarios/all_processes_finish_customer_script.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/test/resources/failure_scenarios/all_processes_finish_customer_script.py -------------------------------------------------------------------------------- /test/resources/failure_scenarios/failure_script.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/test/resources/failure_scenarios/failure_script.py -------------------------------------------------------------------------------- /test/resources/failure_scenarios/training_jobs_do_not_stall_customer_script.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/test/resources/failure_scenarios/training_jobs_do_not_stall_customer_script.py -------------------------------------------------------------------------------- /test/resources/mnist/data/test/test.npz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/test/resources/mnist/data/test/test.npz -------------------------------------------------------------------------------- /test/resources/mnist/data/train/train.npz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/test/resources/mnist/data/train/train.npz -------------------------------------------------------------------------------- /test/resources/mnist/distributed_customer_script.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/test/resources/mnist/distributed_customer_script.py -------------------------------------------------------------------------------- /test/resources/mnist/distributed_customer_script_with_env_vars.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/test/resources/mnist/distributed_customer_script_with_env_vars.py -------------------------------------------------------------------------------- /test/resources/mnist/mnist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/test/resources/mnist/mnist.py -------------------------------------------------------------------------------- /test/resources/mnist/model.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/test/resources/mnist/model.tar.gz -------------------------------------------------------------------------------- /test/resources/mnist/single_machine_custom_loop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/test/resources/mnist/single_machine_custom_loop.py -------------------------------------------------------------------------------- /test/resources/mnist/single_machine_customer_script.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/test/resources/mnist/single_machine_customer_script.py -------------------------------------------------------------------------------- /test/resources/mnist/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/resources/mnist/utils/preprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/test/resources/mnist/utils/preprocess.py -------------------------------------------------------------------------------- /test/resources/serving/call_model_fn_once.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/test/resources/serving/call_model_fn_once.py -------------------------------------------------------------------------------- /test/resources/serving/model.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/test/resources/serving/model.tar.gz -------------------------------------------------------------------------------- /test/unit/test_serving.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/test/unit/test_serving.py -------------------------------------------------------------------------------- /test/unit/test_training.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/test/unit/test_training.py -------------------------------------------------------------------------------- /test/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/utils/image_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/test/utils/image_utils.py -------------------------------------------------------------------------------- /test/utils/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/test/utils/test_utils.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws/sagemaker-chainer-container/HEAD/tox.ini --------------------------------------------------------------------------------