Skip to content

Commit b895390

Browse files
authored
Merge branch 'master' into MLFW-2344
2 parents 1e3e823 + 11b5442 commit b895390

7 files changed

+25
-5
lines changed

CHANGELOG.md

+15
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Changelog
22

3+
## v1.25.0 (2019-06-03)
4+
5+
### Features
6+
7+
* repack_model support dependencies and code location
8+
9+
### Bug fixes and other changes
10+
11+
* skip p2 tests in ap-south-east
12+
* add better default transform job name handling within Transformer
13+
14+
### Documentation changes
15+
16+
* TFS support for pre/processing functions
17+
318
## v1.24.0 (2019-05-29)
419

520
### Features

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.24.1.dev0
1+
1.25.1.dev0

tests/integ/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
HOSTING_NO_P2_REGIONS = ['ca-central-1', 'eu-central-1', 'eu-west-2', 'us-west-1']
2929
HOSTING_NO_P3_REGIONS = ['ap-southeast-1', 'ap-southeast-2', 'ap-south-1', 'ca-central-1',
3030
'eu-central-1', 'eu-west-2', 'us-west-1']
31+
TRAINING_NO_P2_REGIONS = ['ap-southeast-1', 'ap-southeast-2']
3132

3233
# EI is currently only supported in the following regions
3334
# regions were derived from https://aws.amazon.com/machine-learning/elastic-inference/pricing/

tests/integ/test_chainer_train.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ def test_distributed_cpu_training(sagemaker_session, chainer_full_version):
3636
_run_mnist_training_job(sagemaker_session, "ml.c4.xlarge", 2, chainer_full_version)
3737

3838

39-
@pytest.mark.skipif(tests.integ.test_region() in tests.integ.HOSTING_NO_P2_REGIONS,
39+
@pytest.mark.skipif(tests.integ.test_region() in tests.integ.HOSTING_NO_P2_REGIONS
40+
or tests.integ.test_region() in tests.integ.TRAINING_NO_P2_REGIONS,
4041
reason='no ml.p2 instances in these regions')
4142
def test_distributed_gpu_training(sagemaker_session, chainer_full_version):
4243
_run_mnist_training_job(sagemaker_session, "ml.p2.xlarge", 2, chainer_full_version)

tests/integ/test_pytorch_train.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ def test_deploy_model(pytorch_training_job, sagemaker_session):
7575
assert output.shape == (batch_size, 10)
7676

7777

78-
@pytest.mark.skipif(tests.integ.test_region() in tests.integ.HOSTING_NO_P2_REGIONS,
78+
@pytest.mark.skipif(tests.integ.test_region() in tests.integ.HOSTING_NO_P2_REGIONS
79+
or tests.integ.test_region() in tests.integ.TRAINING_NO_P2_REGIONS,
7980
reason='no ml.p2 instances in these regions')
8081
def test_async_fit_deploy(sagemaker_session, pytorch_full_version):
8182
training_job_name = ""

tests/integ/test_tf_cifar.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ def __call__(self, data):
3838
@pytest.mark.canary_quick
3939
@pytest.mark.skipif(tests.integ.PYTHON_VERSION != 'py2',
4040
reason="TensorFlow image supports only python 2.")
41-
@pytest.mark.skipif(tests.integ.test_region() in tests.integ.HOSTING_NO_P2_REGIONS,
41+
@pytest.mark.skipif(tests.integ.test_region() in tests.integ.HOSTING_NO_P2_REGIONS
42+
or tests.integ.test_region() in tests.integ.TRAINING_NO_P2_REGIONS,
4243
reason='no ml.p2 instances in these regions')
4344
def test_cifar(sagemaker_session, tf_full_version):
4445
with timeout(minutes=45):

tests/integ/test_tf_script_mode.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
'ml.c5.xlarge',
4343
pytest.param('ml.p2.xlarge',
4444
marks=pytest.mark.skipif(
45-
tests.integ.test_region() in tests.integ.HOSTING_NO_P2_REGIONS,
45+
tests.integ.test_region() in tests.integ.HOSTING_NO_P2_REGIONS
46+
or tests.integ.test_region() in tests.integ.TRAINING_NO_P2_REGIONS,
4647
reason='no ml.p2 instances in this region'))])
4748
def instance_type(request):
4849
return request.param

0 commit comments

Comments
 (0)