rli14's picture
rsm_rise code snapshot (HF_PUSH_ALL) (part 14)
7ebff26 verified
|
Raw History Blame Contribute Delete
4.72 kB

TASK (one-shot, 2026-09-22 04:20 UTC, owner: "can you cleanup our storage"): the project filesystem /proj/dmfexp hit its quota (git push failed with "Disk quota exceeded"; 350T at 100%). Free space under /proj/dmfexp/zwhong/rsm_rise WITHOUT losing anything a live job, a report, or a table depends on. One-shot: finish, then write status/CLEANUP_DONE (GB freed per category, the log path) or status/CLEANUP_FAILED.

METHOD: measure first, delete second, log everything.

  1. Measure on a CPU node (scripts/bsub_cpu.sh, RR_MEM=8G): du -sh of every top-level dir of rsm_rise and of the categories below; write the numbers to status/CLEANUP_2026-09-22.md before deleting anything. Never run du/rm sweeps on the login node; the deletes themselves go through a CPU job too (a find ... -delete/rm script that you write and review first). df -h /proj/dmfexp before and after.
  2. Every deletion is appended to status/CLEANUP_2026-09-22.md as <size> <path> <reason> BEFORE it is removed, and a path list per category is saved under status/cleanup/.txt.

SAFE TO DELETE (the owner already agreed to the first item; the rest follow the same rule -- intermediate artefacts of FINISHED runs whose numbers are already recorded): a. pi0.5 intermediate checkpoints: runs/openpi/checkpoints/pi05_cooking_*//{5000,10000,15000,20000,25000} (42 GB each; the per-step replay fits are in docs/real_proposal_report.pdf). KEEP the final 29999 (and 30000 if it exists) of every run. The dryrun dirs are already gone. b. Finished world-model / successor training series: for every runs//wm/{lewm,dinowm}/ and runs//rsm// that has ckpt_s100000.pt, delete ckpt_s10000..ckpt_s90000 (keep ckpt_s100000.pt, ckpt_best.pt, ckpt.pt, calib/history files). Do NOT touch a series without ckpt_s100000.pt (still training) and do not touch runs/real_cooking_v5/rsm/ R_RW_* or R_M_ft_* (the reward-head study is running on them). c. rolling/ resume checkpoints of FINISHED policy trainings: runs//policy//rolling/model_epoch_*.pth where the same run dir's models/ has model_epoch_5000.pth (or the run's configured last epoch: sweep-2 mug arms stop at 3000, check status/sweep2_unrunnable.txt and the job names) AND no rr_* job for that cell is live (bjobs). Keep every models/model_epoch_*.pth: the epoch sweep uses every epoch as a proposer axis. d. Superseded cooking_v5 policy resume dirs: runs/cooking_v5_expert_suboptimal/policy/_seed///models/ holds one dated dir per resume; keep the dated dir that has the LATEST epoch for each seed and every epoch that docs/real_proposal_report.pdf or status/real/report_numbers.json quotes; delete model_epoch_{100,500,1000,1500} .pth in the older dated dirs ONLY if their replay fit is already in report_numbers.json. Do not touch the live trainings (bjobs: rr_cook_idql_s0/s1 or similar). e. logs: gzip every logs/lsf/.out and .err older than 24 h that is not the log of a live job (gzip -9, keep the name+.gz; the monitors grep only recent logs); delete logs/lsf files of jobs that ended more than 3 days ago with exit 0 and no TERM_ (they are duplicates of the eval JSONs). Measure how much the OpenBLAS warning spam is. f. caches: .uv_cache (rebuildable), pip caches under the venvs' ~/.cache if they are under rsm_rise, pycache everywhere, .bak. files older than 2 days under scripts/ (list them; they are one-off backups of patched scripts that are all committed to the gen_q vendored repo -- verify with git -C /proj/dmfexp/zwhong/projs/issue_resolver_richardrl/gen_q_rsm log --oneline -1 -- rsm_rise/pipeline/<path> before deleting each), core dumps, and any wandb/ offline run directories under runs/ whose run id exists on W&B (check with the API through a CPU job with source wandb_env.sh; never print the key) -- delete only those. g. status/real/invalid_stale_history (5 MB; quarantined stale open-loop results) can go; it is documented in the #263 comments. NEVER DELETE: data/raw, data/derived (until you have listed what it holds and asked -- put the listing in CLEANUP_DONE), cache/ (DINOv2 features for every task), any models/model_epoch.pth, any ckpt_s100000.pt / ckpt_best.pt, .openpi_assets (the pi05_base weights), runs//eval_*/ JSONs, docs/, status/, the git repos under /proj/dmfexp/zwhong/projs, anything outside /proj/dmfexp/zwhong/rsm_rise, and anything belonging to another user. If a category is ambiguous, list it with its size in CLEANUP_DONE instead of deleting.

RULES: no compute on the login node; only rr_* jobs; poll bjobs at most every 2 min; measure before and after and report the GB freed per category.