This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
more configs #1
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: Run mlp test on requested platforms | ||
on: | ||
workflow_call: | ||
inputs: | ||
conda_env: | ||
required: true | ||
type: string | ||
description: Name of conda env | ||
compiler: | ||
required: true | ||
type: string | ||
description: Type of JIT to use | ||
device: | ||
required: true | ||
type: string | ||
description: Type of engine to use | ||
secrets: | ||
DB_URL: | ||
required: true | ||
jobs: | ||
mlp_test: | ||
runs-on: | ||
- self-hosted | ||
- glados | ||
strategy: | ||
matrix: | ||
bname: | ||
- size2 | ||
- size3 | ||
- size4 | ||
- size5 | ||
- size5_sigm | ||
- size5_tanh | ||
- size5_gelu | ||
- size5_linear | ||
- size5_inplace | ||
- size5_bn | ||
- size5_bn_gelu | ||
- size5_drop_gelu | ||
- 100@512 | ||
- 25@1024 | ||
- 4@16384 | ||
- 2@16384 | ||
batch_size: | ||
- 1024 | ||
include: | ||
[bname: 'size5', batch_size: 1] | ||
[bname: 'size5', batch_size: 16] | ||
[bname: 'size5', batch_size: 256] | ||
[bname: 'size5', batch_size: 2048] | ||
[bname: 'size5', batch_size: 8196] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/initial_setup | ||
with: | ||
conda_env: ${{ inputs.conda_env }} | ||
compiler: ${{ inputs.compiler }} | ||
- name: Run MLP test on specific compiler | ||
shell: bash -el {0} | ||
run: | | ||
benchmark-run \ | ||
--host spr \ | ||
--benchmark mlp \ | ||
-p "name='${{ matrix.bname }}',batch_size=${{ matrix.batch_size }}" | ||
--backend_desc "${{ matrix.bname }}_bs${{ matrix.batch_size }}" \ | ||
--compiler "${{ inputs.compiler }}" \ | ||
--device ${{ inputs.device }} \ | ||
-v --url ${{ secrets.DB_URL }} |