Record completion of P6 main runs and the server move

- All protocol_bench main runs finished 30/10/2026 02:16 UTC: S1 560 train
  cells, S2 224 posteriors + 224 train cells, S3+S4+S8 384 train jobs.
  Summarize has not been run yet.
- docs/research/server-migration.md: the repository folder is synced as a
  whole to the new server; outputs/ stays out of git. Lists what is not in
  git and why it matters; unpushed_outputs.sha256 holds sha256 for all
  21,987 files under outputs/ to verify the sync.
- Plan §12 item 26, AGENTS.md status and next steps, report.html tasks and
  log, README supervisor note, bench-protocol status.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-30 02:18:20 +00:00
parent 381b5ffb06
commit 2e4f618947
8 changed files with 22051 additions and 22 deletions

View File

@@ -0,0 +1,36 @@
# Chuyển sang server mới
Ngày viết: **30/10/2026** (server H200 sắp bị thu hồi). Remote: `https://gitea.vts-ai.space/lamlvh/ML-Porosity`, nhánh `main`.
**Cách chuyển:** sync nguyên thư mục repo sang server mới (quyết định của người dùng, 30/10 khoảng 01:30 UTC). Git chỉ giữ code, config, docs và paper như bình thường; không đưa thêm file lớn lên gitea.
## 1. Có trong git
- Toàn bộ code, config, test, docs, paper; `configs/protocol_bench.{yaml,sha256,lock.json}` (khoá 29/10 14:39 UTC).
- Không có gì trong `outputs/`. Khoảng 600 MB output từng được `git add -f` và push lúc 30/10 01:05–01:15 UTC, theo 13 commit. Theo yêu cầu của người dùng, lịch sử đã được viết lại và force-push lúc khoảng 01:40 UTC: `main` = 381b5ff, chỉ code và docs.
## 2. Không có trong git (đi theo bản sync thư mục)
Danh sách từng file của `outputs/`, kèm sha256 (21.987 file, tạo 30/10 khoảng 02:20 UTC sau khi mọi chạy P6 đã xong, gồm cả `outputs/bench/s1`): `docs/research/unpushed_outputs.sha256`. Sau khi sync, kiểm tra bằng `sha256sum -c --quiet docs/research/unpushed_outputs.sha256`.
| Đường dẫn | Dung lượng | Vai trò |
|---|---|---|
| `outputs/bench/s1/` | khoảng 0,2 GB | Kết quả S1 (train cells, npz); `summarize` cần. |
| `outputs/bench/posterior/**/*_particles.npz` | 8,6 GB (784 file) | Particle SMC của P6; cần khi chạy thêm stage train. `summarize` chỉ đọc csv. |
| `outputs/bench/dev/posterior/**/*.npz` | 0,12 GB | Chỉ dùng cho dev. |
| `outputs/p2r/**` (npz) | 8,2 GB | Trong đó 102 artifact tham chiếu (1,4 GB, khoá `p2r_reference` của lock) được `freeze(check=True)` kiểm tra trước mọi stage posterior/train chính của P6. |
| `outputs/p3/**`, `outputs/p4/**`, `outputs/p2/**` (npz) | 5,2 + 4,7 + 2,4 GB | Lịch sử; P2/P3/P4 không chạy lại. |
| `outputs/p4x/` | 0,09 GB | Bản ghi P4x đã bỏ; không trích dẫn. |
| `data/Volve/` | 165 GB | Hash ở `data_manifest/volve.json`. P6 không dùng. |
| `data/F3_Demo_2023/` | 9,4 GB | Hash ở `data_manifest/f3_demo_2023.json`. P6 không dùng: bộ sinh D2 chỉ đọc `outputs/d2/horizon_grid.npz` và `outputs/wavelets.npz`. |
| `data/Teapot/` | 1,8 GB | Teapot đã dừng. |
| `data/NLOG/` | 0,03 GB | Hash ở `data_manifest/nlog.json`. |
| `refs/*.pdf` | khoảng 0,4 GB | Bản quyền nhà xuất bản; chỉ giữ cục bộ. |
| `logs/*.out`, `logs/runs/`, `logs/p2r_resume_*`, `logs/p6_*` | nhỏ | Log thô (`logs/index.csv` có trong git). |
| `.venv/` | | Tạo lại theo `README.md` nếu đường dẫn Python khác. |
## 3. Sau khi sync
- Kiểm tra dữ liệu: `python scripts/00_data_manifest.py --check` và lệnh `sha256sum -c` ở trên.
- Lock ghi torch 2.14.0+cu130. Nếu môi trường mới khác, `freeze(check=True)` báo lệch ở khoá `environment`. Khi đó **không** sửa lock: mọi lần chạy thêm phải là một phiên bản protocol mới, có ghi deviation. `summarize` không gọi `freeze(check=True)`.
- Các session tmux (`p6_*`) không đi theo bản sync. Mọi driver P6 đã xong lúc 02:16 UTC 30/10 và supervisor đã dừng (xem `docs/plan.md` §12 ý 26); không có gì cần resume. Bước tiếp theo là `python scripts/34_run_bench.py summarize`.