mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-06-24 14:33:20 +00:00
[devops] fix chat ci (#3628)
This commit is contained in:
parent
d7bf284706
commit
179558a87a
4
.github/workflows/run_chatgpt_examples.yml
vendored
4
.github/workflows/run_chatgpt_examples.yml
vendored
@ -13,6 +13,10 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
tests:
|
tests:
|
||||||
name: Run ChatGPT examples
|
name: Run ChatGPT examples
|
||||||
|
if: |
|
||||||
|
github.event.pull_request.draft == false &&
|
||||||
|
github.base_ref == 'main' &&
|
||||||
|
github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI'
|
||||||
runs-on: [self-hosted, gpu]
|
runs-on: [self-hosted, gpu]
|
||||||
container:
|
container:
|
||||||
image: hpcaitech/pytorch-cuda:1.12.0-11.3.0
|
image: hpcaitech/pytorch-cuda:1.12.0-11.3.0
|
||||||
|
16
.github/workflows/run_chatgpt_unit_tests.yml
vendored
16
.github/workflows/run_chatgpt_unit_tests.yml
vendored
@ -4,16 +4,20 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
types: [synchronize, opened, reopened]
|
types: [synchronize, opened, reopened]
|
||||||
paths:
|
paths:
|
||||||
- 'applications/ChatGPT/chatgpt/**'
|
- 'applications/Chat/coati/**'
|
||||||
- 'applications/ChatGPT/requirements.txt'
|
- 'applications/Chat/requirements.txt'
|
||||||
- 'applications/ChatGPT/setup.py'
|
- 'applications/Chat/setup.py'
|
||||||
- 'applications/ChatGPT/requirements-test.txt'
|
- 'applications/Chat/requirements-test.txt'
|
||||||
- 'applications/ChatGPT/tests/**'
|
- 'applications/Chat/tests/**'
|
||||||
- 'applications/ChatGPT/pytest.ini'
|
- 'applications/Chat/pytest.ini'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
tests:
|
tests:
|
||||||
name: Run ChatGPT unit tests
|
name: Run ChatGPT unit tests
|
||||||
|
if: |
|
||||||
|
github.event.pull_request.draft == false &&
|
||||||
|
github.base_ref == 'main' &&
|
||||||
|
github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI'
|
||||||
runs-on: [self-hosted, gpu]
|
runs-on: [self-hosted, gpu]
|
||||||
container:
|
container:
|
||||||
image: hpcaitech/pytorch-cuda:1.12.0-11.3.0
|
image: hpcaitech/pytorch-cuda:1.12.0-11.3.0
|
||||||
|
Loading…
Reference in New Issue
Block a user