torch-extras #5
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
on: | |
workflow_call: | |
inputs: | |
tag: | |
required: true | |
type: string | |
base-image: | |
required: true | |
type: string | |
workflow_dispatch: | |
inputs: | |
tag: | |
required: true | |
description: "Tag suffix to identify the build" | |
type: string | |
base-image: | |
required: true | |
description: "Base image for the build" | |
type: string | |
jobs: | |
build: | |
strategy: | |
matrix: | |
flash-attn: [ 2.0.2, 1.0.9 ] | |
uses: ./.github/workflows/build.yml | |
with: | |
image-name: torch-extras | |
folder: torch-extras | |
tag-suffix: ${{ inputs.tag }}-flash_attn${{ matrix.flash-attn }} | |
build-args: | | |
BASE_IMAGE=${{ inputs.base-image }} | |
FLASH_ATTN_VERSION=${{ matrix.flash-attn }} |