Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ds-chat workflow to work w/ deepspeed-chat install #4598

Merged
merged 8 commits into from
Nov 8, 2023
17 changes: 11 additions & 6 deletions .github/workflows/nv-ds-chat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,7 @@ jobs:
pip install .[dev]
ds_report

- name: Python environment
run: |
pip list

- name: DS-Chat unit tests
- name: Install deepspeed-chat
run: |
BRANCH="master"
if [[ ! -z "${{ github.event.inputs.dse_branch }}" ]]; then
Expand All @@ -50,8 +46,17 @@ jobs:
git clone -b $BRANCH https://github.com/microsoft/DeepSpeedExamples.git
cd DeepSpeedExamples/applications/DeepSpeed-Chat
pip install -r requirements.txt
pip install -e .

- name: Python environment
run: |
pip list

- name: DS-Chat unit tests
run: |
cd DeepSpeedExamples/applications/DeepSpeed-Chat
unset TORCH_CUDA_ARCH_LIST # only jit compile for current arch
cd training/tests
cd tests
pytest $PYTEST_OPTS ./

- name: Open GitHub issue if nightly CI fails
Expand Down