aws_sagemaker_remote.ecr package¶
Submodules¶
aws_sagemaker_remote.ecr.command module¶
-
class
aws_sagemaker_remote.ecr.command.BuildImageCommand(image: aws_sagemaker_remote.ecr.images.Image, help='Build docker image')¶ Bases:
aws_sagemaker_remote.commands.Command-
configure(parser: argparse.ArgumentParser)¶
-
run(args)¶
-
-
aws_sagemaker_remote.ecr.command.split_string(s)¶
aws_sagemaker_remote.ecr.images module¶
-
class
aws_sagemaker_remote.ecr.images.Image(path, tag, accounts=None, name=None, download_files=None, dependencies=None)¶ Bases:
object
-
class
aws_sagemaker_remote.ecr.images.Images¶ Bases:
object-
ALL= [<aws_sagemaker_remote.ecr.images.Image object>, <aws_sagemaker_remote.ecr.images.Image object>, <aws_sagemaker_remote.ecr.images.Image object>, <aws_sagemaker_remote.ecr.images.Image object>, <aws_sagemaker_remote.ecr.images.Image object>, <aws_sagemaker_remote.ecr.images.Image object>, <aws_sagemaker_remote.ecr.images.Image object>]¶
-
INFERENCE= <aws_sagemaker_remote.ecr.images.Image object>¶
-
INFERENCE_PY27GPUTF= <aws_sagemaker_remote.ecr.images.Image object>¶
-
INFERENCE_PY27TF= <aws_sagemaker_remote.ecr.images.Image object>¶
-
PROCESSING= <aws_sagemaker_remote.ecr.images.Image object>¶
-
PROCESSING_PY27GPUTF= <aws_sagemaker_remote.ecr.images.Image object>¶
-
TRAINING= <aws_sagemaker_remote.ecr.images.Image object>¶
-
TRAINING_GPU= <aws_sagemaker_remote.ecr.images.Image object>¶
-
classmethod
add_image(image)¶
-
classmethod
get_image(name)¶
-
classmethod
get_image_by_tag(tag)¶
-
-
aws_sagemaker_remote.ecr.images.download_files(files, session, base)¶
-
aws_sagemaker_remote.ecr.images.ecr_build_image(image: aws_sagemaker_remote.ecr.images.Image, session, cache=True, pull=True, push=True, wsl=False)¶
-
aws_sagemaker_remote.ecr.images.ecr_create_repository(ecr, name)¶
-
aws_sagemaker_remote.ecr.images.ecr_describe_repository(ecr, account, name)¶
-
aws_sagemaker_remote.ecr.images.ecr_ensure_image(image, session, force=False, cache=True, pull=True, push=True, wsl=False)¶
-
aws_sagemaker_remote.ecr.images.ecr_ensure_image_deps(image: aws_sagemaker_remote.ecr.images.Image, ecr, user_account, session, wsl=False)¶
-
aws_sagemaker_remote.ecr.images.ecr_ensure_repo(ecr, account, name, user_account)¶
-
aws_sagemaker_remote.ecr.images.ecr_login(ecr, docker_client, accounts)¶
-
aws_sagemaker_remote.ecr.images.ecr_repository_exists(ecr, account, name)¶
-
aws_sagemaker_remote.ecr.images.get_image(ecr, registry, repository, tag)¶
-
aws_sagemaker_remote.ecr.images.image_exists(ecr, registry, repository, tag)¶
-
aws_sagemaker_remote.ecr.images.parse_image(uri, account)¶ TRAINING_IMAGE = ‘683880991063.dkr.ecr.us-east-1.amazonaws.com/columbo-sagemaker-training:latest’