Xin-Rui commited on
Commit
3b689c9
·
verified ·
1 Parent(s): 93d97b5

Upload RESTORE.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. RESTORE.md +20 -13
RESTORE.md CHANGED
@@ -1,9 +1,11 @@
1
  # HiReT / Clinical-Reasoning backup — restore instructions
2
 
3
  ## What this is
4
- One AES-256 encrypted 7z archive, split into 8 volumes (40 GB each):
 
 
5
 
6
- hitraj_backup_20260929.7z.001 ... .008
7
 
8
  Archive totals: 444,062 files, 7,249 folders, 325.6 GB uncompressed.
9
  Everything was packed relative to `/root`, so extracting inside `/root`
@@ -13,31 +15,36 @@ restores the original absolute paths:
13
  /root/autodl-tmp/ClinicalReasoning-ICLR/... (ICLR paper source and figures)
14
  /root/autodl-tmp/backup_meta/... (env exports, system info)
15
 
 
 
 
16
  ## Restore
17
- 1. Download ALL eight volumes plus this file and the checksum file into one folder.
18
  2. Verify volume integrity:
19
 
20
  sha256sum -c hitraj_backup_20260929.7z.volumes.sha256
21
 
22
- 3. Extract (one command, all volumes are read automatically):
23
 
24
- cd /root && 7z x /path/to/hitraj_backup_20260929.7z.001
25
 
26
- The passphrase is required. It is kept offline; it is NOT in this archive.
 
 
27
 
28
- 4. Rebuild the Python environment (do not copy the old conda dir):
29
 
30
  /root/miniconda3/bin/conda env create -f /root/autodl-tmp/backup_meta/env_llama-fac-wxr.yml
31
  # or: pip install -r /root/autodl-tmp/backup_meta/pip_freeze.txt
32
 
33
- ## Things that were NOT included (rebuildable or junk)
34
- - install_tmp/ and pip_cache/ (figure tooling and pip cache, 7.6 GB)
35
  - __pycache__, *.lock, vscode-*.sock, torchinductor_root, .ipynb_checkpoints
36
  - /root/miniconda3 itself (rebuild from env_llama-fac-wxr.yml)
37
 
38
  ## Notes
39
- - The 6-class and LOS embedding caches ARE included (they take roughly 12-20 h of GPU
40
- time to rebuild). Cache fingerprints live under each cache directory manifest.json.
41
- - Patient-level data (Datasets, per-sample predictions, caches) is MIMIC-IV derived:
42
- keep the repository access restricted even though the archive is encrypted.
43
  - Historical configs use absolute paths; keep the /root/autodl-tmp layout.
 
1
  # HiReT / Clinical-Reasoning backup — restore instructions
2
 
3
  ## What this is
4
+ One AES-256 encrypted 7z archive, split into **61 volumes of ~5 GB each**
5
+ (40 GB volumes could not be uploaded reliably because the build container has a
6
+ 2 GiB memory cap):
7
 
8
+ hitraj_backup_20260929.7z.001 ... .061
9
 
10
  Archive totals: 444,062 files, 7,249 folders, 325.6 GB uncompressed.
11
  Everything was packed relative to `/root`, so extracting inside `/root`
 
15
  /root/autodl-tmp/ClinicalReasoning-ICLR/... (ICLR paper source and figures)
16
  /root/autodl-tmp/backup_meta/... (env exports, system info)
17
 
18
+ The passphrase is NOT stored in this archive or in the repository. Keep it in a
19
+ password manager and in one offline copy; without it the backup cannot be opened.
20
+
21
  ## Restore
22
+ 1. Download ALL 61 volumes plus this file and the checksum file into one folder.
23
  2. Verify volume integrity:
24
 
25
  sha256sum -c hitraj_backup_20260929.7z.volumes.sha256
26
 
27
+ 3. Optional: rebuild the single-file archive exactly as it was created:
28
 
29
+ cat hitraj_backup_20260929.7z.0* > hitraj_backup_20260929.7z
30
 
31
+ 4. Extract (one command; all volumes are read automatically):
32
+
33
+ cd /root && 7z x /path/to/hitraj_backup_20260929.7z.001
34
 
35
+ 5. Rebuild the Python environment (do not copy the old conda directory):
36
 
37
  /root/miniconda3/bin/conda env create -f /root/autodl-tmp/backup_meta/env_llama-fac-wxr.yml
38
  # or: pip install -r /root/autodl-tmp/backup_meta/pip_freeze.txt
39
 
40
+ ## Not included (rebuildable or junk)
41
+ - install_tmp/ and pip_cache/ (figure tooling and pip cache, ~7.6 GB)
42
  - __pycache__, *.lock, vscode-*.sock, torchinductor_root, .ipynb_checkpoints
43
  - /root/miniconda3 itself (rebuild from env_llama-fac-wxr.yml)
44
 
45
  ## Notes
46
+ - The 6-class and LOS embedding caches ARE included (rebuilding them costs roughly
47
+ 12-20 h of GPU time). Cache fingerprints live in each cache directory manifest.json.
48
+ - Datasets/, per-sample predictions and caches are MIMIC-IV derived: keep repository
49
+ access restricted and keep the passphrase private even though the archive is encrypted.
50
  - Historical configs use absolute paths; keep the /root/autodl-tmp layout.