Skip to content

[I08] Right-size compute for probe training and evaluation #71

Description

@duckyquang

Task metadata

Field Value
Task ID I08
Category Infrastructure
Priority Low
Complexity Low
Est. days 1
Replaces #15 (closed — assumed a full-corpus extraction that is no longer needed)

Features / method

Right-size compute. The GPU reservation the closed issue asked for is no longer on the critical path.

Description

The closed version reserved an H200 through "Day 6" to run embedding extraction over the paired cohort. That premise no longer holds, and it was quietly blocking the wrong things.

Extraction is done. EchoJEPA embeddings were pulled pre-extracted from Hugging Face and HuBERT-ECG embeddings came across as Parquet — see docs/echo_hubert_loader.md. Nothing in #62-#68 re-runs a foundation model.

What remains is probe training and evaluation on a 1,208-row manifest of cached vectors. CrossAttnFusedProbe is two linear projections, one cross-attention block, and a 256-hidden MLP head; scripts/train_ecg_probe.py does not even expose a device flag. TECHNICAL.md 9 already says probe training after caching is CPU/GPU-light and completes in minutes. #63 does not need a GPU reservation and should not wait on one.

So this issue shrinks to confirming the two cases where compute actually matters:

Steps:

  1. Confirm probe training and evaluation for [M10] Retrain all four probes on the synchronized manifest #63-[W07] Restate reported numbers from the canonical run #68 run acceptably on local or modest shared CPU. Record actual wall-clock so the assumption is measured rather than asserted.
  2. Storage: size the cached embedding + checkpoint footprint and confirm a writable location. This is the part of the closed issue that is still real.
  3. Identify the one case that does need real GPU — if [D07] Paired cohort recovery — 4,103 shared subjects to 1,208 rows #62 concludes the cohort can be materially expanded, more echo studies must be pooled from the EchoJEPA shards, and that is a GPU job. Scope it only if [D07] Paired cohort recovery — 4,103 shared subjects to 1,208 rows #62 says yes.
  4. If step 3 triggers, reserve then, sized to the actual expansion rather than to the full 525K corpus.

Acceptance criteria:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions