7d2aae85ce8dddb4341ff564e156602b128aaf86,src/sagemaker/amazon/amazon_estimator.py,,get_image_uri,#Any#Any#Any#,551
Before Change
if repo_name == "xgboost":
if repo_version in ["0.90", "0.90-1", "0.90-1-cpu-py3"]:
return get_xgboost_image_uri(region_name, XGBOOST_LATEST_VERSION)
logging.warning(
"There is a more up to date SageMaker XGBoost image."
"To use the newer image, please set "repo_version"="
""0.90-1. For example:\n"
"\tget_image_uri(region, "xgboost", "%s").",
XGBOOST_LATEST_VERSION,
)
repo = "{}:{}".format(repo_name, repo_version)
return "{}/{}".format(registry(region_name, repo_name), repo)
After Change
if repo_version in ["0.90", "0.90-1", "0.90-1-cpu-py3"]:
return get_xgboost_image_uri(region_name, XGBOOST_VERSION_1)
supported_version = [
version
for version in XGBOOST_SUPPORTED_VERSIONS
if repo_version in (version, version + "-cpu-py3")
]
if supported_version:
return get_xgboost_image_uri(region_name, supported_version[0])
logging.warning(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: aws/sagemaker-python-sdk
Commit Name: 7d2aae85ce8dddb4341ff564e156602b128aaf86
Time: 2019-12-03
Author: 52252844+aws-patlin@users.noreply.github.com
File Name: src/sagemaker/amazon/amazon_estimator.py
Class Name:
Method Name: get_image_uri
Project Name: NervanaSystems/nlp-architect
Commit Name: 9068c93f70238d2289b0a5aaaf4b161f8332c6df
Time: 2018-07-26
Author: jonathan.mamou@intel.com
File Name: solutions/set_expansion/set_expand.py
Class Name: SetExpand
Method Name: get_vocab
Project Name: aws/sagemaker-python-sdk
Commit Name: 762b509f711daf4d0d7b759626f614fcf618b74e
Time: 2020-05-21
Author: kimedw@amazon.com
File Name: src/sagemaker/amazon/amazon_estimator.py
Class Name:
Method Name: get_image_uri