Skip to content

torch-extras

torch-extras #5

Workflow file for this run

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 }}