Skip to content

Commit 7dd06ca

Browse files
authored
Support SageMaker algorithms in ICN region. (#262)
1 parent 143357e commit 7dd06ca

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

CHANGELOG.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
CHANGELOG
33
=========
44

5+
1.5.2
6+
=====
7+
8+
* Support SageMaker algorithms in ICN region
9+
510
1.5.1
611
=====
712

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ You can install from source by cloning this repository and issuing a pip install
5050

5151
git clone https://github.com/aws/sagemaker-python-sdk.git
5252
python setup.py sdist
53-
pip install dist/sagemaker-1.5.1.tar.gz
53+
pip install dist/sagemaker-1.5.2.tar.gz
5454

5555
Supported Python versions
5656
~~~~~~~~~~~~~~~~~~~~~~~~~

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def read(fname):
2323

2424

2525
setup(name="sagemaker",
26-
version="1.5.1",
26+
version="1.5.2",
2727
description="Open source library for training and deploying models on Amazon SageMaker.",
2828
packages=find_packages('src'),
2929
package_dir={'': 'src'},

src/sagemaker/amazon/amazon_estimator.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,15 +276,17 @@ def registry(region_name, algorithm=None):
276276
"us-east-2": "404615174143",
277277
"us-west-2": "174872318107",
278278
"eu-west-1": "438346466558",
279-
"ap-northeast-1": "351501993468"
279+
"ap-northeast-1": "351501993468",
280+
"ap-northeast-2": "835164637446"
280281
}[region_name]
281282
elif algorithm in ["lda"]:
282283
account_id = {
283284
"us-east-1": "766337827248",
284285
"us-east-2": "999911452149",
285286
"us-west-2": "266724342769",
286287
"eu-west-1": "999678624901",
287-
"ap-northeast-1": "258307448986"
288+
"ap-northeast-1": "258307448986",
289+
"ap-northeast-2": "293181348795"
288290
}[region_name]
289291
else:
290292
raise ValueError("Algorithm class:{} doesn't have mapping to account_id with images".format(algorithm))

0 commit comments

Comments
 (0)