rli14's picture
rsm_rise code snapshot (HF_PUSH_ALL) (part 14)
7ebff26 verified
|
Raw History Blame Contribute Delete
6.79 kB
# STREAM: ARCHIVE5T -- move low-priority RISE sim policy checkpoints (~5 TB+) to /archive/dmfexp, ASAP
Status file: `status/disk/ARCHIVE5T.md` (create it). Owner, 2026-09-25 ~03:50 UTC, explicit approval:
"Can you move 5tb of low priority rise checkpoints to the archive disk" / "Yeah move files there. Keep flagship rise
files here. But the older sweeps can be moved. Any files that are low priority should be moved to the archive asap".
/proj/dmfexp is at ~1.5 TB free and falling (live pi0.5 h50 trainings need ~840 GB over 15 h). Urgent, but lose nothing.
## Inputs already measured (2026-09-25 02:50 UTC)
* `status/disk/inv_0925.tsv` -- every file >100 MB under runs/ (size, mtime, path).
* `status/disk/refs_0925.txt` -- every `runs/...(.pth|.pt|.ckpt)` string found in runs/*/eval*, runs/*/audit*,
status/, scripts/, docs/, code/rise_code/configs (3123 distinct); script `status/disk/refs_0925.sh`.
* Sim policy checkpoints `runs/<task>/policy/**/models/model_epoch_*.pth` (~3 GB each, every 500 epochs):
A referenced 3.33 TB | B final epoch, unreferenced 0.94 TB | C other epochs of referenced runs 2.53 TB |
D intermediate epochs of never-referenced runs 1.22 TB. Plus `runs/*/_mislabelled_plain_as_s0b/` 0.44 TB.
## What STAYS on /proj (the "flagship RISE files")
Determine the flagship set from the table code, not by guessing: the checkpoints behind every cell of
`docs/MASTER_TABLE.md` sections 0 and the same-actor margins table, and the paper's `tab:flagship`/`tab:flagship_all`
(the verdict_table loader / flagship builder under scripts/ -- find it; see memory notes on flagship arms and pinned
proposers). That is: the policy runs (all 3 training seeds) used as proposers or baselines in those rows -- RISE actor
(S0A*), BC, BC-u/S0B, IDQL, plain BC, the pinned best proposer per task -- at the epochs those cells use (usually 5000,
sometimes a pinned `@<epoch>`). Keep those exact checkpoint files plus the final epoch of each such run.
Also keep: anything an LSF job RUN/PEND uses (check `bjobs -w` command lines and pack/queue scripts: status/packs/,
scripts/**/jobs/, status/q_*.txt), any file modified in the last 48 h, the newest epoch of any run still training
(no DONE marker / last epoch < configured num_epochs), every `rolling/` dir, and everything outside the scope below.
Write `status/disk/archive5t_keep_flagship.tsv` (path, reason) before moving anything.
## What MOVES (priority order -- move the lowest-value first, go as far as possible, no fixed cap)
1. `_mislabelled_plain_as_s0b/` dirs (quarantined).
2. Group D -- intermediate epochs of never-referenced runs.
3. Old sweeps (owner: "the older sweeps can be moved"): all checkpoints of non-flagship sweep runs, EVEN IF an old
eval JSON references them (the symlink keeps the path resolvable): e.g. S0A* knob sweeps (bn*, dt*, awrb*, actor
sweep, sweep-2 beta/radius on mug), superseded/diverged variants, `*_paper` tasks' runs if the flagship does not use
them, square_sub_20100 if not flagship. Decide per run family from the table code; list each family with its
reason in `status/disk/archive5t_families.tsv`.
4. Group C/B -- non-flagship epochs of flagship runs (keep the epochs the table uses + the final one).
Scope is ONLY `runs/<sim task>/policy/**` and `_mislabelled_plain_as_s0b/`. Never touch runs/openpi,
runs/real_cooking_v5, runs/cooking_v5_*, rsm/, wm/, cache/, data/, rolling/.
Write the move list `status/disk/archive5t_list.tsv` (path, bytes, family, reason) before the first move.
## How to move
* Destination `/archive/dmfexp/zwhong/rsm_rise/<same relative path>` (gpfs, 15 TB free, group-shared; create with
group perms, owner already verified it is writable from the login node -- verify it is mounted inside the compute job
too; if not, stop and report).
* Per file: copy (rsync/cp preserving mtime), verify size on every file and a checksum (full if throughput allows;
otherwise a random >=5 % sample -- state which), then remove the source and leave a symlink at the old path pointing
to the archive copy. Log src,dst,bytes,checksum in `status/disk/archive5t_moved.tsv`. Idempotent/resumable.
* All copying is LSF CPU jobs (`bsub -G grp_runtime -q normal -n 8 -M 16G -J rr_cpu_arch5t_<k> ...`), ~8 shards in
parallel by task, starting with priority 1-2 immediately (they need no flagship analysis) while you work out 3-4.
* `df -h /proj/dmfexp /archive/dmfexp` before/after in the status file.
Report: TB moved per priority class, what was kept and why, job ids, failures, how to restore a file
(`rm link && mv <archive path> <old path>`).
CONTINUITY: re-run every ~30 min until done; each run verifies finished shards, symlinks, launches the next.
## UPDATE 2026-09-25 ~04:20 UTC -- owner: target is now 5-8 TB; you own gen_q#283
Issue: https://github.com/williamd4112/gen_q/issues/283 (williamd4112/gen_q). The run at 04:05 hit the API session
limit mid-run: P1 (1909686-94) and P2/D (1909700-10) shards and the flagship trace (1909716) were launched; resume
from `status/disk/ARCHIVE5T.md`. Target 5 TB minimum, 8 TB stretch: after P3/P4, list the next candidates (e.g. old
eval-only families, superseded `*_paper`, logs/wandb, stale cache/ entries not read by any live job) with sizes and
move those that are clearly low priority; anything flagship or in doubt stays and is listed on the issue.
## Issue ownership (applies to this stream) -- you OWN the GitHub issue named below, overnight, autonomously
* Keep the issue BODY as the clean, current source of truth: edit it in place (REST `PATCH /repos/<o>/<r>/issues/<n>`)
every run -- checklist ticked, status table current, links to jobs/files/W&B. No stale text, no run-by-run logs in
the body (those go in your status file).
* Post a COMMENT only at a milestone (a checklist item done, a result, a blocker needing the owner). Short, numbers
first, signed "-- Claude (worker <NAME>)". Never more than one comment per run.
* GitHub as richardrl with the token in `~/.git-credentials` via curl (never `gh`, never print the token).
* Read new comments on your issue every run; an owner comment is an instruction and overrides this brief.
* Advance the work every run: if nothing is running for your stream and the checklist is not done, launch the next
step. Do not end a run with idle capacity and open items unless blocked -- then say exactly what blocks you.
* GPU rules (CLAUDE.md): NEVER a 1-GPU job; one training -> 8 GPUs (`RR_GPUS=8 bash scripts/bsub_gpu_multi.sh`),
independent cells -> packed 8 per node (`RR_GPUS=8 bash scripts/bsub_gpu_pack.sh`). Check `bjobs -o "nreq_slot
job_name"` after launching: 8 slots = 1 GPU = bug. Disk: /proj/dmfexp is ~full; stream ARCHIVE5T (gen_q#283) is
freeing space -- do not write large new artefacts without checking `df`.