Skip to content

Commit

Permalink
Allow specifying mii branch for nv-a6000 workflow (#4936)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrwyattii authored Jan 11, 2024
1 parent ee7db48 commit 4738985
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/nv-a6000.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ on:
- 'tests/unit/inference/v2/**'
- '.github/workflows/nv-a6000.yml'
workflow_dispatch:
inputs:
mii_branch:
description: 'DeepSpeed-MII Branch'
required: false
default: 'main'
type: string

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -54,7 +60,9 @@ jobs:
python -m pytest --color=yes --durations=0 --verbose -rF -m 'inference_v2_ops' unit/ --torch_ver="2.0" --cuda_ver="12"
- name: MII unit tests
run: |
git clone --depth=1 https://github.com/microsoft/DeepSpeed-MII.git
BRANCH="${{ github.event.inputs.mii_branch }}"
echo "Cloning DeepSpeed-MII branch: $BRANCH"
git clone -b $BRANCH --depth=1 https://github.com/microsoft/DeepSpeed-MII.git
cd DeepSpeed-MII
pip install .[dev]
cd tests
Expand Down

0 comments on commit 4738985

Please sign in to comment.