Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/sm_delete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
python sm_delete.py
6 changes: 3 additions & 3 deletions .github/workflows/sm_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
python sm_deploy.py
6 changes: 3 additions & 3 deletions .github/workflows/sm_train.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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



2 changes: 1 addition & 1 deletion sm_train.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
train_instance_type='ml.c4.xlarge',
metric_definitions=metric_definitions,
hyperparameters={
'epochs': 1,
'epochs': 2,
'backend': 'gloo'
})

Expand Down