From 6c688acece76cc8186b40ac53c786c2e5032da87 Mon Sep 17 00:00:00 2001 From: Sewoong Lim Date: Tue, 15 Dec 2020 11:42:33 +0900 Subject: [PATCH 1/8] Update sm_train.py --- sm_train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sm_train.py b/sm_train.py index ccc2a77..24c0453 100644 --- a/sm_train.py +++ b/sm_train.py @@ -29,7 +29,7 @@ train_instance_type='ml.c4.xlarge', metric_definitions=metric_definitions, hyperparameters={ - 'epochs': 1, + 'epochs': 2, 'backend': 'gloo' }) From 8c83efe2284b40272472c080203cf6024eb178d5 Mon Sep 17 00:00:00 2001 From: Sewoong Lim Date: Tue, 15 Dec 2020 11:54:01 +0900 Subject: [PATCH 2/8] Update sm_train.py --- sm_train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sm_train.py b/sm_train.py index ccc2a77..24c0453 100644 --- a/sm_train.py +++ b/sm_train.py @@ -29,7 +29,7 @@ train_instance_type='ml.c4.xlarge', metric_definitions=metric_definitions, hyperparameters={ - 'epochs': 1, + 'epochs': 2, 'backend': 'gloo' }) From ecb03acbd117a0b3ddaff41630aa52bbf32372c1 Mon Sep 17 00:00:00 2001 From: Sewoong Lim Date: Tue, 15 Dec 2020 12:20:26 +0900 Subject: [PATCH 3/8] Update sm_train.py --- sm_train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sm_train.py b/sm_train.py index 24c0453..9c5292b 100644 --- a/sm_train.py +++ b/sm_train.py @@ -29,7 +29,7 @@ train_instance_type='ml.c4.xlarge', metric_definitions=metric_definitions, hyperparameters={ - 'epochs': 2, + 'epochs': 5, 'backend': 'gloo' }) From 598528d982d7a364e6ed96fb1bf2372bee6a4528 Mon Sep 17 00:00:00 2001 From: Sewoong Lim Date: Tue, 15 Dec 2020 12:22:15 +0900 Subject: [PATCH 4/8] Update sm_train.py --- sm_train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sm_train.py b/sm_train.py index 24c0453..9c5292b 100644 --- a/sm_train.py +++ b/sm_train.py @@ -29,7 +29,7 @@ train_instance_type='ml.c4.xlarge', metric_definitions=metric_definitions, hyperparameters={ - 'epochs': 2, + 'epochs': 5, 'backend': 'gloo' }) From 90e7811b6d850fa118006c4cafd45bff1beaa0ff Mon Sep 17 00:00:00 2001 From: Sewoong Lim Date: Tue, 15 Dec 2020 12:24:12 +0900 Subject: [PATCH 5/8] Update sm_train.py --- sm_train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sm_train.py b/sm_train.py index 9c5292b..24c0453 100644 --- a/sm_train.py +++ b/sm_train.py @@ -29,7 +29,7 @@ train_instance_type='ml.c4.xlarge', metric_definitions=metric_definitions, hyperparameters={ - 'epochs': 5, + 'epochs': 2, 'backend': 'gloo' }) From 8483f31f4410b1042688bc8a5d37a64c069a18ac Mon Sep 17 00:00:00 2001 From: Sewoong Lim Date: Tue, 15 Dec 2020 12:24:54 +0900 Subject: [PATCH 6/8] Update sm_train.yml --- .github/workflows/sm_train.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sm_train.yml b/.github/workflows/sm_train.yml index 9d5be2b..2c9630e 100644 --- a/.github/workflows/sm_train.yml +++ b/.github/workflows/sm_train.yml @@ -26,11 +26,11 @@ jobs: env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - AWS_REGION: 'us-west-2' # optional: defaults to us-east-1 - AWS_DEFAULT_REGION: 'us-west-2' + AWS_REGION: 'ap-northeast-2' # optional: defaults to us-east-1 + AWS_DEFAULT_REGION: 'ap-northeast-2' PR_NUMBER: ${{ github.event.number }} # Only available for pr (no push) GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | python sm_train.py - \ No newline at end of file + From a4789cca0376763370a5a2188f9b0f2ab19231dd Mon Sep 17 00:00:00 2001 From: Sewoong Lim Date: Tue, 15 Dec 2020 12:25:19 +0900 Subject: [PATCH 7/8] Update sm_deploy.yml --- .github/workflows/sm_deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sm_deploy.yml b/.github/workflows/sm_deploy.yml index ad0afc8..373a4a3 100644 --- a/.github/workflows/sm_deploy.yml +++ b/.github/workflows/sm_deploy.yml @@ -19,9 +19,9 @@ jobs: env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - AWS_REGION: 'us-west-2' # optional: defaults to us-east-1 - AWS_DEFAULT_REGION: 'us-west-2' + AWS_REGION: 'ap-northeast-2' # optional: defaults to us-east-1 + AWS_DEFAULT_REGION: 'ap-northeast-2' GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} PR_NUMBER: ${{ github.event.issue.number }} # Only available on issue_comment run: | - python sm_deploy.py \ No newline at end of file + python sm_deploy.py From d394288a23ea27e93ed518713a103bda49a5e170 Mon Sep 17 00:00:00 2001 From: Sewoong Lim Date: Tue, 15 Dec 2020 12:25:34 +0900 Subject: [PATCH 8/8] Update sm_delete.yml --- .github/workflows/sm_delete.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sm_delete.yml b/.github/workflows/sm_delete.yml index 1ff76fd..26608c3 100644 --- a/.github/workflows/sm_delete.yml +++ b/.github/workflows/sm_delete.yml @@ -19,9 +19,9 @@ jobs: env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - AWS_REGION: 'us-west-2' # optional: defaults to us-east-1 - AWS_DEFAULT_REGION: 'us-west-2' + AWS_REGION: 'ap-northeast-2' # optional: defaults to us-east-1 + AWS_DEFAULT_REGION: 'ap-northeast-2' GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} PR_NUMBER: ${{ github.event.issue.number }} # Only available on issue_comment run: | - python sm_delete.py \ No newline at end of file + python sm_delete.py