Skip to content

Demo – minimal EC2 GPU job #2

Demo – minimal EC2 GPU job

Demo – minimal EC2 GPU job #2

name: Demo – minimal EC2 GPU runner
on:
workflow_dispatch:
workflow_call: # Tested by `demos.yml`
permissions:
id-token: write # Required for AWS OIDC authentication
contents: read # Required for actions/checkout
jobs:
ec2:
# To use from another repo: Open-Athena/ec2-gha/.github/workflows/runner.yml
uses: ./.github/workflows/runner.yml
secrets: inherit
with:
ec2_instance_type: t3.medium
ec2_image_id: ami-0e86e20dae9224db8 # Ubuntu 24.04 LTS x86_64 (us-east-1)
gpu-test:
needs: ec2
runs-on: ${{ needs.ec2.outputs.id }}
steps:
- run: nvidia-smi # Verify GPU is available