updated workflow file, deleted initial dataset file created

This commit is contained in:
Liyu Xiao 2025-05-15 10:55:36 -04:00
parent 9a4b781277
commit 5e5a320bc5
2 changed files with 49 additions and 53 deletions

View File

@ -1,64 +1,63 @@
name: RIA Hub Workflow Demo name: RIA Hub Workflow Demo
on:
push:
branches: [main]
pull_request:
branches: [main]
on:
push:
branches:
[main]
pull_request:
branches:
[main]
jobs: jobs:
ria-demo: ria-demo:
runs-on: ubuntu-latest runs-on: ubuntu-latest
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
steps: - name: Checkout code
- name: Print GPU information uses: actions/checkout@v4
run: | with:
if command -v nvidia-smi &> /dev/null; then lfs: true
echo "✅ NVIDIA GPU is available"
nvidia-smi
else
echo "⚠️ No NVIDIA GPU found"
fi
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Checkout code - name: Install dependencies
uses: actions/checkout@v4 run: |
with: python -m pip install --upgrade pip
lfs: true pip install h5py numpy
- name: 1. Build HDF5 Dataset
run: |
mkdir -p data
python produce_dataset.py
echo "dataset produced successfully"
- name: Set up Python - name: 2. Train Model
uses: actions/setup-python@v4 run: |
with: echo "training model"
python-version: "3.10" # Placeholder
- name: 3. Build inference app
run: |
echo "building inference app"
# Placeholder
- name: Upload Dataset Artifacts
- name: 1. Build Dataset uses: actions/upload-artifact@v3
run: | with:
python produce_dataset.py name: ria-dataset
# Placeholder: implement conversion from raw .npy recordings → train/val sets path: data/**
- 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/
# - name: Upload Dataset Artifacts
# uses: actions/upload-artifact@v3
# with:
# name: ria-dataset
# path: data/**
# - name: Upload Checkpoints # - name: Upload Checkpoints
# uses: actions/upload-artifact@v3 # uses: actions/upload-artifact@v3
@ -72,6 +71,3 @@ jobs:
# with: # with:
# name: ria-demo-app # name: ria-demo-app
# path: dist/** # path: dist/**

Binary file not shown.