Zishan-Shao commited on
Commit
9534f95
·
verified ·
1 Parent(s): 058a3e1

Document frozen Basis rebuttal input transfer

Browse files
Files changed (1) hide show
  1. README.md +65 -0
README.md ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ tags:
4
+ - rebuttal
5
+ - research
6
+ ---
7
+
8
+ # Basis rebuttal: frozen machine-handoff inputs
9
+
10
+ This repository carries the inputs for the three rebuttal experiments on branch
11
+ `rebuttal/20261104-defense-experiments` of
12
+ [Zishan-Shao/Basis](https://github.com/Zishan-Shao/Basis/tree/rebuttal/20261104-defense-experiments).
13
+ The package is ready when `UPLOAD_COMPLETE.json` exists and its `status` is `complete`.
14
+
15
+ - 26 frozen model sources: **301.786 GiB**, including the two dense parents.
16
+ - A **0.653 GiB** archive with 331 files, including 68 unique adapters, token data,
17
+ dense signed vectors, original run specs and required metadata.
18
+ - Original paths beneath `checkpoints/frozen_sources/` are preserved.
19
+ - `transfer_manifest.json` records each file's size/SHA256 and each model's frozen canonical identity.
20
+ - Optional historical Experiment 1 raw feature-extraction inputs (10.3 GiB) are excluded.
21
+ Existing CPU results are in the code branch; all new GPU measurements use this package.
22
+
23
+ ## Download on the destination cluster
24
+
25
+ Start from the code checkout and install its environment as described in
26
+ `rebuttal/NEW_MACHINE.md`. Run the following from the **Basis repository root**:
27
+
28
+ ```bash
29
+ python -m pip install 'huggingface-hub==0.35.3'
30
+ hf download Zishan-Shao/scratchspace \
31
+ --include 'checkpoints/frozen_sources/**' 'rebuttal/migration/**' \
32
+ --local-dir .
33
+ (cd rebuttal/migration && sha256sum -c rebuttal_inputs.tar.sha256)
34
+ tar -xf rebuttal/migration/rebuttal_inputs.tar -C .
35
+ python rebuttal/migrate.py check --verify-models
36
+ python rebuttal/verify.py
37
+ python rebuttal/analyze_measurements.py --partial
38
+ ```
39
+
40
+ The download can be resumed by repeating the same `hf download` command.
41
+ Allow at least 303 GiB of free disk space plus room for experiment outputs.
42
+ Do not edit frozen run specs or rerun `prepare.py` / `add_cost_jobs.py` after moving.
43
+
44
+ After CPU validation, launch the GPU queue explicitly:
45
+
46
+ ```bash
47
+ nohup python -u rebuttal/pipeline.py > rebuttal/pipeline.log 2>&1 < /dev/null &
48
+ ```
49
+
50
+ These are input artifacts, not completed GPU results. The handoff snapshot has
51
+ 0/134 completed GPU measurements. Full FP32 measurement requires at least
52
+ 64 GiB free GPU memory; the scheduler runs its required preflights and uses at most two GPUs.
53
+
54
+ ## Upload from the source cluster
55
+
56
+ ```bash
57
+ conda activate flashsvd
58
+ hf auth login
59
+ python rebuttal/publish_hf.py --upload
60
+ ```
61
+
62
+ The publisher checks frozen checkpoint identities, stages symlinks without copying
63
+ model data, resumes using local upload metadata, and verifies remote sizes and hashes
64
+ before writing `UPLOAD_COMPLETE.json`. Local preparation without authentication:
65
+ `python rebuttal/publish_hf.py --prepare`.