Skip to content

Commit

Permalink
Merge branch 'meta-project:main' into multi-comm
Browse files Browse the repository at this point in the history
  • Loading branch information
Tonny-Gu authored Feb 10, 2022
2 parents e9ede20 + d0da258 commit 3395d68
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ defaults:

jobs:
lint:
runs-on: ubuntu-latest
if: github.repository == 'meta-project/meta'
runs-on: self-hosted
container:
image: metaprojdev/meta:ci_cpu-v0.18
steps:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci_unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ defaults:

jobs:
check_status:
runs-on: ubuntu-latest
runs-on: self-hosted
outputs:
cpu_image: "metaprojdev/meta:ci_cpu-v0.18"
gpu_image: "metaprojdev/meta:ci_gpu-v0.20"
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
test_on_cpu:
needs: [check_status]
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- uses: haya14busa/action-workflow_run-status@v1
- name: List environments
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
test_on_gpu:
needs: [check_status]
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- uses: haya14busa/action-workflow_run-status@v1
- name: List environments
Expand Down Expand Up @@ -160,7 +160,7 @@ jobs:
test_on_multi_gpu:
needs: [check_status]
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- uses: haya14busa/action-workflow_run-status@v1
- name: List environments
Expand Down
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
MNM
================
Meta
====

[![CI-Lint](https://github.com/meta-project/meta/actions/workflows/ci_lint.yml/badge.svg)](https://github.com/meta-project/meta/actions/workflows/ci_lint.yml)
[![CI-UnitTest](https://github.com/meta-project/meta/actions/workflows/ci_unit_test.yml/badge.svg)](https://github.com/meta-project/meta/actions/workflows/ci_unit_test.yml)



Please refer to our [wiki](https://github.com/dmlc/mnm/wiki) for more information.

Expand Down
6 changes: 2 additions & 4 deletions ci/batch/submit-job.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,6 @@ def main():
tprint("Submitted job %s: %s (ID: %s) to the queue %s" % (job_def, job_name, job_id, job_queue))

running = False
status_set = set()
start_timestamp = 0
log_stream_name = None
while wait:
Expand Down Expand Up @@ -336,9 +335,8 @@ def main():
fetch_cloud_watch_logs(aws_cloudwatch_logs, log_stream_name, start_timestamp)
+ 1
)
elif status not in status_set:
status_set.add(status)
tprint("[%s (%s)] Moved to status %s" % (job_name, job_id, status))
else:
tprint("[%s (%s)] Now at status %s" % (job_name, job_id, status))
sys.stdout.flush()


Expand Down

0 comments on commit 3395d68

Please sign in to comment.