modrec-workflow/.riahub/workflows/workflow.yaml

78 lines
1.5 KiB
YAML
Raw Normal View History

2025-05-14 15:40:08 -04:00
name: RIA Hub Workflow Demo
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
ria-demo:
2025-05-14 15:42:12 -04:00
runs-on: ubuntu-latest
2025-05-14 15:40:08 -04:00
steps:
- name: Print GPU information
run: |
if command -v nvidia-smi &> /dev/null; then
echo "✅ NVIDIA GPU is available"
nvidia-smi
else
echo "⚠️ No NVIDIA GPU found"
fi
- name: Checkout code
uses: actions/checkout@v4
with:
lfs: true
- name: Set up Python
uses: actions/setup-python@v4
with:
2025-05-14 15:44:12 -04:00
python-version: "3.10"
2025-05-14 15:40:08 -04:00
- name: 1. Build Dataset
run: |
echo "building dataset"
# Placeholder: implement conversion from raw .npy recordings → train/val sets
- name: 2. Train Model
run: |
echo "training model"
# Placeholder: train your model, save best checkpoint
- name: 3. Build inference app
run: |
echo "building inference app"
# Placeholder: export a CLI or server into dist/
2025-05-14 15:44:12 -04:00
# - name: Upload Dataset Artifacts
# uses: actions/upload-artifact@v3
# with:
# name: ria-dataset
# path: data/**
2025-05-14 15:40:08 -04:00
2025-05-14 15:44:12 -04:00
# - name: Upload Checkpoints
# uses: actions/upload-artifact@v3
# with:
# name: ria-checkpoints
# path: checkpoints/**
2025-05-14 15:40:08 -04:00
2025-05-14 15:44:12 -04:00
# - name: Upload Inference App
# uses: actions/upload-artifact@v3
# with:
# name: ria-demo-app
# path: dist/**
2025-05-14 15:40:08 -04:00