This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
NVIDIA full run #11
Workflow file for this run
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: NVIDIA full run | |
on: | |
workflow_dispatch: | |
inputs: | |
tag: | |
description: tag to label this run in DB | |
required: true | |
default: "test" | |
shutdown_cloud_runner: | |
description: Shutdown aws runner at the end | |
default: true | |
type: boolean | |
test_scripts: | |
description: Test scripts to execute | |
required: false | |
default: '["./mlp.sh", "./cnn.sh", "./llm.sh"]' | |
type: string | |
jobs: | |
print_inputs: | |
runs-on: Linux | |
steps: | |
- name: Print Inputs | |
run: echo "${{ toJSON(github.event.inputs) }}" | |
mlp_test: | |
strategy: | |
matrix: | |
type: [ | |
{device: 'cuda', compiler: 'torch'}, | |
{device: 'cuda', compiler: 'dynamo'}, | |
] | |
test_script: ${{ fromJson(inputs.test_scripts) }} | |
fail-fast: false | |
uses: ./.github/workflows/execute-test-script.yml | |
with: | |
compiler: ${{ matrix.type.compiler }} | |
device: ${{ matrix.type.device }} | |
tag: ${{ inputs.tag }} | |
runner_type: a100 | |
test_script: ${{ matrix.test_script }} | |
secrets: | |
DB_URL: ${{ secrets.DB_URL }} | |
shutdown: | |
runs-on: a100 | |
if: inputs.shutdown_cloud_runner | |
needs: mlp_test | |
steps: | |
- name: shutdown | |
shell: bash -el {0} | |
run: sudo shutdown -h +2 |