Skip to content

Commit 12fd7ef

Browse files
authored
change: move script mode branch to master (#234)
1 parent c8963f3 commit 12fd7ef

File tree

182 files changed

+5410
-9440
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

182 files changed

+5410
-9440
lines changed

.coveragerc_py27

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[run]
2+
branch = True
3+
timid = True
4+
5+
[report]
6+
exclude_lines =
7+
pragma: no cover
8+
pragma: py2 no cover
9+
if six.PY3
10+
elif six.PY3
11+
12+
partial_branches =
13+
pragma: no cover
14+
pragma: py2 no cover
15+
if six.PY3
16+
elif six.PY3
17+
18+
show_missing = True
19+
20+
fail_under = 75

.coveragerc_py36

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[run]
2+
branch = True
3+
timid = True
4+
5+
[report]
6+
exclude_lines =
7+
pragma: no cover
8+
pragma: py3 no cover
9+
if six.PY2
10+
elif six.PY2
11+
12+
partial_branches =
13+
pragma: no cover
14+
pragma: py3 no cover
15+
if six.PY3
16+
elif six.PY3
17+
18+
show_missing = True
19+
20+
fail_under = 90

.flake8

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[flake8]
2+
application_import_names = sagemaker_tensorflow_container, test, timeout, utils
3+
import-order-style = google

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,8 @@ dist
33
**/*.egg-info
44
.DS_Store
55
.idea/
6-
*.iml
6+
*.iml
7+
**/.ipynb_checkpoints
8+
**/.python-version
9+
.tox
10+
*~

CHANGELOG.md

Lines changed: 295 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,295 @@
1+
# Changelog
2+
3+
## v2.0.7 (2019-08-15)
4+
5+
### Bug fixes and other changes
6+
7+
* update no-p2 and no-p3 regions.
8+
9+
## v2.0.6 (2019-08-01)
10+
11+
### Bug fixes and other changes
12+
13+
* fix horovod mnist script
14+
15+
## v2.0.5 (2019-06-17)
16+
17+
### Bug fixes and other changes
18+
19+
* bump sagemaker-containers version to 2.4.10
20+
* add hyperparameter tuning test
21+
22+
## v2.0.4 (2019-06-06)
23+
24+
### Bug fixes and other changes
25+
26+
* fix integ test errors when running with py2
27+
28+
## v2.0.3 (2019-06-06)
29+
30+
### Bug fixes and other changes
31+
32+
* only run one test during deployment
33+
34+
## v2.0.2 (2019-06-04)
35+
36+
### Bug fixes and other changes
37+
38+
* resolve pluggy version conflict
39+
40+
## v2.0.1 (2019-06-03)
41+
42+
### Bug fixes and other changes
43+
44+
* remove non-ascii character in CHANGELOG
45+
* remove extra comma in buildspec-release.yml
46+
47+
## v2.0.0 (2019-06-03)
48+
49+
### Bug fixes and other changes
50+
51+
* Parameterize processor and py_version for test runs
52+
* use unique name for integration job hyperparameter tuning job
53+
* fix flake8 errors and add flake8 run in buildspec.yml
54+
* skip gpu SageMaker test in regions with limited amount of p2/3 instances
55+
* skip setup on second remote run
56+
* add setup file back
57+
* add branch name to remote gpu test run command
58+
* remove setup file in release build gpu test
59+
* ignore coverage in release build tests
60+
* use tar file name as framework_support_installable in build_all.py
61+
* Add release build
62+
* Explicitly set lower-bound for botocore version
63+
* Pull request to test codebuild trigger on TensorFlow script mode
64+
* Update integ test for checking Python version
65+
* Upgrade to TensorFlow 1.13.1
66+
* Add mpi4py to pip installs
67+
* Add SageMaker integ test for hyperparameter tuning model_dir logic
68+
* Add Horovod benchmark
69+
* Fix model_dir adjustment for hyperparameter tuning jobs
70+
* change model_dir to training job name if it is for tuning.
71+
* Tune test_s3_plugin test
72+
* Skip the s3_plugin test before new binary released
73+
* Add model saving warning at end of training
74+
* Specify region when creating S3 resource in integ tests
75+
* Fix instance_type fixture setup for tests
76+
* Read framework version from Python SDK for integ test default
77+
* Fix SageMaker Session handling in Horovod test
78+
* Configure encoding to be utf-8
79+
* Use the test argement framework_version in all tests
80+
* Fix broken test test_distributed_mnist_no_ps
81+
* Add S3 plugin tests
82+
* Skip horovod local CPU test in GPU instances
83+
* Add Horovod tests
84+
* Skip horovod integration tests
85+
* TensorFlow 1.12 and Horovod support
86+
* Deprecate get_marker. Use get_closest_marker instead
87+
* Force parameter server to run on CPU
88+
* Add python-dev and build-essential to Dockerfiles
89+
* Update script_mode_train_any_tf_script_in_sage_maker.ipynb
90+
* Skip keras local mode test on gpu and use random port for serving in the test
91+
* Fix Keras test
92+
* Create parameter server in different thread
93+
* Add Keras support
94+
* Fix broken unit tests
95+
* Unset CUDA_VISIBLE_DEVICES for worker processes
96+
* Disable GPU for parameter process
97+
* Set parameter process waiting to False
98+
* Update sagemaker containers
99+
* GPU fix
100+
* Set S3 environment variables
101+
* Add CI configuration files
102+
* Add distributed training support
103+
* Edited the tf script mode notebook
104+
* Add benchmarking script
105+
* Add Script Mode example
106+
* Add integration tests to run training jobs with sagemaker
107+
* Add tox.ini and configure coverage and flake runs
108+
* Scriptmode single machine training implementation
109+
* Update region in s3 boto client in serve
110+
* Update readme with instructions for 1.9.0 and above
111+
* Fix deserialization of dicts for json predict requests
112+
* Add dockerfile and update test for tensorflow 1.10.0
113+
* Support tensorflow 1.9.0
114+
* Add integ tests to verify that tensorflow in gpu-image can access gpu-devices.
115+
* train on 3 epochs for pipe mode test
116+
* Change error classes used by _default_input_fn() and _default_output_fn()
117+
* Changing assertion to check only existence
118+
* Install sagemaker-tensorflow from pypi. Add MKL environment variables for TF 1.8
119+
* get most recent saved model to export
120+
* pip install tensorflow 1.8 in 1.8 cpu image
121+
* install tensorflow extensions
122+
* upgrade cpu binaries in docker build
123+
* Force upgrade of the framework binaries to make sure the right binaries are installed.
124+
* Add Pillow to pip install list
125+
* Increase train steps for cifar distributed test to mitigate race condition
126+
* Add TensorFlow 1.8 dockerfiles
127+
* Add TensorFlow 1.7 dockerfiles
128+
* Explain how to download tf binaries from PyPI
129+
* Allow training without S3
130+
* Fix hyperparameter name for detecting a tuning job
131+
* Checkout v1.4.1 tag instead of r1.4 branch
132+
* Move processing of requirements file in.
133+
* Generate checkpoint path using TRAINING_JOB_NAME environment variable if needed
134+
* Wrap user-provided model_fn to pass arguments positionally (maintains compatibility with existing behavior)
135+
* Add more unit tests for trainer, fix __all__ and rename train.py to avoid import conflict
136+
* Use regional endpoint for S3 client
137+
* Update README.rst
138+
* Pass input_channels to eval_input_fn if defined
139+
* Fix setup.py to refer to renamed README
140+
* Add test and build instructions
141+
* Fix year in license headers
142+
* Add TensorFlow 1.6
143+
* Add test instructions in README
144+
* Add container support to install_requires
145+
* Add Apache license headers
146+
* Use wget to install tensorflow-model-server
147+
* Fix file path for integ test
148+
* Fix s3_prefix path in integ test
149+
* Fix typo in path for integ test
150+
* Add input_channels to train_input_fn interface.
151+
* Update logging and make serving_input_fn optional.
152+
* remove pip install in tensorflow training
153+
* Modify integration tests to run nvidia-docker for gpu
154+
* add h5py for keras models
155+
* Add local integ tests & resources
156+
* Restructure repo to use a directory per TF version for dockerfiles
157+
* Rename "feature_map" variables to "feature_dict" to avoid overloading it with the ML term "feature map"
158+
* Copying in changes from internal repo:
159+
* Add functional test
160+
* Fix FROM image names for final build dockerfiles
161+
* Add dockerfiles for building our production images (TF 1.4)
162+
* GPU Dockerfile and setup.py fixes
163+
* Add base image Dockerfiles for 1.4
164+
* Merge pull request #1 from aws/mvs-first-commit
165+
* first commit
166+
* Updating initial README.md from template
167+
* Creating initial file from template
168+
* Creating initial file from template
169+
* Creating initial file from template
170+
* Creating initial file from template
171+
* Creating initial file from template
172+
* Initial commit
173+
174+
## v0.1.0 (2019-05-22)
175+
176+
### Bug fixes and other changes
177+
178+
* skip setup on second remote run
179+
* add setup file back
180+
* add branch name to remote gpu test run command
181+
* remove setup file in release build gpu test
182+
* ignore coverage in release build tests
183+
* use tar file name as framework_support_installable in build_all.py
184+
* Add release build
185+
* Explicitly set lower-bound for botocore version
186+
* Pull request to test codebuild trigger on TensorFlow script mode
187+
* Update integ test for checking Python version
188+
* Upgrade to TensorFlow 1.13.1
189+
* Add mpi4py to pip installs
190+
* Add SageMaker integ test for hyperparameter tuning model_dir logic
191+
* Add Horovod benchmark
192+
* Fix model_dir adjustment for hyperparameter tuning jobs
193+
* change model_dir to training job name if it is for tuning.
194+
* Tune test_s3_plugin test
195+
* Skip the s3_plugin test before new binary released
196+
* Add model saving warning at end of training
197+
* Specify region when creating S3 resource in integ tests
198+
* Fix instance_type fixture setup for tests
199+
* Read framework version from Python SDK for integ test default
200+
* Fix SageMaker Session handling in Horovod test
201+
* Configure encoding to be utf-8
202+
* Use the test argement framework_version in all tests
203+
* Fix broken test test_distributed_mnist_no_ps
204+
* Add S3 plugin tests
205+
* Skip horovod local CPU test in GPU instances
206+
* Add Horovod tests
207+
* Skip horovod integration tests
208+
* TensorFlow 1.12 and Horovod support
209+
* Deprecate get_marker. Use get_closest_marker instead
210+
* Force parameter server to run on CPU
211+
* Add python-dev and build-essential to Dockerfiles
212+
* Update script_mode_train_any_tf_script_in_sage_maker.ipynb
213+
* Skip keras local mode test on gpu and use random port for serving in the test
214+
* Fix Keras test
215+
* Create parameter server in different thread
216+
* Add Keras support
217+
* Fix broken unit tests
218+
* Unset CUDA_VISIBLE_DEVICES for worker processes
219+
* Disable GPU for parameter process
220+
* Set parameter process waiting to False
221+
* Update sagemaker containers
222+
* GPU fix
223+
* Set S3 environment variables
224+
* Add CI configuration files
225+
* Add distributed training support
226+
* Edited the tf script mode notebook
227+
* Add benchmarking script
228+
* Add Script Mode example
229+
* Add integration tests to run training jobs with sagemaker
230+
* Add tox.ini and configure coverage and flake runs
231+
* Scriptmode single machine training implementation
232+
* Update region in s3 boto client in serve
233+
* Update readme with instructions for 1.9.0 and above
234+
* Fix deserialization of dicts for json predict requests
235+
* Add dockerfile and update test for tensorflow 1.10.0
236+
* Support tensorflow 1.9.0
237+
* Add integ tests to verify that tensorflow in gpu-image can access gpu-devices.
238+
* train on 3 epochs for pipe mode test
239+
* Change error classes used by _default_input_fn() and _default_output_fn()
240+
* Changing assertion to check only existence
241+
* Install sagemaker-tensorflow from pypi. Add MKL environment variables for TF 1.8
242+
* get most recent saved model to export
243+
* pip install tensorflow 1.8 in 1.8 cpu image
244+
* install tensorflow extensions
245+
* upgrade cpu binaries in docker build
246+
* Force upgrade of the framework binaries to make sure the right binaries are installed.
247+
* Add Pillow to pip install list
248+
* Increase train steps for cifar distributed test to mitigate race condition
249+
* Add TensorFlow 1.8 dockerfiles
250+
* Add TensorFlow 1.7 dockerfiles
251+
* Explain how to download tf binaries from PyPI
252+
* Allow training without S3
253+
* Fix hyperparameter name for detecting a tuning job
254+
* Checkout v1.4.1 tag instead of r1.4 branch
255+
* Move processing of requirements file in.
256+
* Generate checkpoint path using TRAINING_JOB_NAME environment variable if needed
257+
* Wrap user-provided model_fn to pass arguments positionally (maintains compatibility with existing behavior)
258+
* Add more unit tests for trainer, fix __all__ and rename train.py to avoid import conflict
259+
* Use regional endpoint for S3 client
260+
* Update README.rst
261+
* Pass input_channels to eval_input_fn if defined
262+
* Fix setup.py to refer to renamed README
263+
* Add test and build instructions
264+
* Fix year in license headers
265+
* Add TensorFlow 1.6
266+
* Add test instructions in README
267+
* Add container support to install_requires
268+
* Add Apache license headers
269+
* Use wget to install tensorflow-model-server
270+
* Fix file path for integ test
271+
* Fix s3_prefix path in integ test
272+
* Fix typo in path for integ test
273+
* Add input_channels to train_input_fn interface.
274+
* Update logging and make serving_input_fn optional.
275+
* remove pip install in tensorflow training
276+
* Modify integration tests to run nvidia-docker for gpu
277+
* add h5py for keras models
278+
* Add local integ tests & resources
279+
* Restructure repo to use a directory per TF version for dockerfiles
280+
* Rename "feature_map" variables to "feature_dict" to avoid overloading it with the ML term "feature map"
281+
* Copying in changes from internal repo:
282+
* Add functional test
283+
* Fix FROM image names for final build dockerfiles
284+
* Add dockerfiles for building our production images (TF 1.4)
285+
* GPU Dockerfile and setup.py fixes
286+
* Add base image Dockerfiles for 1.4
287+
* Merge pull request #1 from aws/mvs-first-commit
288+
* first commit
289+
* Updating initial README.md from template
290+
* Creating initial file from template
291+
* Creating initial file from template
292+
* Creating initial file from template
293+
* Creating initial file from template
294+
* Creating initial file from template
295+
* Initial commit

CODE_OF_CONDUCT.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)