diff --git a/.riahub/workflows/workflow.yaml b/.riahub/workflows/workflow.yaml index 0d85d47..b405f4e 100644 --- a/.riahub/workflows/workflow.yaml +++ b/.riahub/workflows/workflow.yaml @@ -1,64 +1,63 @@ name: RIA Hub Workflow Demo -on: - push: - branches: [main] - pull_request: - branches: [main] +on: + push: + branches: + [main] + pull_request: + branches: + [main] jobs: - ria-demo: - runs-on: ubuntu-latest + ria-demo: + 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: 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: + python-version: "3.10" - - name: Checkout code - uses: actions/checkout@v4 - with: - lfs: true + - name: Install dependencies + run: | + python -m pip install --upgrade pip + 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 - uses: actions/setup-python@v4 - with: - python-version: "3.10" + - name: 2. Train Model + run: | + echo "training model" + # Placeholder + - name: 3. Build inference app + run: | + echo "building inference app" + # Placeholder - - - name: 1. Build Dataset - run: | - python produce_dataset.py - # 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/ - - - # - name: Upload Dataset Artifacts - # uses: actions/upload-artifact@v3 - # with: - # name: ria-dataset - # path: data/** - + - name: Upload Dataset Artifacts + uses: actions/upload-artifact@v3 + with: + name: ria-dataset + path: data/** # - name: Upload Checkpoints # uses: actions/upload-artifact@v3 @@ -71,7 +70,4 @@ jobs: # uses: actions/upload-artifact@v3 # with: # name: ria-demo-app - # path: dist/** - - - + # path: dist/** \ No newline at end of file diff --git a/data/dataset.h5 b/data/dataset.h5 deleted file mode 100644 index 2cbffa2..0000000 Binary files a/data/dataset.h5 and /dev/null differ