Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
coverage:
status:
project:
default:
informational: true
patch:
default:
informational: true

comment:
layout: "condensed_header, condensed_files"
behavior: default
48 changes: 0 additions & 48 deletions .github/workflows/code_changes.yaml

This file was deleted.

43 changes: 0 additions & 43 deletions .github/workflows/local_area_promote.yaml

This file was deleted.

131 changes: 0 additions & 131 deletions .github/workflows/local_area_publish.yaml

This file was deleted.

37 changes: 34 additions & 3 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
name: Run Pipeline

on:
push:
branches: [main]
workflow_dispatch:
inputs:
scope:
description: "Dataset scope to build"
default: "all"
type: choice
options:
- all
- national
- state
- congressional
- local
- test
gpu:
description: "GPU type for regional calibration"
default: "T4"
Expand All @@ -25,6 +34,11 @@ on:
description: "Skip national calibration/H5"
default: false
type: boolean
# Checkpoint options (not yet implemented):
# clear_checkpoints: Force full rebuild, ignore cached volume artifacts
# resume_run_id: Resume a specific failed run from its last successful item
# skip_calibration: Use existing weights from volume, skip GPU fitting
# fingerprint_override: Ignore input hash changes, reuse existing H5s

jobs:
pipeline:
Expand All @@ -47,6 +61,7 @@ jobs:
run: |
modal deploy modal_app/pipeline.py

SCOPE="${{ inputs.scope || 'all' }}"
GPU="${{ inputs.gpu || 'T4' }}"
EPOCHS="${{ inputs.epochs || '1000' }}"
NATIONAL_EPOCHS="${{ inputs.national_epochs || '4000' }}"
Expand All @@ -63,6 +78,22 @@ jobs:
national_epochs=int('${NATIONAL_EPOCHS}'),
num_workers=int('${NUM_WORKERS}'),
skip_national='${SKIP_NATIONAL}' == 'true',
scope='${SCOPE}',
)
print(f'Pipeline spawned. Monitor on the Modal dashboard.')
print(f'Pipeline spawned with scope=${SCOPE}. Monitor on the Modal dashboard.')
print(f'Function call ID: {fc.object_id}')
"

- name: Write summary
run: |
cat >> $GITHUB_STEP_SUMMARY << 'EOF'
## Pipeline Launched

| Field | Value |
|-------|-------|
| Scope | `${{ inputs.scope || 'all' }}` |
| GPU | `${{ inputs.gpu || 'T4' }}` |
| Epochs | `${{ inputs.epochs || '1000' }}` / `${{ inputs.national_epochs || '4000' }}` (regional/national) |

**[Monitor on Modal Dashboard](https://modal.com/apps)**
EOF
Loading