Skip to content

Commit

Permalink
Merge branch 'master' into gma/launch_opbuilder_detection
Browse files Browse the repository at this point in the history
  • Loading branch information
tjruwase authored Mar 1, 2024
2 parents 04bd061 + 857584f commit 9116302
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/nv-mii.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ name: nv-mii

on:
workflow_dispatch:
inputs:
mii_branch:
description: 'DeepSpeed-MII Branch'
required: false
default: 'main'
type: string
pull_request:
paths:
- '.github/workflows/nv-mii.yml'
Expand Down Expand Up @@ -55,7 +61,12 @@ jobs:
- name: MII unit tests
run: |
git clone https://github.com/microsoft/DeepSpeed-MII.git
BRANCH="main"
if [[ ! -z "${{ github.event.inputs.mii_branch }}" ]]; then
BRANCH="${{ github.event.inputs.mii_branch }}"
fi
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]
unset TORCH_CUDA_ARCH_LIST # only jit compile for current arch
Expand Down

0 comments on commit 9116302

Please sign in to comment.