Skip to content

Commit 05a5c6f

Browse files
committed
refresh lock
1 parent b72bf02 commit 05a5c6f

2 files changed

Lines changed: 68 additions & 9 deletions

File tree

modal_app/pipeline.py

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -880,12 +880,11 @@ def run_pipeline(
880880
print("\n[Step 3/5] Fit weights (skipped - completed)")
881881

882882
# ── Step 4: Build H5s + stage + diagnostics (parallel) ──
883+
# Per plan: all four tasks run in parallel:
883884
# 4a. coordinate_publish (regional H5s)
884885
# 4b. coordinate_national_publish (national H5)
885886
# 4c. stage_base_datasets (datasets → HF staging)
886-
# 4d. upload_run_diagnostics (calibration diagnostics → HF)
887-
# 4e. _write_validation_diagnostics (after H5 builds)
888-
# 4f. upload_run_diagnostics (validation diagnostics → HF)
887+
# 4d. upload_run_diagnostics (diagnostics → HF)
889888
if not _step_completed(meta, "publish_and_stage"):
890889
print(
891890
"\n[Step 4/5] Building H5s, staging datasets, "
@@ -920,13 +919,13 @@ def run_pipeline(
920919
)
921920

922921
# While H5 builds run, stage base datasets
923-
# and upload calibration diagnostics in this container
922+
# and upload diagnostics in this container
924923
pipeline_volume.reload()
925924

926925
print(" Staging base datasets to HF...")
927926
stage_base_datasets(run_id, version, branch)
928927

929-
print(" Uploading calibration diagnostics...")
928+
print(" Uploading run diagnostics...")
930929
upload_run_diagnostics(run_id, branch)
931930

932931
# Now wait for H5 builds to finish
@@ -965,10 +964,6 @@ def run_pipeline(
965964
vol=pipeline_volume,
966965
)
967966

968-
# Upload validation diagnostics (written after H5 builds)
969-
print(" Uploading validation diagnostics...")
970-
upload_run_diagnostics(run_id, branch)
971-
972967
_record_step(
973968
meta,
974969
"publish_and_stage",

uv.lock

Lines changed: 64 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)