Skip to content

Commit

Permalink
Change PR/schedule triggers for CPU-inference (microsoft#4924)
Browse files Browse the repository at this point in the history
Update triggers for cpu-inference and nv-inference.

- cpu-inference changes: set CI to be weekly, added triggers to run when
deepspeed/inference folders are modified.
- nv-inference: updated triggers to be similar to cpu-inference.

---------

Co-authored-by: Michael Wyatt <[email protected]>
  • Loading branch information
loadams and mrwyattii authored Jan 9, 2024
1 parent 5457363 commit 43eba77
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/cpu-inference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,19 @@ name: cpu-inference

on:
pull_request:
paths-ignore:
- 'docs/**'
- 'blogs/**'
paths:
- '.github/workflows/cpu-inference.yml'
- 'requirements/**'
- 'deepspeed/__init__.py'
- 'deepspeed/inference/**'
- '!deepspeed/inference/v2/**' # exclude v2 dir
- 'tests/unit/inference/**'
- '!tests/unit/inference/v2/**' # exclude v2 tests dir
workflow_dispatch:
merge_group:
branches: [ master ]

schedule:
- cron: "0 0 * * 0"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/nv-inference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ name: nv-inference

on:
pull_request:
paths-ignore:
- 'docs/**'
- 'blogs/**'
- 'deepspeed/inference/v2/**'
- 'tests/unit/inference/v2/**'
paths:
- '.github/workflows/nv-inference.yml'
- 'requirements/**'
- 'deepspeed/__init__.py'
- 'deepspeed/inference/**'
- '!deepspeed/inference/v2/**' # exclude v2 dir
- 'tests/unit/inference/**'
- '!tests/unit/inference/v2/**' # exclude v2 tests dir
merge_group:
branches: [ master ]
schedule:
Expand Down

0 comments on commit 43eba77

Please sign in to comment.