DeepSpeed Build #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: DeepSpeed Build | |
on: | |
workflow_dispatch: | |
inputs: | |
tag: | |
description: 'The tag of the docker image to use for build' | |
required: true | |
default: 'paladinium/alltalk_deepspeed:latest' | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Free Disk Space (Ubuntu) | |
uses: jlumbroso/[email protected] | |
with: | |
tool-cache: false | |
android: true | |
dotnet: true | |
haskell: true | |
large-packages: true | |
docker-images: false | |
swap-storage: true | |
- name: Install NVIDIA CUDA Toolkit | |
uses: Jimver/[email protected] | |
id: cuda-toolkit | |
with: | |
cuda: '12.4.1' | |
- name: Run the build process with Docker | |
uses: addnab/docker-run-action@v3 | |
with: | |
image: ${{ github.event.inputs.tag }} | |
options: -v ${{ github.workspace }}/build:/deepspeed --gpus=all -it | |
run: | | |
/build_deepspeed.sh | |
- name: Upload whl as artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: 'deepspeed-whl' | |
path: ${{ github.workspace }}/build/*.whl |