iskhare commited on
Commit
152ec7b
·
verified ·
1 Parent(s): cbd0af6

Save step 22000 generator checkpoint and matched FP32/FP64 evaluation

Browse files

Generator step 22000 (23.069B input positions), matching final tokenizer, resumable state, standalone exports, configs, SHA-256 manifest, 640 saved samples, matched FP32 and FP64 GPT-2 Large scores, and runtime double-precision audit. TF32 disabled.

Files changed (50) hide show
  1. iclr-debug-two-stage-135b-20260916/generator/backup-manifest-step-22000.json +388 -0
  2. iclr-debug-two-stage-135b-20260916/generator/checkpoint-iter-22000.pt +3 -0
  3. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/EVAL_DONE.json +9 -0
  4. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/FP32_DONE.json +1 -0
  5. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/README.md +16 -0
  6. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/command-seed-0.json +29 -0
  7. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/command-seed-1.json +29 -0
  8. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/command-seed-2.json +29 -0
  9. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/command-seed-3.json +29 -0
  10. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/command-seed-4.json +29 -0
  11. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/comparison.json +87 -0
  12. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/eval_random_gen_ppl_checkpoint_fixed.py +182 -0
  13. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/evaluation-precision.patch +102 -0
  14. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/evaluator-provenance.json +8 -0
  15. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-precision-audit.json +24 -0
  16. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-0.json +0 -0
  17. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-0.per-example.json +392 -0
  18. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-1.json +0 -0
  19. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-1.per-example.json +392 -0
  20. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-2.json +0 -0
  21. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-2.per-example.json +392 -0
  22. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-3.json +0 -0
  23. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-3.per-example.json +392 -0
  24. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-4.json +0 -0
  25. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-4.per-example.json +392 -0
  26. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/limited_eval.py +14 -0
  27. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-0.json +0 -0
  28. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-0.memory.json +6 -0
  29. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-0.samples.json +0 -0
  30. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-1.json +0 -0
  31. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-1.memory.json +6 -0
  32. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-1.samples.json +0 -0
  33. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-2.json +0 -0
  34. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-2.memory.json +6 -0
  35. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-2.samples.json +0 -0
  36. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-3.json +0 -0
  37. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-3.memory.json +6 -0
  38. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-3.samples.json +0 -0
  39. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-4.json +0 -0
  40. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-4.memory.json +6 -0
  41. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-4.samples.json +0 -0
  42. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/rescore_fp64.py +128 -0
  43. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/run_evaluation.py +44 -0
  44. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/summary-fp64.json +38 -0
  45. iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/summary.json +38 -0
  46. iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/ncp-config.yaml +179 -0
  47. iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/ncp.pt +3 -0
  48. iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/training-config.yaml +223 -0
  49. iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/vqvae-config.yaml +117 -0
  50. iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/vqvae.pt +3 -0
iclr-debug-two-stage-135b-20260916/generator/backup-manifest-step-22000.json ADDED
@@ -0,0 +1,388 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repo": "iskhare/iclr-debug",
3
+ "run": "iclr-debug-two-stage-135b-20260916",
4
+ "stage": "generator",
5
+ "checkpoint_step": 22000,
6
+ "input_positions": 23068672000,
7
+ "frozen_tokenizer_step": 128747,
8
+ "git_provenance": {
9
+ "commit": "1b5226d4bbdd34653cb5fdd58d436355fb76ac8c"
10
+ },
11
+ "evaluation": {
12
+ "checkpoint_step": 22000,
13
+ "training_input_positions": 23068672000,
14
+ "fp32": {
15
+ "protocol": {
16
+ "sampling": "random",
17
+ "temperature": 1.0,
18
+ "top_k": 0,
19
+ "top_p": 1.0,
20
+ "n_provided_levels": 1,
21
+ "n_levels": 16,
22
+ "document_aware_validation_sampling": true
23
+ },
24
+ "reference_model": "gpt2-large",
25
+ "checkpoint": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/ncp.pt",
26
+ "checkpoint_step": 22000,
27
+ "seeds": [
28
+ 0,
29
+ 1,
30
+ 2,
31
+ 3,
32
+ 4
33
+ ],
34
+ "samples_per_seed": 128,
35
+ "total_scored_samples": 640,
36
+ "total_scored_tokens": 160526,
37
+ "per_seed_mean_ppl": {
38
+ "0": 190.84469984159884,
39
+ "1": 190.74649366523607,
40
+ "2": 201.5548702336531,
41
+ "3": 190.96056600638894,
42
+ "4": 172.39751630645821
43
+ },
44
+ "mean_gen_ppl": 189.30082921066705,
45
+ "gen_ppl_se": 4.7069720468787,
46
+ "mean_of_seed_median_ppl": 179.90716247558595,
47
+ "mean_entropy_nats": 4.472143790612192,
48
+ "reference_dtype": "float32",
49
+ "tf32_allowed": false,
50
+ "training_continued_during_evaluation": true
51
+ },
52
+ "fp64": {
53
+ "protocol": {
54
+ "sampling": "random",
55
+ "temperature": 1.0,
56
+ "top_k": 0,
57
+ "top_p": 1.0,
58
+ "n_provided_levels": 1,
59
+ "n_levels": 16,
60
+ "document_aware_validation_sampling": true
61
+ },
62
+ "reference_model": "gpt2-large",
63
+ "checkpoint": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/ncp.pt",
64
+ "checkpoint_step": 22000,
65
+ "seeds": [
66
+ 0,
67
+ 1,
68
+ 2,
69
+ 3,
70
+ 4
71
+ ],
72
+ "samples_per_seed": 128,
73
+ "total_scored_samples": 640,
74
+ "total_scored_tokens": 160526,
75
+ "per_seed_mean_ppl": {
76
+ "0": 190.84481863176575,
77
+ "1": 190.74650059895347,
78
+ "2": 201.55483121276038,
79
+ "3": 190.96062394498597,
80
+ "4": 172.3975097731799
81
+ },
82
+ "mean_gen_ppl": 189.3008568323291,
83
+ "gen_ppl_se": 4.706971216847786,
84
+ "mean_of_seed_median_ppl": 179.9071451840254,
85
+ "mean_entropy_nats": 4.472143790612192,
86
+ "reference_dtype": "float64",
87
+ "tf32_allowed": false,
88
+ "training_continued_during_evaluation": true
89
+ },
90
+ "matched_samples": true,
91
+ "total_samples": 640,
92
+ "absolute_ppl_difference": 2.762166204206551e-05,
93
+ "relative_ppl_difference_percent": 1.4591411012787603e-05,
94
+ "previous_step": 12875,
95
+ "previous_fp32_gen_ppl": 174.96447636439655,
96
+ "improvement_vs_previous_fp32_percent": -8.193864917134563
97
+ },
98
+ "files": [
99
+ {
100
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/manual-checkpoints/checkpoint-iter-22000.pt",
101
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/checkpoint-iter-22000.pt",
102
+ "size_bytes": 2565487115,
103
+ "sha256": "82f0fecddd66930f054cdaa2c2b7f7b21a401cd5358b204d70b7ace5cf5cac83"
104
+ },
105
+ {
106
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/ncp-config.yaml",
107
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/ncp-config.yaml",
108
+ "size_bytes": 3528,
109
+ "sha256": "56a31d9d5b68a96f9f3b394e1f93c9624c1d7a68a1911ab469c2340613038c13"
110
+ },
111
+ {
112
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/ncp.pt",
113
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/ncp.pt",
114
+ "size_bytes": 427469662,
115
+ "sha256": "14f9b9044729add9e3b0edfa24f38cf35eaa2d5cd362bc01ac5cfe9de6ff7fa9"
116
+ },
117
+ {
118
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/vqvae-config.yaml",
119
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/vqvae-config.yaml",
120
+ "size_bytes": 2204,
121
+ "sha256": "22bbfe0f1dd75ca79938e48f103d258bfd8194aaaf077741b67bb05e01384f10"
122
+ },
123
+ {
124
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/vqvae.pt",
125
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/vqvae.pt",
126
+ "size_bytes": 1300864085,
127
+ "sha256": "038ab43f06069bfd3fde68b551dd4a4e6ead45023d3c93b843aca6db628eb778"
128
+ },
129
+ {
130
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/EVAL_DONE.json",
131
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/EVAL_DONE.json",
132
+ "size_bytes": 129,
133
+ "sha256": "addff2687e757ddda333b8e4a949e7afa13fa03a20a72debf01c53316ec426e4"
134
+ },
135
+ {
136
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/FP32_DONE.json",
137
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/FP32_DONE.json",
138
+ "size_bytes": 105,
139
+ "sha256": "6a556bd691a5ad24d9c5723340e958a1875a3a317cafe28329b1f022c928e159"
140
+ },
141
+ {
142
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/command-seed-0.json",
143
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/command-seed-0.json",
144
+ "size_bytes": 850,
145
+ "sha256": "dbf11bb73a79f2972f15feec9ca7e93dd3a59dc5c03f59dc909f2c13ae518560"
146
+ },
147
+ {
148
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/command-seed-1.json",
149
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/command-seed-1.json",
150
+ "size_bytes": 850,
151
+ "sha256": "ba8df2ee32012011a57778d2d36698830cec6f7256af6b0b7fc12f5dea03d62a"
152
+ },
153
+ {
154
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/command-seed-2.json",
155
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/command-seed-2.json",
156
+ "size_bytes": 850,
157
+ "sha256": "9dd27c02385a30bc17123402837a9fc041888cd5077821172656f5db11a5e391"
158
+ },
159
+ {
160
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/command-seed-3.json",
161
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/command-seed-3.json",
162
+ "size_bytes": 850,
163
+ "sha256": "9c65960095df47e4117d40dca2ee50b0438cf14964f08c24dcb6e545fc3e1b03"
164
+ },
165
+ {
166
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/command-seed-4.json",
167
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/command-seed-4.json",
168
+ "size_bytes": 850,
169
+ "sha256": "3076b931bdc15ac4485d46cea2288b829228501318313d6103fb426ce2d45b9d"
170
+ },
171
+ {
172
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/comparison.json",
173
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/comparison.json",
174
+ "size_bytes": 2475,
175
+ "sha256": "84381543ba0ce4468ef888334d228487752fc6a0b36da631a3bc00d69c561012"
176
+ },
177
+ {
178
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/eval_random_gen_ppl_checkpoint_fixed.py",
179
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/eval_random_gen_ppl_checkpoint_fixed.py",
180
+ "size_bytes": 7171,
181
+ "sha256": "2da5a5a9fa2d367e647396880b4ea2b75fed0168c016e1ad3cff1e36e4a9876d"
182
+ },
183
+ {
184
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/evaluation-precision.patch",
185
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/evaluation-precision.patch",
186
+ "size_bytes": 3935,
187
+ "sha256": "98d505975ba90eeebf91f5862ed610fbfc513bd1295a524106d5f8f55529aa4f"
188
+ },
189
+ {
190
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/evaluator-provenance.json",
191
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/evaluator-provenance.json",
192
+ "size_bytes": 524,
193
+ "sha256": "07c26aa62226776391ecf781fdfecee90d747bbefca657054f3076522d1dba30"
194
+ },
195
+ {
196
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-precision-audit.json",
197
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-precision-audit.json",
198
+ "size_bytes": 536,
199
+ "sha256": "ee35feeaed0744dbf5064fb7c0e78c4897287daaa21d4666a8e3e71ed84cd40c"
200
+ },
201
+ {
202
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-0.json",
203
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-0.json",
204
+ "size_bytes": 137012,
205
+ "sha256": "027ae2f4fcd210188b4bac7bf1d4ae75d351c4089eec530adbe0380ca5a54d34"
206
+ },
207
+ {
208
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-0.per-example.json",
209
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-0.per-example.json",
210
+ "size_bytes": 7255,
211
+ "sha256": "d608686013779ae6de3d0a2345772862d8ff182532715635467fa200508f5fde"
212
+ },
213
+ {
214
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-1.json",
215
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-1.json",
216
+ "size_bytes": 140043,
217
+ "sha256": "92aa09be262cc1d8afb05e07f97895ac7ad5f8e4577e284cfe7e7ef0d50c9238"
218
+ },
219
+ {
220
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-1.per-example.json",
221
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-1.per-example.json",
222
+ "size_bytes": 7244,
223
+ "sha256": "6990fb5e425973a0cf7f2eb66965d92d1e68923ce3a608039df3b6b6be93b5f9"
224
+ },
225
+ {
226
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-2.json",
227
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-2.json",
228
+ "size_bytes": 141196,
229
+ "sha256": "1154d58d9552b29809d1cfe025fd3ca18ae4e3cc57294e0c786ebab610fcecfb"
230
+ },
231
+ {
232
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-2.per-example.json",
233
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-2.per-example.json",
234
+ "size_bytes": 7251,
235
+ "sha256": "de30bf6b2a23bc485ac3f1a6119f9e23954ba532bf9d138ac58862e6427d3aef"
236
+ },
237
+ {
238
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-3.json",
239
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-3.json",
240
+ "size_bytes": 136263,
241
+ "sha256": "3ade0d0687269503cff6725558d1f3f710841973621389ccc28a50cc27637ea9"
242
+ },
243
+ {
244
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-3.per-example.json",
245
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-3.per-example.json",
246
+ "size_bytes": 7247,
247
+ "sha256": "a9b4dcd5d83dc97762ae18d4361ffa44f7cb8769eaf93d5174e5179b1d0e1b3e"
248
+ },
249
+ {
250
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-4.json",
251
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-4.json",
252
+ "size_bytes": 139383,
253
+ "sha256": "490e7c961e43b6e3bdcf08e9486283b3de9165f00d12e6ec352a668bcb327d5c"
254
+ },
255
+ {
256
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-4.per-example.json",
257
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-4.per-example.json",
258
+ "size_bytes": 7255,
259
+ "sha256": "758bad6af54fcdf15b6d5c1cf668a6db89ce96a4dffdbd1d81627ed5f5ef5414"
260
+ },
261
+ {
262
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/limited_eval.py",
263
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/limited_eval.py",
264
+ "size_bytes": 722,
265
+ "sha256": "629ebde69c8bc5fb5b371d29438276e04f1cbaab1e1d1a3615a00df03806c039"
266
+ },
267
+ {
268
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-0.json",
269
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-0.json",
270
+ "size_bytes": 136525,
271
+ "sha256": "6b87bd3021c609ab2b49684d1f673459d5ab58a17f3e5447419fc7a8d9e22911"
272
+ },
273
+ {
274
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-0.memory.json",
275
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-0.memory.json",
276
+ "size_bytes": 129,
277
+ "sha256": "2a041635115ba0e300b79e9ad414309ca0b95951ecc602992188a05c021ca786"
278
+ },
279
+ {
280
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-0.samples.json",
281
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-0.samples.json",
282
+ "size_bytes": 136906,
283
+ "sha256": "3d46bf39ed7789b32458286ecfe257a360455c7d90d42b6627a061f56e4e9bae"
284
+ },
285
+ {
286
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-1.json",
287
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-1.json",
288
+ "size_bytes": 139558,
289
+ "sha256": "fe7575e3c007e2a96ccdc02d8827510c78cc6ea0dde779c8c7a35a1e7c85f2ae"
290
+ },
291
+ {
292
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-1.memory.json",
293
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-1.memory.json",
294
+ "size_bytes": 129,
295
+ "sha256": "9491308eec7b90cb306d3a9ee6e56dd4a925850a6d6d8074c0485f4bbddd6005"
296
+ },
297
+ {
298
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-1.samples.json",
299
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-1.samples.json",
300
+ "size_bytes": 139939,
301
+ "sha256": "e01ea2e9b5fea94eb80116c4458bc0d92f82a042459cfaf56b1276d49244a3bb"
302
+ },
303
+ {
304
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-2.json",
305
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-2.json",
306
+ "size_bytes": 140708,
307
+ "sha256": "1decd6032120c40609ce85d0bfa45b921fca0828e912d5bd1f3a637e55144e44"
308
+ },
309
+ {
310
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-2.memory.json",
311
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-2.memory.json",
312
+ "size_bytes": 129,
313
+ "sha256": "843b377468ca3f1a4b8712d237b74a573ec6701b1a7ac011fdbb19697c26b5e8"
314
+ },
315
+ {
316
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-2.samples.json",
317
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-2.samples.json",
318
+ "size_bytes": 141089,
319
+ "sha256": "94fe2d07dfa64af765b388e5719a9d8ad9fcea7dd598f931144fe38da2c69ca7"
320
+ },
321
+ {
322
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-3.json",
323
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-3.json",
324
+ "size_bytes": 135776,
325
+ "sha256": "7d5fbb842f5c894b475530c0cc2ce9e89a9c6c0bd9d1211396acbfa4cb3a4839"
326
+ },
327
+ {
328
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-3.memory.json",
329
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-3.memory.json",
330
+ "size_bytes": 129,
331
+ "sha256": "843b377468ca3f1a4b8712d237b74a573ec6701b1a7ac011fdbb19697c26b5e8"
332
+ },
333
+ {
334
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-3.samples.json",
335
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-3.samples.json",
336
+ "size_bytes": 136157,
337
+ "sha256": "7a196ec56f69998cbe6d496485f768c3ce42b3febda75ccb03ed7526e2a4813a"
338
+ },
339
+ {
340
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-4.json",
341
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-4.json",
342
+ "size_bytes": 138897,
343
+ "sha256": "0b94a48e1119c17a7c02c535de4e9a3463704c9a938d91e0f063ecf86ed65960"
344
+ },
345
+ {
346
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-4.memory.json",
347
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-4.memory.json",
348
+ "size_bytes": 129,
349
+ "sha256": "843b377468ca3f1a4b8712d237b74a573ec6701b1a7ac011fdbb19697c26b5e8"
350
+ },
351
+ {
352
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-4.samples.json",
353
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-4.samples.json",
354
+ "size_bytes": 139278,
355
+ "sha256": "ff8ddd0ee68caac99cf3c97da9fcb612638217c792a31e55e122e9613e4b7c24"
356
+ },
357
+ {
358
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/rescore_fp64.py",
359
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/rescore_fp64.py",
360
+ "size_bytes": 7246,
361
+ "sha256": "a0a8f7f2e4188c384ed8cbf0d8769f0c018b913027b8dc21da719556bb7ea624"
362
+ },
363
+ {
364
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/run_evaluation.py",
365
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/run_evaluation.py",
366
+ "size_bytes": 2695,
367
+ "sha256": "31cb1de774da3fcc09e4abfba080ce437dd5cbee95358ab02248f7c5872e708b"
368
+ },
369
+ {
370
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/summary-fp64.json",
371
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/summary-fp64.json",
372
+ "size_bytes": 966,
373
+ "sha256": "2266e4aec6d259d80c5dad3fffdc82a0e45c13377a80e26dd9e9a79ca68321da"
374
+ },
375
+ {
376
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/summary.json",
377
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/summary.json",
378
+ "size_bytes": 966,
379
+ "sha256": "5a813918ceffe8d1834d8b8311568cd4164d297bc8841ad29269d9796776e661"
380
+ },
381
+ {
382
+ "local_path": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/config.yaml",
383
+ "repo_path": "iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/training-config.yaml",
384
+ "size_bytes": 4572,
385
+ "sha256": "b72db37de5c634702e488e7f582115543c1ed551a01e1a4cef078a6d9dff2cc8"
386
+ }
387
+ ]
388
+ }
iclr-debug-two-stage-135b-20260916/generator/checkpoint-iter-22000.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82f0fecddd66930f054cdaa2c2b7f7b21a401cd5358b204d70b7ace5cf5cac83
3
+ size 2565487115
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/EVAL_DONE.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "step": 22000,
3
+ "reference_dtypes": [
4
+ "float32",
5
+ "float64"
6
+ ],
7
+ "matched_samples": true,
8
+ "total_samples": 640
9
+ }
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/FP32_DONE.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"step": 22000, "reference_dtype": "float32", "sampling": "supplied-level0-untruncated", "manual": true}
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/README.md ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Generator step 22,000: matched FP32 and FP64 evaluation
2
+
3
+ This checkpoint has processed 23,068,672,000 input positions (23.069B). It uses the frozen final tokenizer from step 128,747 and the original two-stage training run at commit `1b5226d4bbdd34653cb5fdd58d436355fb76ac8c`.
4
+
5
+ | GPT-2 Large reference precision | Generation perplexity (mean ± seed SE) |
6
+ | --- | --- |
7
+ | FP32, TF32 disabled | 189.30082921 ± 4.70697205 |
8
+ | FP64, TF32 disabled | 189.30085683 ± 4.70697122 |
9
+
10
+ The two precisions score the **same 640 saved samples**: 128 samples for each seed 0–4, batch size 4, temperature 1, top-k 0, top-p 1. Generation uses FP32. The first latent level is supplied from document-aware OpenWebText validation samples; the other 15 levels are sampled. This is level-0-conditioned generation, not strictly unconditional. Each seed's PPL is exp(total reference NLL / total scored tokens); the summary reports the mean and standard error across five seeds. 160526 tokens were scored per precision. Mean within-sample token entropy: 4.47214379 nats.
11
+
12
+ FP64 runtime checks verified floating weights, buffers, leaf-module outputs, final logits, and NLLs use torch.float64; autocast and TF32 were disabled. The isolated FP64 process also used FP64 as its default tensor dtype to avoid an overflow in the installed Transformers causal-mask helper. See `fp64-precision-audit.json` and per-seed sample SHA-256 hashes. FP64 − FP32 mean PPL: 0.00002762 (0.00001459%). FP32 PPL at step 12,875 was 174.96447636; lower PPL is better.
13
+
14
+ Training continued during evaluation. FP64 peak allocated/reserved GPU memory: 8.055/8.537 GiB. Evaluation used GPU 7 with a 40% allocator cap. The pinned training checkout was unchanged.
15
+
16
+ The full resumable checkpoint is `../../checkpoint-iter-22000.pt`. Standalone generator and matching tokenizer exports are under `../../exports/step-22000/`. The generator backup manifest includes file sizes and SHA-256 digests. Evaluation scripts and complete saved samples accompany the results.
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/command-seed-0.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ "/home/ubuntu/miniconda3/envs/mstok/bin/python",
3
+ "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/limited_eval.py",
4
+ "--ckpt",
5
+ "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/ncp.pt",
6
+ "--codec",
7
+ "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/vqvae.pt",
8
+ "--validation-source",
9
+ "/home/ubuntu/data/full_owt/valid_gpt2.bin",
10
+ "--ref-model",
11
+ "gpt2-large",
12
+ "--ref-dtype",
13
+ "float32",
14
+ "--seed",
15
+ "0",
16
+ "--n-samples",
17
+ "128",
18
+ "--batch-size",
19
+ "4",
20
+ "--temperature",
21
+ "1",
22
+ "--top-k",
23
+ "0",
24
+ "--top-p",
25
+ "1",
26
+ "--save-all-generations",
27
+ "--out",
28
+ "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-0.json"
29
+ ]
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/command-seed-1.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ "/home/ubuntu/miniconda3/envs/mstok/bin/python",
3
+ "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/limited_eval.py",
4
+ "--ckpt",
5
+ "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/ncp.pt",
6
+ "--codec",
7
+ "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/vqvae.pt",
8
+ "--validation-source",
9
+ "/home/ubuntu/data/full_owt/valid_gpt2.bin",
10
+ "--ref-model",
11
+ "gpt2-large",
12
+ "--ref-dtype",
13
+ "float32",
14
+ "--seed",
15
+ "1",
16
+ "--n-samples",
17
+ "128",
18
+ "--batch-size",
19
+ "4",
20
+ "--temperature",
21
+ "1",
22
+ "--top-k",
23
+ "0",
24
+ "--top-p",
25
+ "1",
26
+ "--save-all-generations",
27
+ "--out",
28
+ "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-1.json"
29
+ ]
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/command-seed-2.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ "/home/ubuntu/miniconda3/envs/mstok/bin/python",
3
+ "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/limited_eval.py",
4
+ "--ckpt",
5
+ "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/ncp.pt",
6
+ "--codec",
7
+ "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/vqvae.pt",
8
+ "--validation-source",
9
+ "/home/ubuntu/data/full_owt/valid_gpt2.bin",
10
+ "--ref-model",
11
+ "gpt2-large",
12
+ "--ref-dtype",
13
+ "float32",
14
+ "--seed",
15
+ "2",
16
+ "--n-samples",
17
+ "128",
18
+ "--batch-size",
19
+ "4",
20
+ "--temperature",
21
+ "1",
22
+ "--top-k",
23
+ "0",
24
+ "--top-p",
25
+ "1",
26
+ "--save-all-generations",
27
+ "--out",
28
+ "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-2.json"
29
+ ]
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/command-seed-3.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ "/home/ubuntu/miniconda3/envs/mstok/bin/python",
3
+ "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/limited_eval.py",
4
+ "--ckpt",
5
+ "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/ncp.pt",
6
+ "--codec",
7
+ "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/vqvae.pt",
8
+ "--validation-source",
9
+ "/home/ubuntu/data/full_owt/valid_gpt2.bin",
10
+ "--ref-model",
11
+ "gpt2-large",
12
+ "--ref-dtype",
13
+ "float32",
14
+ "--seed",
15
+ "3",
16
+ "--n-samples",
17
+ "128",
18
+ "--batch-size",
19
+ "4",
20
+ "--temperature",
21
+ "1",
22
+ "--top-k",
23
+ "0",
24
+ "--top-p",
25
+ "1",
26
+ "--save-all-generations",
27
+ "--out",
28
+ "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-3.json"
29
+ ]
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/command-seed-4.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ "/home/ubuntu/miniconda3/envs/mstok/bin/python",
3
+ "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/limited_eval.py",
4
+ "--ckpt",
5
+ "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/ncp.pt",
6
+ "--codec",
7
+ "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/vqvae.pt",
8
+ "--validation-source",
9
+ "/home/ubuntu/data/full_owt/valid_gpt2.bin",
10
+ "--ref-model",
11
+ "gpt2-large",
12
+ "--ref-dtype",
13
+ "float32",
14
+ "--seed",
15
+ "4",
16
+ "--n-samples",
17
+ "128",
18
+ "--batch-size",
19
+ "4",
20
+ "--temperature",
21
+ "1",
22
+ "--top-k",
23
+ "0",
24
+ "--top-p",
25
+ "1",
26
+ "--save-all-generations",
27
+ "--out",
28
+ "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-4.json"
29
+ ]
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/comparison.json ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "checkpoint_step": 22000,
3
+ "training_input_positions": 23068672000,
4
+ "fp32": {
5
+ "protocol": {
6
+ "sampling": "random",
7
+ "temperature": 1.0,
8
+ "top_k": 0,
9
+ "top_p": 1.0,
10
+ "n_provided_levels": 1,
11
+ "n_levels": 16,
12
+ "document_aware_validation_sampling": true
13
+ },
14
+ "reference_model": "gpt2-large",
15
+ "checkpoint": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/ncp.pt",
16
+ "checkpoint_step": 22000,
17
+ "seeds": [
18
+ 0,
19
+ 1,
20
+ 2,
21
+ 3,
22
+ 4
23
+ ],
24
+ "samples_per_seed": 128,
25
+ "total_scored_samples": 640,
26
+ "total_scored_tokens": 160526,
27
+ "per_seed_mean_ppl": {
28
+ "0": 190.84469984159884,
29
+ "1": 190.74649366523607,
30
+ "2": 201.5548702336531,
31
+ "3": 190.96056600638894,
32
+ "4": 172.39751630645821
33
+ },
34
+ "mean_gen_ppl": 189.30082921066705,
35
+ "gen_ppl_se": 4.7069720468787,
36
+ "mean_of_seed_median_ppl": 179.90716247558595,
37
+ "mean_entropy_nats": 4.472143790612192,
38
+ "reference_dtype": "float32",
39
+ "tf32_allowed": false,
40
+ "training_continued_during_evaluation": true
41
+ },
42
+ "fp64": {
43
+ "protocol": {
44
+ "sampling": "random",
45
+ "temperature": 1.0,
46
+ "top_k": 0,
47
+ "top_p": 1.0,
48
+ "n_provided_levels": 1,
49
+ "n_levels": 16,
50
+ "document_aware_validation_sampling": true
51
+ },
52
+ "reference_model": "gpt2-large",
53
+ "checkpoint": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/ncp.pt",
54
+ "checkpoint_step": 22000,
55
+ "seeds": [
56
+ 0,
57
+ 1,
58
+ 2,
59
+ 3,
60
+ 4
61
+ ],
62
+ "samples_per_seed": 128,
63
+ "total_scored_samples": 640,
64
+ "total_scored_tokens": 160526,
65
+ "per_seed_mean_ppl": {
66
+ "0": 190.84481863176575,
67
+ "1": 190.74650059895347,
68
+ "2": 201.55483121276038,
69
+ "3": 190.96062394498597,
70
+ "4": 172.3975097731799
71
+ },
72
+ "mean_gen_ppl": 189.3008568323291,
73
+ "gen_ppl_se": 4.706971216847786,
74
+ "mean_of_seed_median_ppl": 179.9071451840254,
75
+ "mean_entropy_nats": 4.472143790612192,
76
+ "reference_dtype": "float64",
77
+ "tf32_allowed": false,
78
+ "training_continued_during_evaluation": true
79
+ },
80
+ "matched_samples": true,
81
+ "total_samples": 640,
82
+ "absolute_ppl_difference": 2.762166204206551e-05,
83
+ "relative_ppl_difference_percent": 1.4591411012787603e-05,
84
+ "previous_step": 12875,
85
+ "previous_fp32_gen_ppl": 174.96447636439655,
86
+ "improvement_vs_previous_fp32_percent": -8.193864917134563
87
+ }
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/eval_random_gen_ppl_checkpoint_fixed.py ADDED
@@ -0,0 +1,182 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Evaluate random-sampling generation PPL from a completed NCP checkpoint."""
2
+
3
+ import argparse
4
+ import json
5
+ import math
6
+ import sys
7
+ from collections import Counter
8
+ from pathlib import Path
9
+
10
+ REPO_ROOT = Path('/home/ubuntu/mstok-runs/iclr-debug-two-stage-20260916')
11
+ if str(REPO_ROOT) not in sys.path:
12
+ sys.path.insert(0, str(REPO_ROOT))
13
+
14
+ import hydra
15
+ import torch
16
+ from omegaconf import OmegaConf
17
+ from transformers import AutoModelForCausalLM, AutoTokenizer
18
+
19
+ from data.serialized_dataset import SerializedDataset
20
+ from evaluation.gen_ppl import generation_perplexity
21
+ from utils.misc import set_manual_seed
22
+ from utils.registry import trainers
23
+
24
+
25
+ def seed_evaluation(seed, reference_dtype):
26
+ # The shared seed helper enables TF32, so precision must be set afterward.
27
+ set_manual_seed(seed)
28
+ if reference_dtype in ("float32", "float64"):
29
+ torch.backends.cuda.matmul.allow_tf32 = False
30
+ torch.backends.cudnn.allow_tf32 = False
31
+
32
+
33
+ def main():
34
+ parser = argparse.ArgumentParser()
35
+ parser.add_argument("--ckpt", required=True)
36
+ parser.add_argument("--codec")
37
+ parser.add_argument("--validation-source")
38
+ parser.add_argument("--ref-model", default="gpt2-large")
39
+ parser.add_argument("--ref-dtype", choices=("bfloat16", "float32", "float64"), default="bfloat16",
40
+ help="Reference model and scoring dtype; float32/float64 disable TF32")
41
+ parser.add_argument("--seed", type=int, default=0)
42
+ parser.add_argument("--n-samples", type=int, default=128)
43
+ parser.add_argument("--batch-size", type=int, default=8)
44
+ parser.add_argument("--temperature", type=float, default=1.0)
45
+ parser.add_argument("--top-k", type=int, default=0)
46
+ parser.add_argument("--top-p", type=float, default=1.0)
47
+ parser.add_argument("--out", required=True)
48
+ parser.add_argument("--save-all-generations", action="store_true")
49
+ args = parser.parse_args()
50
+
51
+ device = "cuda"
52
+ checkpoint = torch.load(args.ckpt, map_location="cpu", weights_only=False)
53
+ cfg = checkpoint["args"]
54
+ OmegaConf.set_struct(cfg, False)
55
+ if args.codec:
56
+ cfg.tokenizer.vqvae.checkpoint_path = args.codec
57
+ if args.validation_source:
58
+ cfg.dataset.validate_source = args.validation_source
59
+ cfg.optimization.token_corruption_prob = 0.0
60
+ if getattr(cfg.optimization, "stochastic_encode", None) is not None:
61
+ cfg.optimization.stochastic_encode.enabled = False
62
+ else:
63
+ cfg.optimization.stochastic_encode = {"enabled": False}
64
+
65
+ seed_evaluation(args.seed, args.ref_dtype)
66
+ Trainer = hydra.utils.get_class(trainers[cfg.task])
67
+ trainer = Trainer(cfg, device)
68
+ trainer.model.load_state_dict(checkpoint["model"])
69
+ model = trainer.model.to(device).eval()
70
+ tokenizer = trainer.tokenizer
71
+ levels = list(model.levels)
72
+ prefix_len = int(cfg.model.prefix_len)
73
+
74
+ dataset = SerializedDataset(
75
+ cfg.dataset.validate_source,
76
+ int(cfg.model.context_length),
77
+ cfg.task,
78
+ tokenizer.pad_token_id,
79
+ )
80
+ full_sequences, _ = dataset.get_rand_batch(args.n_samples)
81
+ prefix_sequences = full_sequences[:, :prefix_len]
82
+ target_sequences = full_sequences[:, prefix_len:]
83
+
84
+ prompts = []
85
+ generations = []
86
+ with torch.no_grad():
87
+ for start in range(0, args.n_samples, args.batch_size):
88
+ end = min(start + args.batch_size, args.n_samples)
89
+ prefix = prefix_sequences[start:end].to(device)
90
+ target_idx = tokenizer.encode_pre_tokenized_idx(
91
+ target_sequences[start:end].to(device)
92
+ )
93
+ level0 = target_idx[:, : levels[0]]
94
+ generated_idx = model.generate(
95
+ level0,
96
+ prefix,
97
+ temperature=args.temperature,
98
+ top_k=args.top_k,
99
+ top_p=args.top_p,
100
+ )
101
+ reconstructions = tokenizer.decode_multiscales(
102
+ generated_idx, skip_special_tokens=True
103
+ )
104
+ generations.extend(
105
+ reconstructions[row][-1] for row in range(len(reconstructions))
106
+ )
107
+ prompts.extend(
108
+ tokenizer.pre_tokenizer.decode_batch(
109
+ prefix.cpu().tolist(), skip_special_tokens=True
110
+ )
111
+ )
112
+
113
+ if args.save_all_generations:
114
+ # Preserve every generated sample even if scoring fails or some are empty.
115
+ samples_path = Path(args.out).with_suffix(".samples.json")
116
+ samples_path.parent.mkdir(parents=True, exist_ok=True)
117
+ samples_path.write_text(json.dumps(dict(seed=args.seed, checkpoint=args.ckpt,
118
+ prompts=prompts, generations=generations), indent=2) + "\n")
119
+ kept = [(prompt, text) for prompt, text in zip(prompts, generations) if text.strip()]
120
+ prompts = [prompt for prompt, _ in kept]
121
+ generations = [text for _, text in kept]
122
+
123
+ entropies = []
124
+ for text in generations:
125
+ ids = tokenizer.pre_tokenizer.encode(text)
126
+ if ids:
127
+ counts = Counter(ids)
128
+ entropies.append(
129
+ -sum((count / len(ids)) * math.log(count / len(ids)) for count in counts.values())
130
+ )
131
+
132
+ del model, trainer, tokenizer
133
+ torch.cuda.empty_cache()
134
+
135
+ ref_tokenizer = AutoTokenizer.from_pretrained(args.ref_model)
136
+ ref_model = AutoModelForCausalLM.from_pretrained(
137
+ args.ref_model, torch_dtype=getattr(torch, args.ref_dtype)
138
+ ).to(device).eval()
139
+ result = generation_perplexity(
140
+ ref_model,
141
+ ref_tokenizer,
142
+ prompts,
143
+ generations,
144
+ score_only_generated=True,
145
+ batch_size=args.batch_size,
146
+ device=device,
147
+ )
148
+
149
+ payload = {
150
+ "checkpoint": str(Path(args.ckpt).resolve()),
151
+ "checkpoint_step": int(checkpoint["step"]),
152
+ "codec": str(Path(cfg.tokenizer.vqvae.checkpoint_path).resolve()),
153
+ "reference_model": args.ref_model,
154
+ "reference_dtype": args.ref_dtype,
155
+ "tf32_allowed": torch.backends.cuda.matmul.allow_tf32,
156
+ "protocol": {
157
+ "sampling": "random" if args.top_k == 0 and args.top_p == 1.0 else "truncated",
158
+ "temperature": args.temperature,
159
+ "top_k": args.top_k,
160
+ "top_p": args.top_p,
161
+ "n_provided_levels": 1,
162
+ "n_levels": len(levels),
163
+ "document_aware_validation_sampling": dataset.doc_offsets is not None,
164
+ },
165
+ "seed": args.seed,
166
+ "requested_samples": args.n_samples,
167
+ "scored_samples": len(generations),
168
+ "skipped_empty_samples": args.n_samples - len(generations),
169
+ "scored_tokens": int(result.token_count.sum()),
170
+ "mean_ppl": float(result.mean_ppl),
171
+ "median_ppl": float(result.ppl.median()),
172
+ "mean_entropy_nats": sum(entropies) / len(entropies),
173
+ "sample_generations": generations if args.save_all_generations else generations[:8],
174
+ }
175
+ output_path = Path(args.out)
176
+ output_path.parent.mkdir(parents=True, exist_ok=True)
177
+ output_path.write_text(json.dumps(payload, indent=2) + "\n")
178
+ print(json.dumps({key: value for key, value in payload.items() if key != "sample_generations"}, indent=2))
179
+
180
+
181
+ if __name__ == "__main__":
182
+ main()
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/evaluation-precision.patch ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/evaluation/eval_random_gen_ppl_checkpoint.py b/evaluation/eval_random_gen_ppl_checkpoint.py
2
+ index 2d5c741..eb4eb89 100644
3
+ --- a/evaluation/eval_random_gen_ppl_checkpoint.py
4
+ +++ b/evaluation/eval_random_gen_ppl_checkpoint.py
5
+ @@ -5,6 +5,7 @@ import json
6
+ import math
7
+ import sys
8
+ from collections import Counter
9
+ +from contextlib import contextmanager
10
+ from pathlib import Path
11
+
12
+ REPO_ROOT = Path(__file__).resolve().parents[1]
13
+ @@ -22,14 +23,35 @@ from utils.misc import set_manual_seed
14
+ from utils.registry import trainers
15
+
16
+
17
+ +def seed_evaluation(seed, reference_dtype):
18
+ + # The shared seed helper enables TF32, so precision must be set afterward.
19
+ + set_manual_seed(seed)
20
+ + if reference_dtype in ("float32", "float64"):
21
+ + torch.backends.cuda.matmul.allow_tf32 = False
22
+ + torch.backends.cudnn.allow_tf32 = False
23
+ +
24
+ +
25
+ +@contextmanager
26
+ +def reference_precision_context(reference_dtype):
27
+ + previous_dtype = torch.get_default_dtype()
28
+ + try:
29
+ + # Transformers' causal-mask helper creates a tensor without a dtype
30
+ + # before converting it. Its FP64 minimum overflows a default FP32 tensor.
31
+ + if reference_dtype == "float64":
32
+ + torch.set_default_dtype(torch.float64)
33
+ + yield
34
+ + finally:
35
+ + torch.set_default_dtype(previous_dtype)
36
+ +
37
+ +
38
+ def main():
39
+ parser = argparse.ArgumentParser()
40
+ parser.add_argument("--ckpt", required=True)
41
+ parser.add_argument("--codec")
42
+ parser.add_argument("--validation-source")
43
+ parser.add_argument("--ref-model", default="gpt2-large")
44
+ - parser.add_argument("--ref-dtype", choices=("bfloat16", "float32"), default="bfloat16",
45
+ - help="Legacy default retained; new ICLR runs explicitly use float32")
46
+ + parser.add_argument("--ref-dtype", choices=("bfloat16", "float32", "float64"), default="bfloat16",
47
+ + help="Reference model and scoring dtype; float32/float64 disable TF32")
48
+ parser.add_argument("--seed", type=int, default=0)
49
+ parser.add_argument("--n-samples", type=int, default=128)
50
+ parser.add_argument("--batch-size", type=int, default=8)
51
+ @@ -40,10 +62,6 @@ def main():
52
+ parser.add_argument("--save-all-generations", action="store_true")
53
+ args = parser.parse_args()
54
+
55
+ - if args.ref_dtype == "float32":
56
+ - torch.backends.cuda.matmul.allow_tf32 = False
57
+ - torch.backends.cudnn.allow_tf32 = False
58
+ -
59
+ device = "cuda"
60
+ checkpoint = torch.load(args.ckpt, map_location="cpu", weights_only=False)
61
+ cfg = checkpoint["args"]
62
+ @@ -58,7 +76,7 @@ def main():
63
+ else:
64
+ cfg.optimization.stochastic_encode = {"enabled": False}
65
+
66
+ - set_manual_seed(args.seed)
67
+ + seed_evaluation(args.seed, args.ref_dtype)
68
+ Trainer = hydra.utils.get_class(trainers[cfg.task])
69
+ trainer = Trainer(cfg, device)
70
+ trainer.model.load_state_dict(checkpoint["model"])
71
+ @@ -129,18 +147,19 @@ def main():
72
+ torch.cuda.empty_cache()
73
+
74
+ ref_tokenizer = AutoTokenizer.from_pretrained(args.ref_model)
75
+ - ref_model = AutoModelForCausalLM.from_pretrained(
76
+ - args.ref_model, torch_dtype=getattr(torch, args.ref_dtype)
77
+ - ).to(device).eval()
78
+ - result = generation_perplexity(
79
+ - ref_model,
80
+ - ref_tokenizer,
81
+ - prompts,
82
+ - generations,
83
+ - score_only_generated=True,
84
+ - batch_size=args.batch_size,
85
+ - device=device,
86
+ - )
87
+ + with reference_precision_context(args.ref_dtype):
88
+ + ref_model = AutoModelForCausalLM.from_pretrained(
89
+ + args.ref_model, torch_dtype=getattr(torch, args.ref_dtype)
90
+ + ).to(device).eval()
91
+ + result = generation_perplexity(
92
+ + ref_model,
93
+ + ref_tokenizer,
94
+ + prompts,
95
+ + generations,
96
+ + score_only_generated=True,
97
+ + batch_size=args.batch_size,
98
+ + device=device,
99
+ + )
100
+
101
+ payload = {
102
+ "checkpoint": str(Path(args.ckpt).resolve()),
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/evaluator-provenance.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "base_commit": "1b5226d4bbdd34653cb5fdd58d436355fb76ac8c",
3
+ "evaluator_sha256": "2da5a5a9fa2d367e647396880b4ea2b75fed0168c016e1ad3cff1e36e4a9876d",
4
+ "change": "Disable TF32 after seeding; add float64 reference scoring support",
5
+ "training_checkout_unchanged": true,
6
+ "fp64_rescorer_sha256": "a0a8f7f2e4188c384ed8cbf0d8769f0c018b913027b8dc21da719556bb7ea624",
7
+ "fp64_mask_fix": "Use torch.float64 default tensor dtype in isolated FP64 scorer to avoid missing-dtype torch.full overflow in Transformers causal mask"
8
+ }
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-precision-audit.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "parameter_dtypes": [
3
+ "torch.float64"
4
+ ],
5
+ "floating_buffer_dtypes": [
6
+ "torch.float64"
7
+ ],
8
+ "observed_leaf_module_output_dtypes": [
9
+ "torch.float64"
10
+ ],
11
+ "audited_module_count": 329,
12
+ "logits_dtypes": [
13
+ "torch.float64"
14
+ ],
15
+ "nll_dtype": "torch.float64",
16
+ "autocast_enabled": false,
17
+ "tf32_allowed": false,
18
+ "attention_implementation": "sdpa",
19
+ "reorder_and_upcast_attn": false,
20
+ "gpu": 7,
21
+ "peak_allocated_gib": 8.05501937866211,
22
+ "peak_reserved_gib": 8.537109375,
23
+ "allocator_fraction_limit": 0.4
24
+ }
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-0.json ADDED
The diff for this file is too large to render. See raw diff
 
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-0.per-example.json ADDED
@@ -0,0 +1,392 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "nll_sum": [
3
+ 1464.3900905656703,
4
+ 1268.4523252489776,
5
+ 1315.5621233205584,
6
+ 1332.39794221183,
7
+ 1206.9263778548375,
8
+ 1384.681874260977,
9
+ 1380.8698006710854,
10
+ 1316.956610847524,
11
+ 1100.288075412007,
12
+ 1110.8369062624454,
13
+ 1237.5394152770118,
14
+ 1005.9572380639675,
15
+ 1380.7136955248511,
16
+ 1194.0719528322488,
17
+ 1001.943173075374,
18
+ 1189.4977288016153,
19
+ 1240.9615620800232,
20
+ 1277.6675585269684,
21
+ 1425.2421466131027,
22
+ 2150.0273629647486,
23
+ 1452.8711834236906,
24
+ 1336.928605040855,
25
+ 1277.7601285090877,
26
+ 1502.3614338534449,
27
+ 1484.847570118482,
28
+ 1042.8909446528012,
29
+ 1257.2196676908,
30
+ 1252.2573844665371,
31
+ 1484.2941220210346,
32
+ 1424.503485860002,
33
+ 1361.4034365753018,
34
+ 1439.155116850991,
35
+ 1390.1145243572937,
36
+ 1849.133897385666,
37
+ 1072.8175256658005,
38
+ 1361.0964217124779,
39
+ 1074.8992209383619,
40
+ 1504.8571831712452,
41
+ 1362.7802909888017,
42
+ 1405.9302854708947,
43
+ 1283.4135303366795,
44
+ 1355.4178301314632,
45
+ 1385.4612109983932,
46
+ 1425.1160141816763,
47
+ 1032.1694589824037,
48
+ 1338.9217874249293,
49
+ 1273.5968996470124,
50
+ 1251.2367450526808,
51
+ 1464.9315578723456,
52
+ 1079.5256854544123,
53
+ 1318.9993888238805,
54
+ 1328.6820245042304,
55
+ 1244.4014377769954,
56
+ 1220.4893029090845,
57
+ 1412.1571589824746,
58
+ 1203.6207079256974,
59
+ 1270.790285857638,
60
+ 1227.7617541410127,
61
+ 1494.1468788718887,
62
+ 1104.6240509436839,
63
+ 1494.4536166328376,
64
+ 1063.7994548912604,
65
+ 1593.7734160104192,
66
+ 1215.850573161972,
67
+ 1409.807325892265,
68
+ 1345.951696347589,
69
+ 1499.172271361063,
70
+ 1722.5908810125577,
71
+ 1299.6269975938797,
72
+ 1243.37216005177,
73
+ 1076.9682614749977,
74
+ 1289.0213954349047,
75
+ 1260.3022628998206,
76
+ 1341.7135801512204,
77
+ 1290.585757575325,
78
+ 1396.8936411431364,
79
+ 1397.904671665892,
80
+ 1450.5104614625247,
81
+ 1250.5964482392799,
82
+ 1551.4143616793608,
83
+ 1175.8251833799284,
84
+ 1221.4895963107942,
85
+ 1222.061122857294,
86
+ 1369.791503134197,
87
+ 1782.7862749869914,
88
+ 1373.732283821038,
89
+ 1723.5840535244934,
90
+ 1560.373838963179,
91
+ 1321.6395625565372,
92
+ 1413.4883759896152,
93
+ 1357.7725335387183,
94
+ 1109.0136312236466,
95
+ 1354.2432716745602,
96
+ 1489.755485594454,
97
+ 1078.9513183770716,
98
+ 1171.8210260241663,
99
+ 1231.9002803293176,
100
+ 958.1657422090016,
101
+ 1338.7019924046162,
102
+ 1379.4428737786689,
103
+ 1167.042298508388,
104
+ 1394.1194020680382,
105
+ 1158.9880694626477,
106
+ 1274.1145147862842,
107
+ 1019.837762462782,
108
+ 1093.2727426614138,
109
+ 1385.2493873878122,
110
+ 1514.8663593017068,
111
+ 1454.2054412411385,
112
+ 1434.9305133602645,
113
+ 948.0564432971278,
114
+ 1360.7787537806726,
115
+ 1337.0567241206968,
116
+ 1257.2942510908415,
117
+ 1180.0792636584677,
118
+ 1051.7770401355947,
119
+ 1107.6169464529864,
120
+ 1284.782427208798,
121
+ 1373.2282237041188,
122
+ 1459.6261996954645,
123
+ 1253.9382650952264,
124
+ 1413.7236527636396,
125
+ 1570.7224832148781,
126
+ 1088.385649765306,
127
+ 1322.9436179734544,
128
+ 1248.7657739781425,
129
+ 1312.9369946427196,
130
+ 1267.6364970186994
131
+ ],
132
+ "token_count": [
133
+ 244,
134
+ 251,
135
+ 252,
136
+ 254,
137
+ 253,
138
+ 253,
139
+ 248,
140
+ 245,
141
+ 254,
142
+ 253,
143
+ 253,
144
+ 251,
145
+ 242,
146
+ 251,
147
+ 253,
148
+ 252,
149
+ 252,
150
+ 253,
151
+ 253,
152
+ 245,
153
+ 253,
154
+ 250,
155
+ 249,
156
+ 252,
157
+ 252,
158
+ 250,
159
+ 249,
160
+ 252,
161
+ 254,
162
+ 249,
163
+ 253,
164
+ 253,
165
+ 248,
166
+ 241,
167
+ 249,
168
+ 254,
169
+ 254,
170
+ 249,
171
+ 250,
172
+ 243,
173
+ 251,
174
+ 255,
175
+ 239,
176
+ 254,
177
+ 242,
178
+ 250,
179
+ 255,
180
+ 250,
181
+ 251,
182
+ 251,
183
+ 253,
184
+ 248,
185
+ 254,
186
+ 254,
187
+ 248,
188
+ 254,
189
+ 252,
190
+ 252,
191
+ 245,
192
+ 255,
193
+ 253,
194
+ 253,
195
+ 241,
196
+ 253,
197
+ 251,
198
+ 257,
199
+ 250,
200
+ 251,
201
+ 253,
202
+ 250,
203
+ 249,
204
+ 252,
205
+ 252,
206
+ 250,
207
+ 253,
208
+ 246,
209
+ 254,
210
+ 250,
211
+ 255,
212
+ 248,
213
+ 254,
214
+ 249,
215
+ 255,
216
+ 256,
217
+ 238,
218
+ 251,
219
+ 239,
220
+ 247,
221
+ 255,
222
+ 253,
223
+ 254,
224
+ 246,
225
+ 248,
226
+ 245,
227
+ 254,
228
+ 252,
229
+ 252,
230
+ 254,
231
+ 252,
232
+ 254,
233
+ 254,
234
+ 252,
235
+ 249,
236
+ 255,
237
+ 254,
238
+ 253,
239
+ 252,
240
+ 254,
241
+ 250,
242
+ 257,
243
+ 247,
244
+ 250,
245
+ 254,
246
+ 255,
247
+ 250,
248
+ 254,
249
+ 249,
250
+ 253,
251
+ 254,
252
+ 254,
253
+ 253,
254
+ 251,
255
+ 238,
256
+ 253,
257
+ 251,
258
+ 251,
259
+ 251,
260
+ 250
261
+ ],
262
+ "ppl": [
263
+ 404.07428379008036,
264
+ 156.58436235308912,
265
+ 185.02382791990416,
266
+ 189.74122873092713,
267
+ 117.97349628945572,
268
+ 238.1857630890013,
269
+ 261.9158816494278,
270
+ 216.0118150513673,
271
+ 76.08436699145878,
272
+ 80.69363570596369,
273
+ 133.14784660574963,
274
+ 55.02555761508786,
275
+ 300.4942124044239,
276
+ 116.42633742306415,
277
+ 52.47042596638392,
278
+ 112.19395140017421,
279
+ 137.6137218362856,
280
+ 156.03329302282123,
281
+ 279.6022810061183,
282
+ 6474.4690917375365,
283
+ 311.86607458292127,
284
+ 210.1274854645284,
285
+ 169.2821384415936,
286
+ 388.28970432434363,
287
+ 362.220181232671,
288
+ 64.81673191618323,
289
+ 155.878205858847,
290
+ 143.92255396112188,
291
+ 345.0459669706494,
292
+ 305.1787082095823,
293
+ 217.24836783735614,
294
+ 295.4087958310224,
295
+ 271.86360856679323,
296
+ 2148.9932613780757,
297
+ 74.32921808243496,
298
+ 212.43739423171814,
299
+ 68.84700312339152,
300
+ 421.4086994275506,
301
+ 233.01927231775431,
302
+ 325.6168356672514,
303
+ 166.20156788186043,
304
+ 203.4385593686175,
305
+ 329.2801251210154,
306
+ 273.33358415204407,
307
+ 71.17652461914923,
308
+ 211.8094711733221,
309
+ 147.59877987085136,
310
+ 149.14917509091362,
311
+ 342.5373519878235,
312
+ 73.76609031872484,
313
+ 183.72431012256328,
314
+ 212.2126437417713,
315
+ 134.18484087634468,
316
+ 122.12877193065354,
317
+ 297.1336663685596,
318
+ 114.28144303059102,
319
+ 154.90601755596032,
320
+ 130.5910197431867,
321
+ 445.2156133806257,
322
+ 76.08560007992898,
323
+ 367.57643780005253,
324
+ 67.0032367833925,
325
+ 744.8387122282322,
326
+ 122.20909739802065,
327
+ 274.99756815393096,
328
+ 188.13619342153103,
329
+ 402.0952840143011,
330
+ 956.147200430432,
331
+ 170.1815150710301,
332
+ 144.53022282876876,
333
+ 75.5786428177496,
334
+ 166.52813391335224,
335
+ 148.59128095286968,
336
+ 214.188039960954,
337
+ 164.20727086538048,
338
+ 292.48969507579665,
339
+ 245.56500527905848,
340
+ 330.97466969584553,
341
+ 134.86844165197195,
342
+ 520.9755289621236,
343
+ 102.43546652607121,
344
+ 135.0413068191696,
345
+ 120.59002388998857,
346
+ 210.76590426631356,
347
+ 1791.30312076629,
348
+ 238.18245255088718,
349
+ 1355.1247012427423,
350
+ 554.0766262723646,
351
+ 178.19888273994107,
352
+ 266.9097475324237,
353
+ 209.67551219340928,
354
+ 90.75698980096628,
355
+ 235.25225254387567,
356
+ 437.30663680401153,
357
+ 69.95413661686723,
358
+ 104.59371215717586,
359
+ 132.75338726406358,
360
+ 43.480217810821706,
361
+ 202.81809501910703,
362
+ 228.3495241626018,
363
+ 98.95396267937097,
364
+ 252.70425426108065,
365
+ 105.06409159568571,
366
+ 147.89868950074288,
367
+ 55.42935355709616,
368
+ 75.28162920665058,
369
+ 243.96417201876255,
370
+ 389.1795419830371,
371
+ 335.9027773490065,
372
+ 265.9709817109361,
373
+ 46.44576071473974,
374
+ 231.16113353585607,
375
+ 193.2535101091893,
376
+ 138.45781446802494,
377
+ 112.20382177046713,
378
+ 62.856508686193514,
379
+ 85.47815353889686,
380
+ 160.48354466984958,
381
+ 222.83026308325788,
382
+ 313.11165160345166,
383
+ 142.06400956930992,
384
+ 279.3219754906784,
385
+ 734.8558071526454,
386
+ 73.84140106047779,
387
+ 194.55048747344873,
388
+ 144.77234094434053,
389
+ 186.94691131769494,
390
+ 159.26125835732935
391
+ ]
392
+ }
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-1.json ADDED
The diff for this file is too large to render. See raw diff
 
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-1.per-example.json ADDED
@@ -0,0 +1,392 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "nll_sum": [
3
+ 1282.8641017855098,
4
+ 1400.092761297254,
5
+ 1169.3869786349032,
6
+ 1109.8943496548616,
7
+ 1197.6842517670293,
8
+ 1516.563235951844,
9
+ 1198.5442587586683,
10
+ 1409.2527222203958,
11
+ 1411.5388562372232,
12
+ 1201.9475175038006,
13
+ 1216.3551303670802,
14
+ 1338.0343587862897,
15
+ 957.3136513358281,
16
+ 1726.106777543671,
17
+ 1553.3948428802523,
18
+ 1446.188028658199,
19
+ 1408.3718497804239,
20
+ 1474.5868460645693,
21
+ 1341.686013673987,
22
+ 1298.6409621644502,
23
+ 1335.1002639022927,
24
+ 1317.6654682506373,
25
+ 1412.1391011604958,
26
+ 1300.6462028717929,
27
+ 1292.9480827405564,
28
+ 1237.818258668689,
29
+ 1081.281881859005,
30
+ 1487.6426787908165,
31
+ 1208.2342581988216,
32
+ 1427.0822996434738,
33
+ 1421.4609196476656,
34
+ 1673.055810964495,
35
+ 1385.693102921472,
36
+ 1292.498652951742,
37
+ 1362.2253628497378,
38
+ 1163.3561390044583,
39
+ 1366.2244890266861,
40
+ 1164.5182913364174,
41
+ 1143.624295546129,
42
+ 1596.3803362593394,
43
+ 1377.5231704725484,
44
+ 1371.3988149081524,
45
+ 1384.2233671599172,
46
+ 1222.9846999058882,
47
+ 1213.360848501624,
48
+ 1204.339620936459,
49
+ 1754.9295145729016,
50
+ 1150.396079238962,
51
+ 1184.1424545701188,
52
+ 1477.4780109360058,
53
+ 1421.5290063292227,
54
+ 1428.4511977294937,
55
+ 1280.3755352487854,
56
+ 1264.008728358122,
57
+ 1505.4416344279944,
58
+ 1207.8243758061203,
59
+ 1463.670713158287,
60
+ 1108.1380084377856,
61
+ 1313.6070812636476,
62
+ 1325.9316990450686,
63
+ 1412.919577752941,
64
+ 1325.6250841042142,
65
+ 1229.1698653844826,
66
+ 1390.6812333132148,
67
+ 1363.6863312626126,
68
+ 1167.144101054263,
69
+ 996.0012674488412,
70
+ 1359.2510825676168,
71
+ 1862.0211731111992,
72
+ 1110.8300790039275,
73
+ 1378.7680766938565,
74
+ 1160.3917788953204,
75
+ 1046.0304335844976,
76
+ 1515.5216431825525,
77
+ 1423.572816933578,
78
+ 1231.107825416153,
79
+ 1387.0567613101903,
80
+ 1310.2756298474367,
81
+ 1341.7049707018614,
82
+ 1575.686255472655,
83
+ 1387.115820911841,
84
+ 1012.1517976753775,
85
+ 1415.9072137493326,
86
+ 1254.1160104675268,
87
+ 1215.248257530749,
88
+ 1004.0954044370416,
89
+ 1347.7104063001832,
90
+ 1203.1574587194918,
91
+ 1075.4555928517061,
92
+ 1322.704102969308,
93
+ 1473.4809599560422,
94
+ 1318.4298939065689,
95
+ 1181.7775691075346,
96
+ 1345.2894331624505,
97
+ 1404.9359416008847,
98
+ 1118.3215446615552,
99
+ 1375.6476942117883,
100
+ 1330.4403793519605,
101
+ 1327.3101409890337,
102
+ 1514.4532846640636,
103
+ 1324.965288004103,
104
+ 1503.098345157581,
105
+ 1282.095140170212,
106
+ 1252.27413755045,
107
+ 1731.7539466058224,
108
+ 1055.8172843954067,
109
+ 1477.627047080227,
110
+ 1118.3072248699593,
111
+ 1534.2682643723435,
112
+ 1212.6603101875326,
113
+ 1372.1388818309006,
114
+ 1361.7671469434376,
115
+ 1238.381620709249,
116
+ 1142.8747097820249,
117
+ 1129.641135996422,
118
+ 1357.9153028327826,
119
+ 1353.6968180031392,
120
+ 1332.759116404146,
121
+ 1056.5815495524673,
122
+ 1295.4374309064533,
123
+ 1145.974633483295,
124
+ 1200.6823197208182,
125
+ 1497.7869513158494,
126
+ 1269.982090348119,
127
+ 1473.811351460985,
128
+ 1249.1574710838663,
129
+ 1069.0261099595955,
130
+ 1311.8704411877284
131
+ ],
132
+ "token_count": [
133
+ 253,
134
+ 252,
135
+ 253,
136
+ 251,
137
+ 254,
138
+ 253,
139
+ 254,
140
+ 254,
141
+ 256,
142
+ 251,
143
+ 250,
144
+ 251,
145
+ 186,
146
+ 247,
147
+ 248,
148
+ 253,
149
+ 253,
150
+ 251,
151
+ 254,
152
+ 255,
153
+ 252,
154
+ 255,
155
+ 252,
156
+ 254,
157
+ 252,
158
+ 247,
159
+ 252,
160
+ 241,
161
+ 240,
162
+ 252,
163
+ 252,
164
+ 249,
165
+ 250,
166
+ 254,
167
+ 246,
168
+ 252,
169
+ 255,
170
+ 255,
171
+ 252,
172
+ 248,
173
+ 248,
174
+ 255,
175
+ 248,
176
+ 252,
177
+ 252,
178
+ 254,
179
+ 237,
180
+ 253,
181
+ 248,
182
+ 244,
183
+ 255,
184
+ 237,
185
+ 249,
186
+ 255,
187
+ 237,
188
+ 251,
189
+ 255,
190
+ 251,
191
+ 254,
192
+ 253,
193
+ 254,
194
+ 254,
195
+ 254,
196
+ 250,
197
+ 251,
198
+ 248,
199
+ 253,
200
+ 252,
201
+ 245,
202
+ 254,
203
+ 251,
204
+ 250,
205
+ 252,
206
+ 254,
207
+ 252,
208
+ 252,
209
+ 250,
210
+ 251,
211
+ 256,
212
+ 252,
213
+ 253,
214
+ 254,
215
+ 252,
216
+ 254,
217
+ 253,
218
+ 251,
219
+ 248,
220
+ 253,
221
+ 254,
222
+ 250,
223
+ 249,
224
+ 254,
225
+ 251,
226
+ 255,
227
+ 254,
228
+ 254,
229
+ 253,
230
+ 243,
231
+ 250,
232
+ 246,
233
+ 252,
234
+ 252,
235
+ 253,
236
+ 247,
237
+ 248,
238
+ 251,
239
+ 253,
240
+ 254,
241
+ 253,
242
+ 252,
243
+ 255,
244
+ 251,
245
+ 254,
246
+ 253,
247
+ 251,
248
+ 250,
249
+ 252,
250
+ 253,
251
+ 254,
252
+ 249,
253
+ 254,
254
+ 249,
255
+ 249,
256
+ 255,
257
+ 254,
258
+ 255,
259
+ 251,
260
+ 253
261
+ ],
262
+ "ppl": [
263
+ 159.27130963525173,
264
+ 258.7658648012341,
265
+ 101.70565635036155,
266
+ 83.25347246337188,
267
+ 111.64144252352838,
268
+ 401.1442509676275,
269
+ 112.02008483362494,
270
+ 256.78497559643205,
271
+ 248.09795727182396,
272
+ 120.13733273918483,
273
+ 129.72547949231438,
274
+ 206.606119943343,
275
+ 171.88877107459786,
276
+ 1083.8627382592006,
277
+ 525.1525976676629,
278
+ 303.7357913281958,
279
+ 261.5661338080401,
280
+ 355.97054629009983,
281
+ 196.80795396520415,
282
+ 162.83047933489433,
283
+ 199.9399197657254,
284
+ 175.44323824132965,
285
+ 271.4360563938115,
286
+ 167.44490001529283,
287
+ 169.1433127623901,
288
+ 150.1162440231846,
289
+ 73.02494670741942,
290
+ 479.52268279425164,
291
+ 153.5934857237824,
292
+ 288.01858191282076,
293
+ 281.664862997611,
294
+ 828.0716151960179,
295
+ 255.3850513870243,
296
+ 162.15900623500002,
297
+ 254.0424743779495,
298
+ 101.13867704134208,
299
+ 212.24538765191176,
300
+ 96.22973421593679,
301
+ 93.5215273650981,
302
+ 624.5413153833377,
303
+ 258.4052045610547,
304
+ 216.5961518536849,
305
+ 265.4816797090937,
306
+ 128.13877912692163,
307
+ 123.33743855417153,
308
+ 114.60535954735224,
309
+ 1643.7999516056193,
310
+ 94.35083068264116,
311
+ 118.48281891167733,
312
+ 426.3402556901076,
313
+ 263.6502869187891,
314
+ 414.5610474993274,
315
+ 171.06958827292902,
316
+ 142.15200942619126,
317
+ 573.681524438938,
318
+ 122.98339004885857,
319
+ 311.02868717339993,
320
+ 82.67295010107911,
321
+ 176.21087342530006,
322
+ 188.82803914760106,
323
+ 260.5189238686462,
324
+ 184.74867613848465,
325
+ 126.37471706955924,
326
+ 260.53180171249426,
327
+ 228.8377579653334,
328
+ 110.63386259015675,
329
+ 51.252474662987105,
330
+ 220.04971591460952,
331
+ 1998.3685883779365,
332
+ 79.30861554791598,
333
+ 243.0093468846857,
334
+ 103.7067407549328,
335
+ 63.492032080998634,
336
+ 390.1848660985173,
337
+ 284.0352868444443,
338
+ 132.33657838986053,
339
+ 256.78188941417477,
340
+ 184.97517610492199,
341
+ 188.86548494595388,
342
+ 519.4254183823319,
343
+ 240.48824930189093,
344
+ 53.7772006252197,
345
+ 275.525289594176,
346
+ 139.41632606394685,
347
+ 121.9185009572041,
348
+ 54.61890659026984,
349
+ 229.13610098022906,
350
+ 116.22908077392748,
351
+ 68.99797368013256,
352
+ 198.50542145640685,
353
+ 371.51684884811954,
354
+ 179.5886348728629,
355
+ 110.86100037937241,
356
+ 195.5165119441364,
357
+ 252.45773904039297,
358
+ 81.68257730257248,
359
+ 229.8306342562656,
360
+ 238.66557148075964,
361
+ 202.19661466850604,
362
+ 471.6863091113105,
363
+ 192.05825969676107,
364
+ 389.42682276050164,
365
+ 158.7879594750588,
366
+ 159.16410542562923,
367
+ 1078.0173187373568,
368
+ 67.1174026382264,
369
+ 343.924828258336,
370
+ 81.67797240291469,
371
+ 430.2220368595737,
372
+ 122.99504721853998,
373
+ 217.22567530327794,
374
+ 227.09470186082774,
375
+ 131.0420405267296,
376
+ 91.58718343072306,
377
+ 90.06776169921584,
378
+ 228.52856451304413,
379
+ 215.25271788116078,
380
+ 193.99310059406372,
381
+ 64.0567801656744,
382
+ 181.73688667735237,
383
+ 91.07753306334554,
384
+ 124.2154239617479,
385
+ 409.61129122911797,
386
+ 145.52122073222702,
387
+ 331.0955139440707,
388
+ 134.109515947679,
389
+ 70.7440311200285,
390
+ 178.619645719249
391
+ ]
392
+ }
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-2.json ADDED
The diff for this file is too large to render. See raw diff
 
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-2.per-example.json ADDED
@@ -0,0 +1,392 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "nll_sum": [
3
+ 1395.8905319607165,
4
+ 1390.8910196293236,
5
+ 1421.69934997863,
6
+ 1519.6282287892745,
7
+ 1422.604939235942,
8
+ 1769.5007008096286,
9
+ 978.845964172355,
10
+ 1514.6548417781357,
11
+ 1231.686619907808,
12
+ 1701.5124392562404,
13
+ 1326.3068973670752,
14
+ 1176.928039389526,
15
+ 1334.3269639344578,
16
+ 1353.376264279329,
17
+ 1284.9083244141307,
18
+ 1816.209980128403,
19
+ 1477.0366185893706,
20
+ 1522.102917585078,
21
+ 1403.3694568405544,
22
+ 1373.824645342557,
23
+ 1486.042091090831,
24
+ 1467.6622403219972,
25
+ 1379.4340369215865,
26
+ 1408.6066541648966,
27
+ 1232.540403188052,
28
+ 1422.345453711965,
29
+ 1140.6633192829,
30
+ 1383.0520756872368,
31
+ 1593.1117113129367,
32
+ 1419.4001349527805,
33
+ 1386.8793082976342,
34
+ 1304.9622871238955,
35
+ 1386.3508638805442,
36
+ 1308.7039428762366,
37
+ 1283.521113251807,
38
+ 1499.0263135678772,
39
+ 1365.4921650225388,
40
+ 1513.53441184859,
41
+ 1137.3145552259862,
42
+ 1386.8782169208948,
43
+ 1356.5408868828063,
44
+ 1325.6095869699286,
45
+ 1453.708374363745,
46
+ 1261.7904891818948,
47
+ 1261.1020185244697,
48
+ 1154.5692532873945,
49
+ 1495.6524928343458,
50
+ 1195.6778564457175,
51
+ 1349.8173044537077,
52
+ 1274.307789242344,
53
+ 1386.7147562560046,
54
+ 1012.3928897557752,
55
+ 1088.9361920284082,
56
+ 1224.5600333119246,
57
+ 1280.9218201490398,
58
+ 1297.3798795159175,
59
+ 1283.525916217523,
60
+ 1661.4581114962373,
61
+ 1173.4248411347808,
62
+ 1454.2368008279268,
63
+ 1185.5495774571357,
64
+ 1357.8840828575783,
65
+ 1149.5061327552703,
66
+ 1316.505347066273,
67
+ 1406.0579031496661,
68
+ 1147.4239174636932,
69
+ 1576.6373586555956,
70
+ 1198.0735480512337,
71
+ 1282.8029272182177,
72
+ 993.1469983772247,
73
+ 1639.8111184994743,
74
+ 1461.1559723356504,
75
+ 1696.2628643049816,
76
+ 1248.971870903651,
77
+ 1557.2016097572914,
78
+ 1123.190341917492,
79
+ 1575.4692219233584,
80
+ 1489.4025396735185,
81
+ 1464.370743455736,
82
+ 1432.2207604035625,
83
+ 1081.1508399143834,
84
+ 1290.7715939535942,
85
+ 1231.5442724216177,
86
+ 1325.7106782946448,
87
+ 1092.5804512518457,
88
+ 1264.5119877524403,
89
+ 1699.3361255588338,
90
+ 1344.4384278357752,
91
+ 1357.8824384664501,
92
+ 1111.0352142074648,
93
+ 1219.2728118047976,
94
+ 1157.1208014780113,
95
+ 1381.1832312127235,
96
+ 1378.6450954196403,
97
+ 1372.801801767232,
98
+ 1153.0490386905005,
99
+ 1163.7628533683146,
100
+ 896.5742556075472,
101
+ 1367.2145654807157,
102
+ 1338.4425525780298,
103
+ 1201.3827036565522,
104
+ 992.882924055608,
105
+ 1194.957612014015,
106
+ 1369.8330911477558,
107
+ 1208.30226396041,
108
+ 1034.0477491715726,
109
+ 1282.6986860072504,
110
+ 1274.8136781537569,
111
+ 1146.1770747006608,
112
+ 1450.4928821644487,
113
+ 1348.7634602022422,
114
+ 1253.4292184250723,
115
+ 1547.3923999016365,
116
+ 1117.1517809485863,
117
+ 1255.1028837604604,
118
+ 1230.8062301558293,
119
+ 1179.379203406135,
120
+ 1252.4949457427924,
121
+ 1319.365045039864,
122
+ 1269.0613136957827,
123
+ 1563.7312736985973,
124
+ 1178.3068694321241,
125
+ 1463.882119666736,
126
+ 1117.0994834016751,
127
+ 1279.9967773403318,
128
+ 1422.5622836975022,
129
+ 1632.6258265206163,
130
+ 1322.536171213321
131
+ ],
132
+ "token_count": [
133
+ 254,
134
+ 250,
135
+ 251,
136
+ 253,
137
+ 252,
138
+ 240,
139
+ 188,
140
+ 253,
141
+ 255,
142
+ 244,
143
+ 249,
144
+ 253,
145
+ 253,
146
+ 253,
147
+ 254,
148
+ 241,
149
+ 250,
150
+ 249,
151
+ 253,
152
+ 253,
153
+ 254,
154
+ 249,
155
+ 250,
156
+ 252,
157
+ 255,
158
+ 242,
159
+ 249,
160
+ 255,
161
+ 252,
162
+ 251,
163
+ 251,
164
+ 253,
165
+ 254,
166
+ 254,
167
+ 252,
168
+ 254,
169
+ 242,
170
+ 249,
171
+ 253,
172
+ 253,
173
+ 251,
174
+ 253,
175
+ 251,
176
+ 253,
177
+ 249,
178
+ 255,
179
+ 249,
180
+ 252,
181
+ 250,
182
+ 253,
183
+ 254,
184
+ 249,
185
+ 253,
186
+ 252,
187
+ 253,
188
+ 253,
189
+ 250,
190
+ 253,
191
+ 255,
192
+ 251,
193
+ 255,
194
+ 253,
195
+ 253,
196
+ 255,
197
+ 254,
198
+ 252,
199
+ 251,
200
+ 253,
201
+ 253,
202
+ 250,
203
+ 250,
204
+ 249,
205
+ 246,
206
+ 253,
207
+ 251,
208
+ 253,
209
+ 245,
210
+ 251,
211
+ 255,
212
+ 239,
213
+ 252,
214
+ 254,
215
+ 252,
216
+ 255,
217
+ 251,
218
+ 254,
219
+ 247,
220
+ 249,
221
+ 252,
222
+ 251,
223
+ 255,
224
+ 253,
225
+ 252,
226
+ 251,
227
+ 251,
228
+ 255,
229
+ 250,
230
+ 254,
231
+ 251,
232
+ 255,
233
+ 253,
234
+ 251,
235
+ 253,
236
+ 253,
237
+ 254,
238
+ 251,
239
+ 252,
240
+ 253,
241
+ 255,
242
+ 242,
243
+ 253,
244
+ 252,
245
+ 250,
246
+ 248,
247
+ 255,
248
+ 255,
249
+ 253,
250
+ 254,
251
+ 254,
252
+ 249,
253
+ 249,
254
+ 253,
255
+ 254,
256
+ 251,
257
+ 251,
258
+ 253,
259
+ 241,
260
+ 237
261
+ ],
262
+ "ppl": [
263
+ 243.6254525985763,
264
+ 260.7505174944581,
265
+ 288.3401433582111,
266
+ 406.03350747145464,
267
+ 282.9464608247346,
268
+ 1592.275790607089,
269
+ 182.47760789005895,
270
+ 398.1297792872806,
271
+ 125.22894317667507,
272
+ 1067.8596919339548,
273
+ 205.72364198783313,
274
+ 104.7827840177995,
275
+ 195.19901352324067,
276
+ 210.46372227774273,
277
+ 157.3848674452149,
278
+ 1874.582030303681,
279
+ 368.0233820601826,
280
+ 451.6299378074352,
281
+ 256.4451622027734,
282
+ 228.1804898903562,
283
+ 347.4286825059106,
284
+ 362.9357657489316,
285
+ 249.07053954392234,
286
+ 267.6577052885402,
287
+ 125.64893364042278,
288
+ 356.90175667778186,
289
+ 97.60973046872991,
290
+ 226.72404794118918,
291
+ 556.613926972841,
292
+ 285.7109448352429,
293
+ 250.99062075080045,
294
+ 173.80842797763302,
295
+ 234.64512519825067,
296
+ 172.84197329019275,
297
+ 162.93278454382678,
298
+ 365.65066115304825,
299
+ 282.1756099753833,
300
+ 436.3529582875578,
301
+ 89.59633790355804,
302
+ 240.262501695781,
303
+ 222.41508005200959,
304
+ 188.5877818810388,
305
+ 327.55855406571425,
306
+ 146.54230916003408,
307
+ 158.32766916978565,
308
+ 92.54754957608043,
309
+ 406.11505956968705,
310
+ 114.97944791323927,
311
+ 221.24467544537345,
312
+ 153.97491211520176,
313
+ 234.9815297845333,
314
+ 58.31357412672631,
315
+ 74.0022590666308,
316
+ 128.94232502485053,
317
+ 158.05326483924142,
318
+ 168.67667444303913,
319
+ 169.71213273299128,
320
+ 711.2529326606659,
321
+ 99.65019900194656,
322
+ 328.2488844998735,
323
+ 104.50281713212672,
324
+ 214.24725864701554,
325
+ 94.01952758951603,
326
+ 174.6468730374083,
327
+ 253.5753546908781,
328
+ 94.94231662328211,
329
+ 534.5491811791919,
330
+ 113.91682414933534,
331
+ 159.23280301237222,
332
+ 53.121832052251094,
333
+ 705.7382894916361,
334
+ 353.5752289518374,
335
+ 987.6985078438613,
336
+ 139.30248378235714,
337
+ 494.7192733368401,
338
+ 84.73150712710225,
339
+ 620.4758105586563,
340
+ 377.61481194598025,
341
+ 311.88370142992324,
342
+ 400.4366124155894,
343
+ 72.98698304317085,
344
+ 161.06015503381494,
345
+ 132.56597501143185,
346
+ 181.06668794212104,
347
+ 77.70426638919102,
348
+ 145.24088684141947,
349
+ 972.5323525505872,
350
+ 221.262795681917,
351
+ 218.85783742801019,
352
+ 83.63274385925332,
353
+ 119.27860880028436,
354
+ 96.89229549130052,
355
+ 240.05926686952958,
356
+ 242.89030991707762,
357
+ 237.30112102615212,
358
+ 91.99745706242155,
359
+ 105.11462416789364,
360
+ 34.117822576912296,
361
+ 232.07717843068914,
362
+ 190.33664570413177,
363
+ 115.41660514535364,
364
+ 52.232706541557356,
365
+ 112.52243417537444,
366
+ 224.6087599656577,
367
+ 116.4073325120639,
368
+ 61.541524869320845,
369
+ 162.40190384176225,
370
+ 154.28310235119812,
371
+ 89.55133691472878,
372
+ 400.9241432057838,
373
+ 206.66122747691438,
374
+ 144.59337171916852,
375
+ 487.63618223730253,
376
+ 90.43616819342925,
377
+ 137.27306169251568,
378
+ 124.79733463929254,
379
+ 105.80289469072041,
380
+ 138.52938421952018,
381
+ 180.251044526186,
382
+ 163.4703751064829,
383
+ 533.8128321337649,
384
+ 105.35540086613753,
385
+ 318.40222173563353,
386
+ 85.67795443683288,
387
+ 163.95446787106442,
388
+ 276.6562677281303,
389
+ 875.1375052840887,
390
+ 265.15681283609206
391
+ ]
392
+ }
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-3.json ADDED
The diff for this file is too large to render. See raw diff
 
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-3.per-example.json ADDED
@@ -0,0 +1,392 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "nll_sum": [
3
+ 1326.4778324506874,
4
+ 1292.2152341369588,
5
+ 1331.1084774621327,
6
+ 1206.6701966802302,
7
+ 1508.3609232735862,
8
+ 1202.3034113450049,
9
+ 1180.5849638145103,
10
+ 1363.0924762895165,
11
+ 1104.559157582879,
12
+ 1267.2658315258568,
13
+ 1422.676886860936,
14
+ 1395.2950827287805,
15
+ 1194.9249908233428,
16
+ 1161.3345641506319,
17
+ 1207.0869486663687,
18
+ 948.2832579190958,
19
+ 1128.960106387153,
20
+ 1572.9109783124982,
21
+ 1274.2166431398969,
22
+ 1257.7863388125943,
23
+ 1184.0474165744063,
24
+ 1194.9395427360591,
25
+ 1232.661686470744,
26
+ 1350.671635782147,
27
+ 1404.9924297196264,
28
+ 1396.9833400715927,
29
+ 1483.5882621155174,
30
+ 1125.0239919957262,
31
+ 1592.9944721960528,
32
+ 1231.6463976280356,
33
+ 1213.2011689522046,
34
+ 927.0018631888959,
35
+ 1424.8595096591032,
36
+ 1290.689824335513,
37
+ 1575.0789672206217,
38
+ 1289.0816943745476,
39
+ 1412.5473659713175,
40
+ 1344.9502729540159,
41
+ 1115.6999776799082,
42
+ 1046.3755166626079,
43
+ 1264.8747754677665,
44
+ 1296.453843084956,
45
+ 1319.6259505247856,
46
+ 1149.0643215003379,
47
+ 1644.5469489893885,
48
+ 1272.7669313374759,
49
+ 1210.840842234679,
50
+ 1370.4032163021252,
51
+ 1224.9564199630643,
52
+ 1408.592917088552,
53
+ 1400.4205212991226,
54
+ 1192.4888645816345,
55
+ 1372.432409940108,
56
+ 1734.2153919014108,
57
+ 1530.732595279746,
58
+ 1108.245195054079,
59
+ 1261.980373253532,
60
+ 1371.3415701736108,
61
+ 1219.335653146477,
62
+ 1408.138143509049,
63
+ 1424.124577072114,
64
+ 1052.2904068163612,
65
+ 1350.6917917349926,
66
+ 1428.5242824858947,
67
+ 1260.994515761327,
68
+ 1532.7450738069779,
69
+ 1351.4084544501177,
70
+ 1142.1703323394895,
71
+ 1192.5474982877658,
72
+ 1151.822131003265,
73
+ 1372.8746360236255,
74
+ 1284.4060460310354,
75
+ 1367.337334357088,
76
+ 1397.4591198746352,
77
+ 1378.6587266852248,
78
+ 1492.7206554972531,
79
+ 1042.0217082837898,
80
+ 1697.6603579796774,
81
+ 1186.7610578474303,
82
+ 1410.453403381914,
83
+ 1351.1196837233276,
84
+ 1374.73357635517,
85
+ 1379.5061090695845,
86
+ 1509.9910381519567,
87
+ 1245.2493336365558,
88
+ 1092.443299128602,
89
+ 1345.8596227476896,
90
+ 1601.0922510691798,
91
+ 1292.1516172162178,
92
+ 1557.2160293983939,
93
+ 1251.0804184675562,
94
+ 1532.4715593823087,
95
+ 1272.4765073569474,
96
+ 1273.9894134197368,
97
+ 1405.5052756322202,
98
+ 1227.2042357479588,
99
+ 1427.689033168857,
100
+ 1353.0928868502338,
101
+ 1131.5984208188518,
102
+ 1416.5392269623487,
103
+ 1582.8013906477047,
104
+ 1500.264501802741,
105
+ 1475.3132254701907,
106
+ 1160.2280152503727,
107
+ 1172.3481831470108,
108
+ 1165.7304868971219,
109
+ 1216.6511405364645,
110
+ 1393.875559914543,
111
+ 1126.7280401226792,
112
+ 1395.9589925459545,
113
+ 1327.4653693926364,
114
+ 1676.5023280022033,
115
+ 1902.838621746405,
116
+ 1219.6189252575023,
117
+ 1315.74835692945,
118
+ 1181.2568340659454,
119
+ 1105.9187916341957,
120
+ 1343.3561492250526,
121
+ 1454.978902998197,
122
+ 1113.1948803194996,
123
+ 1118.7105231342407,
124
+ 1389.5181354505996,
125
+ 1330.4809051077493,
126
+ 1284.1488188705398,
127
+ 1064.8913451588658,
128
+ 1158.0133075466647,
129
+ 1319.711258375042,
130
+ 1260.9373093626966
131
+ ],
132
+ "token_count": [
133
+ 252,
134
+ 253,
135
+ 236,
136
+ 251,
137
+ 253,
138
+ 249,
139
+ 250,
140
+ 252,
141
+ 254,
142
+ 255,
143
+ 254,
144
+ 240,
145
+ 253,
146
+ 255,
147
+ 252,
148
+ 252,
149
+ 251,
150
+ 248,
151
+ 250,
152
+ 253,
153
+ 254,
154
+ 253,
155
+ 254,
156
+ 254,
157
+ 246,
158
+ 249,
159
+ 251,
160
+ 254,
161
+ 242,
162
+ 255,
163
+ 251,
164
+ 249,
165
+ 253,
166
+ 254,
167
+ 236,
168
+ 253,
169
+ 251,
170
+ 254,
171
+ 254,
172
+ 254,
173
+ 254,
174
+ 252,
175
+ 247,
176
+ 248,
177
+ 246,
178
+ 237,
179
+ 253,
180
+ 254,
181
+ 251,
182
+ 236,
183
+ 251,
184
+ 253,
185
+ 254,
186
+ 249,
187
+ 254,
188
+ 250,
189
+ 253,
190
+ 255,
191
+ 254,
192
+ 250,
193
+ 253,
194
+ 253,
195
+ 252,
196
+ 253,
197
+ 253,
198
+ 254,
199
+ 253,
200
+ 251,
201
+ 254,
202
+ 251,
203
+ 252,
204
+ 253,
205
+ 252,
206
+ 252,
207
+ 253,
208
+ 237,
209
+ 250,
210
+ 246,
211
+ 248,
212
+ 246,
213
+ 255,
214
+ 247,
215
+ 253,
216
+ 230,
217
+ 254,
218
+ 252,
219
+ 253,
220
+ 252,
221
+ 253,
222
+ 238,
223
+ 253,
224
+ 242,
225
+ 250,
226
+ 253,
227
+ 250,
228
+ 251,
229
+ 255,
230
+ 254,
231
+ 251,
232
+ 252,
233
+ 242,
234
+ 253,
235
+ 235,
236
+ 252,
237
+ 250,
238
+ 252,
239
+ 251,
240
+ 253,
241
+ 252,
242
+ 252,
243
+ 253,
244
+ 241,
245
+ 240,
246
+ 254,
247
+ 255,
248
+ 253,
249
+ 253,
250
+ 251,
251
+ 227,
252
+ 253,
253
+ 252,
254
+ 250,
255
+ 253,
256
+ 249,
257
+ 253,
258
+ 254,
259
+ 252,
260
+ 253
261
+ ],
262
+ "ppl": [
263
+ 193.21449066800125,
264
+ 165.26828041595712,
265
+ 281.54439919203867,
266
+ 122.41917089705592,
267
+ 388.3476262717193,
268
+ 125.02675525088293,
269
+ 112.43101743948085,
270
+ 223.42976813376256,
271
+ 77.37456435794272,
272
+ 143.9793559085265,
273
+ 270.721361544686,
274
+ 334.8656850808404,
275
+ 112.50792674790307,
276
+ 95.0357553359334,
277
+ 120.30468590765872,
278
+ 43.078705421426854,
279
+ 89.82371519113076,
280
+ 568.1485845710926,
281
+ 163.5087609280556,
282
+ 144.24128753425708,
283
+ 105.80565863549893,
284
+ 112.51439810211168,
285
+ 128.12402827039514,
286
+ 203.89494083553583,
287
+ 302.27927458061026,
288
+ 273.24664797226166,
289
+ 368.96810634349157,
290
+ 83.86667327415492,
291
+ 722.4309077009206,
292
+ 125.20919181841899,
293
+ 125.64629697927144,
294
+ 41.384195177757505,
295
+ 279.1797304012968,
296
+ 161.00831366481097,
297
+ 791.6057048426559,
298
+ 163.23396875379686,
299
+ 278.01602304708405,
300
+ 199.35353669019827,
301
+ 80.8438565342412,
302
+ 61.53392497163,
303
+ 145.4484823417882,
304
+ 171.5128356902003,
305
+ 209.058723108551,
306
+ 102.8553751759249,
307
+ 800.4308931821748,
308
+ 214.93262454351137,
309
+ 119.81299865346237,
310
+ 220.36565903942326,
311
+ 131.67074652308673,
312
+ 390.96344143979076,
313
+ 264.90323985587355,
314
+ 111.42979169379704,
315
+ 222.1332005651885,
316
+ 1058.6189385015648,
317
+ 414.2651719033203,
318
+ 84.18197125552442,
319
+ 146.652334832307,
320
+ 216.5475338238791,
321
+ 121.57532961652784,
322
+ 279.37433192252263,
323
+ 278.3699258102404,
324
+ 64.02352665712934,
325
+ 212.7011358708591,
326
+ 283.25315473867204,
327
+ 146.0819910314966,
328
+ 417.560491842887,
329
+ 208.8331051653857,
330
+ 94.67778707640682,
331
+ 109.40634548344664,
332
+ 98.38937227026233,
333
+ 232.2734223444546,
334
+ 160.24497519201577,
335
+ 227.22524699359178,
336
+ 256.075596038974,
337
+ 232.5822623464534,
338
+ 543.7009602467585,
339
+ 64.5917590092849,
340
+ 993.3254611379683,
341
+ 119.74049340905897,
342
+ 309.06463205481356,
343
+ 200.03824307043632,
344
+ 261.31406058335415,
345
+ 233.36256485544408,
346
+ 709.9385569244976,
347
+ 134.63352151568859,
348
+ 76.33201598200375,
349
+ 204.3028091736459,
350
+ 574.5233145776454,
351
+ 165.22672888492707,
352
+ 694.3141288094763,
353
+ 140.4683071125788,
354
+ 562.5764887789388,
355
+ 162.37460290219772,
356
+ 153.78127157130174,
357
+ 276.447547828864,
358
+ 132.85521196350166,
359
+ 270.09682943145737,
360
+ 205.84785949805084,
361
+ 90.77285092783964,
362
+ 276.2171712263963,
363
+ 692.633925956893,
364
+ 376.11660560857456,
365
+ 532.6841284927551,
366
+ 99.89098342715097,
367
+ 108.78709688566431,
368
+ 102.09611061271865,
369
+ 127.38521687896636,
370
+ 247.00030337834121,
371
+ 87.45663026392084,
372
+ 254.55573541770664,
373
+ 189.9761795006231,
374
+ 1049.890545177565,
375
+ 2775.2448520934468,
376
+ 121.71099147206984,
377
+ 174.12918706962205,
378
+ 106.59102811167517,
379
+ 79.1401649545218,
380
+ 211.03342447762216,
381
+ 607.6497771779484,
382
+ 81.44922045071961,
383
+ 84.71794738310743,
384
+ 259.32252099049384,
385
+ 192.2540754287219,
386
+ 173.68167542970906,
387
+ 67.29303235977635,
388
+ 95.49821058929201,
389
+ 188.09542954326852,
390
+ 146.04896383824487
391
+ ]
392
+ }
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-4.json ADDED
The diff for this file is too large to render. See raw diff
 
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/fp64-seed-4.per-example.json ADDED
@@ -0,0 +1,392 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "nll_sum": [
3
+ 1555.6135330991824,
4
+ 1323.8989381595102,
5
+ 1357.4001829763474,
6
+ 977.6157690283565,
7
+ 1290.2417714124654,
8
+ 1560.2890129227703,
9
+ 1180.1057249302798,
10
+ 1309.3710573889732,
11
+ 1197.2059510581225,
12
+ 1490.3452447047907,
13
+ 1264.1286599788327,
14
+ 1095.0863969061782,
15
+ 1218.1928258551363,
16
+ 1131.1936169742494,
17
+ 1436.851058212294,
18
+ 1406.5997162702147,
19
+ 1095.7943618962122,
20
+ 1308.4009260610935,
21
+ 1280.404771980779,
22
+ 1370.465177666214,
23
+ 1341.408047455575,
24
+ 1045.044439561996,
25
+ 1157.259022731473,
26
+ 1508.3450312691796,
27
+ 1563.130751371985,
28
+ 1119.2500353289781,
29
+ 1103.9126556135197,
30
+ 1530.0974210990883,
31
+ 1155.7094293730897,
32
+ 1336.9305268336238,
33
+ 1646.7251024820935,
34
+ 1069.509197484343,
35
+ 1150.2452154306413,
36
+ 1194.4903578182257,
37
+ 1070.6813548193827,
38
+ 1627.825549760531,
39
+ 1423.7339303533913,
40
+ 1174.0704192458402,
41
+ 1283.481029323761,
42
+ 1371.72956944818,
43
+ 1360.4818047993099,
44
+ 1301.3017308580193,
45
+ 1051.1651336932182,
46
+ 1313.915661447692,
47
+ 1230.2640794890906,
48
+ 1064.2042303670517,
49
+ 1546.0631703737145,
50
+ 1443.721202381376,
51
+ 1399.3736315827502,
52
+ 1243.3180808250395,
53
+ 1004.0256498570718,
54
+ 1099.8969590249646,
55
+ 1419.1473556354708,
56
+ 1103.0320449774922,
57
+ 1207.845469845116,
58
+ 1383.7337347090133,
59
+ 1080.3834220373478,
60
+ 1476.8324953818133,
61
+ 1407.5764629147682,
62
+ 1248.9482693109537,
63
+ 1291.707392207926,
64
+ 1203.5523268587795,
65
+ 1580.4322292303223,
66
+ 1106.479207243926,
67
+ 1393.6497233631883,
68
+ 1573.4974166500356,
69
+ 1331.3402921873464,
70
+ 1230.2434623689805,
71
+ 1592.8741192708542,
72
+ 1213.0297246241057,
73
+ 1402.074099526489,
74
+ 1095.7897532387067,
75
+ 1366.1124440618719,
76
+ 1063.9099401611022,
77
+ 1523.4546868117418,
78
+ 1148.197867137052,
79
+ 1346.2473672984252,
80
+ 1247.1411022208283,
81
+ 1257.648609130259,
82
+ 1274.3826106121141,
83
+ 1059.3708549796686,
84
+ 1364.071190802188,
85
+ 1271.7578589406683,
86
+ 1389.6789187746526,
87
+ 1107.0246550042912,
88
+ 1236.501647628898,
89
+ 1002.2127485013282,
90
+ 1277.8308822573151,
91
+ 1383.0273800360035,
92
+ 1195.3799618296719,
93
+ 1442.8489735949888,
94
+ 1183.6185576470284,
95
+ 1276.8594138829578,
96
+ 1167.7708419603287,
97
+ 1386.5929836460086,
98
+ 1284.891827137601,
99
+ 1108.4830721425317,
100
+ 1453.5743036461613,
101
+ 1334.7508624000286,
102
+ 1242.9676100125357,
103
+ 1594.7571453813266,
104
+ 1520.3701440596192,
105
+ 1552.238644530701,
106
+ 1301.2957664617438,
107
+ 1204.5786466706331,
108
+ 1077.661776967967,
109
+ 1283.0547049530956,
110
+ 1410.95942493366,
111
+ 1236.1816774382764,
112
+ 1056.3858198288453,
113
+ 1366.097091479799,
114
+ 1331.7089817814503,
115
+ 1199.1317819748774,
116
+ 1265.2959061301128,
117
+ 1457.3195047057748,
118
+ 1523.0119778750702,
119
+ 1468.0463053522053,
120
+ 1377.6446016689913,
121
+ 1220.368870442225,
122
+ 1407.602292429834,
123
+ 1222.7080367121034,
124
+ 1136.2526046519997,
125
+ 1179.850598863316,
126
+ 1605.9849086515592,
127
+ 1446.1627682713229,
128
+ 1334.7144257270136,
129
+ 1081.001918537354,
130
+ 1330.978536255479
131
+ ],
132
+ "token_count": [
133
+ 250,
134
+ 251,
135
+ 255,
136
+ 254,
137
+ 252,
138
+ 253,
139
+ 251,
140
+ 251,
141
+ 255,
142
+ 252,
143
+ 252,
144
+ 255,
145
+ 251,
146
+ 250,
147
+ 254,
148
+ 250,
149
+ 246,
150
+ 253,
151
+ 254,
152
+ 250,
153
+ 251,
154
+ 250,
155
+ 250,
156
+ 250,
157
+ 247,
158
+ 255,
159
+ 253,
160
+ 252,
161
+ 253,
162
+ 248,
163
+ 238,
164
+ 254,
165
+ 252,
166
+ 248,
167
+ 254,
168
+ 251,
169
+ 254,
170
+ 249,
171
+ 255,
172
+ 253,
173
+ 252,
174
+ 248,
175
+ 249,
176
+ 250,
177
+ 251,
178
+ 249,
179
+ 256,
180
+ 250,
181
+ 251,
182
+ 250,
183
+ 247,
184
+ 253,
185
+ 252,
186
+ 251,
187
+ 253,
188
+ 254,
189
+ 250,
190
+ 254,
191
+ 253,
192
+ 252,
193
+ 253,
194
+ 250,
195
+ 237,
196
+ 253,
197
+ 253,
198
+ 249,
199
+ 253,
200
+ 254,
201
+ 245,
202
+ 252,
203
+ 253,
204
+ 238,
205
+ 252,
206
+ 254,
207
+ 252,
208
+ 247,
209
+ 254,
210
+ 254,
211
+ 250,
212
+ 253,
213
+ 251,
214
+ 253,
215
+ 254,
216
+ 252,
217
+ 252,
218
+ 255,
219
+ 253,
220
+ 252,
221
+ 236,
222
+ 253,
223
+ 252,
224
+ 252,
225
+ 254,
226
+ 251,
227
+ 254,
228
+ 251,
229
+ 254,
230
+ 253,
231
+ 246,
232
+ 255,
233
+ 250,
234
+ 252,
235
+ 250,
236
+ 251,
237
+ 255,
238
+ 251,
239
+ 254,
240
+ 254,
241
+ 255,
242
+ 252,
243
+ 254,
244
+ 250,
245
+ 253,
246
+ 252,
247
+ 250,
248
+ 248,
249
+ 251,
250
+ 255,
251
+ 254,
252
+ 251,
253
+ 254,
254
+ 254,
255
+ 253,
256
+ 249,
257
+ 254,
258
+ 254,
259
+ 252,
260
+ 246
261
+ ],
262
+ "ppl": [
263
+ 503.9384473789441,
264
+ 195.2923685494811,
265
+ 205.02624030941675,
266
+ 46.94050648550723,
267
+ 167.3365458949194,
268
+ 476.825334466206,
269
+ 110.12503851389472,
270
+ 184.309748593641,
271
+ 109.39063666646939,
272
+ 370.2092666768868,
273
+ 150.86472454439257,
274
+ 73.29236617050778,
275
+ 128.17004667837938,
276
+ 92.27511248153435,
277
+ 286.2581224879596,
278
+ 277.66042245284837,
279
+ 86.00871476483641,
280
+ 176.18686456726928,
281
+ 154.61894477209515,
282
+ 240.29340816217493,
283
+ 209.40185753476206,
284
+ 65.37747356633136,
285
+ 102.41529748254528,
286
+ 417.1225756787058,
287
+ 560.2956441786955,
288
+ 80.57720755302466,
289
+ 78.51511302794154,
290
+ 433.4667808114502,
291
+ 96.35328222947561,
292
+ 219.38954598859664,
293
+ 1011.3213636660325,
294
+ 67.40142309254811,
295
+ 96.01122777300127,
296
+ 123.53115337418288,
297
+ 67.71318549108146,
298
+ 655.4753882818251,
299
+ 271.8503400064766,
300
+ 111.62468820619996,
301
+ 153.43222499162505,
302
+ 226.29874473651287,
303
+ 221.12702731695578,
304
+ 190.03046446957129,
305
+ 68.13879457499704,
306
+ 191.64843881859832,
307
+ 134.48471048554225,
308
+ 71.80201729967389,
309
+ 419.60309781341067,
310
+ 322.1073288853454,
311
+ 263.80066241383895,
312
+ 144.49896187926754,
313
+ 58.25798551933231,
314
+ 77.27873420037263,
315
+ 279.0907856642965,
316
+ 81.00816726244966,
317
+ 118.40284681260466,
318
+ 232.2398349643297,
319
+ 75.30403267474946,
320
+ 335.0571662940135,
321
+ 260.7451078017342,
322
+ 142.04500241903375,
323
+ 164.9368733685865,
324
+ 123.24932145051116,
325
+ 787.2063550560632,
326
+ 79.31566116420655,
327
+ 246.7799207389395,
328
+ 555.1657587304405,
329
+ 192.90823193511008,
330
+ 126.91000310688372,
331
+ 666.1580917904067,
332
+ 123.1754816052881,
333
+ 255.13552122968525,
334
+ 99.89889525185679,
335
+ 226.12345862739977,
336
+ 65.93186179274625,
337
+ 422.1898550703103,
338
+ 104.43599136140708,
339
+ 200.37417335407227,
340
+ 135.64000301048122,
341
+ 153.02394868879304,
342
+ 154.02045487226297,
343
+ 68.07438578215736,
344
+ 219.551259647209,
345
+ 149.44384514220485,
346
+ 248.2903640394784,
347
+ 80.87906223932781,
348
+ 127.6160401012432,
349
+ 52.526363815497284,
350
+ 159.29494268107723,
351
+ 350.82429308480584,
352
+ 112.71043227326562,
353
+ 306.6144714389467,
354
+ 109.60675855734353,
355
+ 152.47574991747425,
356
+ 104.84399400728219,
357
+ 234.86890200443315,
358
+ 167.1833216488796,
359
+ 78.57916462894705,
360
+ 312.7339968329345,
361
+ 227.19677991137064,
362
+ 130.89333885790577,
363
+ 589.3549192381851,
364
+ 417.05364448734775,
365
+ 497.18121538622034,
366
+ 178.47441983576184,
367
+ 112.59956247951148,
368
+ 73.22033734872778,
369
+ 156.24049834778387,
370
+ 258.5162012021146,
371
+ 127.45600982334516,
372
+ 66.15544641866553,
373
+ 216.66123524903367,
374
+ 205.78582163520414,
375
+ 114.39430682065839,
376
+ 151.56514014846093,
377
+ 340.11303519786094,
378
+ 464.6002368555113,
379
+ 346.81450218140867,
380
+ 221.96680633565134,
381
+ 122.07087908453741,
382
+ 272.5922968183512,
383
+ 123.20026082187941,
384
+ 87.6573488856898,
385
+ 106.0002128603484,
386
+ 632.5369190654015,
387
+ 296.94715859725756,
388
+ 191.47958623616944,
389
+ 72.94386355508747,
390
+ 223.73937157748583
391
+ ]
392
+ }
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/limited_eval.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json
2
+ from pathlib import Path
3
+ import runpy
4
+ import sys
5
+ import torch
6
+
7
+ torch.cuda.set_per_process_memory_fraction(0.4)
8
+ if torch.cuda.mem_get_info()[0] < 40 * 2**30:
9
+ raise RuntimeError('Insufficient spare GPU memory for concurrent evaluation')
10
+ output=Path(sys.argv[sys.argv.index('--out')+1])
11
+ runpy.run_path('/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/eval_random_gen_ppl_checkpoint_fixed.py',run_name='__main__')
12
+ output.with_suffix('.memory.json').write_text(json.dumps(dict(
13
+ gpu=7,peak_allocated_gib=torch.cuda.max_memory_allocated()/2**30,
14
+ peak_reserved_gib=torch.cuda.max_memory_reserved()/2**30,allocator_fraction_limit=0.4),indent=2)+'\n')
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-0.json ADDED
The diff for this file is too large to render. See raw diff
 
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-0.memory.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "gpu": 7,
3
+ "peak_allocated_gib": 4.060837268829346,
4
+ "peak_reserved_gib": 4.298828125,
5
+ "allocator_fraction_limit": 0.4
6
+ }
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-0.samples.json ADDED
The diff for this file is too large to render. See raw diff
 
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-1.json ADDED
The diff for this file is too large to render. See raw diff
 
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-1.memory.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "gpu": 7,
3
+ "peak_allocated_gib": 4.058009147644043,
4
+ "peak_reserved_gib": 4.298828125,
5
+ "allocator_fraction_limit": 0.4
6
+ }
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-1.samples.json ADDED
The diff for this file is too large to render. See raw diff
 
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-2.json ADDED
The diff for this file is too large to render. See raw diff
 
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-2.memory.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "gpu": 7,
3
+ "peak_allocated_gib": 4.056677341461182,
4
+ "peak_reserved_gib": 4.298828125,
5
+ "allocator_fraction_limit": 0.4
6
+ }
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-2.samples.json ADDED
The diff for this file is too large to render. See raw diff
 
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-3.json ADDED
The diff for this file is too large to render. See raw diff
 
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-3.memory.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "gpu": 7,
3
+ "peak_allocated_gib": 4.056677341461182,
4
+ "peak_reserved_gib": 4.298828125,
5
+ "allocator_fraction_limit": 0.4
6
+ }
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-3.samples.json ADDED
The diff for this file is too large to render. See raw diff
 
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-4.json ADDED
The diff for this file is too large to render. See raw diff
 
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-4.memory.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "gpu": 7,
3
+ "peak_allocated_gib": 4.056677341461182,
4
+ "peak_reserved_gib": 4.298828125,
5
+ "allocator_fraction_limit": 0.4
6
+ }
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/random-seed-4.samples.json ADDED
The diff for this file is too large to render. See raw diff
 
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/rescore_fp64.py ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Score the exact saved FP32 generations with a double-precision reference."""
2
+ import datetime
3
+ import hashlib
4
+ import json
5
+ import math
6
+ import os
7
+ from pathlib import Path
8
+ import statistics
9
+ import sys
10
+ import time
11
+
12
+ os.environ.update(CUDA_VISIBLE_DEVICES='7', OMP_NUM_THREADS='1', TOKENIZERS_PARALLELISM='false', PYTORCH_ALLOC_CONF='expandable_segments:True')
13
+ root = Path(__file__).resolve().parent
14
+ checkout = Path('/home/ubuntu/mstok-runs/iclr-debug-two-stage-20260916')
15
+ sys.path.insert(0, str(checkout))
16
+
17
+ def write(name, data):
18
+ (root/name).write_text(json.dumps(data, indent=2)+'\n')
19
+
20
+ def status(stage, **kw):
21
+ write('fp64-status.json', dict(stage=stage, updated_utc=datetime.datetime.now(datetime.timezone.utc).isoformat(), **kw))
22
+
23
+ try:
24
+ status('waiting_for_fp32_samples')
25
+ deadline=time.monotonic()+3600
26
+ while not (root/'FP32_DONE.json').exists():
27
+ current=json.loads((root/'status.json').read_text())
28
+ if current['stage']=='failed':
29
+ raise RuntimeError(f'FP32 evaluation failed: {current}')
30
+ if time.monotonic()>deadline:
31
+ raise TimeoutError('FP32 samples were not completed within one hour')
32
+ time.sleep(5)
33
+ import torch
34
+ from transformers import AutoModelForCausalLM, AutoTokenizer
35
+ from evaluation.gen_ppl import generation_perplexity
36
+ torch.cuda.set_per_process_memory_fraction(0.4)
37
+ if torch.cuda.mem_get_info()[0] < 40*2**30:
38
+ raise RuntimeError('Insufficient spare GPU memory for concurrent evaluation')
39
+ torch.backends.cuda.matmul.allow_tf32=False
40
+ torch.backends.cudnn.allow_tf32=False
41
+ # The installed Transformers mask helper omits dtype in torch.full.
42
+ # Keep newly constructed reference tensors in FP64 to avoid FP32 overflow.
43
+ torch.set_default_dtype(torch.float64)
44
+ status('loading_reference')
45
+ model=AutoModelForCausalLM.from_pretrained('gpt2-large',torch_dtype=torch.float64).cuda().eval()
46
+ tokenizer=AutoTokenizer.from_pretrained('gpt2-large')
47
+ assert not model.config.reorder_and_upcast_attn
48
+ parameter_dtypes={str(p.dtype) for p in model.parameters()}
49
+ floating_buffer_dtypes={str(b.dtype) for b in model.buffers() if b.is_floating_point()}
50
+ assert parameter_dtypes=={'torch.float64'}, parameter_dtypes
51
+ assert floating_buffer_dtypes <= {'torch.float64'}, floating_buffer_dtypes
52
+ observed_dtypes=set()
53
+ observed_modules=set()
54
+ logits_dtypes=set()
55
+ def audit_tensor(obj):
56
+ if isinstance(obj,torch.Tensor) and obj.is_floating_point():
57
+ observed_dtypes.add(str(obj.dtype))
58
+ assert obj.dtype==torch.float64, obj.dtype
59
+ elif isinstance(obj,(tuple,list)):
60
+ for item in obj: audit_tensor(item)
61
+ handles=[]
62
+ for name,module in model.named_modules():
63
+ if not list(module.children()):
64
+ def hook(mod, inputs, output, name=name):
65
+ observed_modules.add(name)
66
+ audit_tensor(output)
67
+ handles.append(module.register_forward_hook(hook))
68
+ def logit_hook(mod,inputs,output):
69
+ logits_dtypes.add(str(output.logits.dtype))
70
+ assert output.logits.dtype==torch.float64
71
+ assert not torch.is_autocast_enabled()
72
+ handles.append(model.register_forward_hook(logit_hook))
73
+ rows=[]
74
+ for seed in range(5):
75
+ status('scoring',seed=seed)
76
+ source=root/f'random-seed-{seed}.samples.json'
77
+ sample_bytes=source.read_bytes()
78
+ samples=json.loads(sample_bytes)
79
+ previous=json.loads((root/f'random-seed-{seed}.json').read_text())
80
+ kept=[(p,g) for p,g in zip(samples['prompts'],samples['generations']) if g.strip()]
81
+ assert len(kept)==128
82
+ prompts,generations=map(list,zip(*kept))
83
+ torch.cuda.synchronize()
84
+ started=time.monotonic()
85
+ result=generation_perplexity(model,tokenizer,prompts,generations,score_only_generated=True,batch_size=4,device='cuda')
86
+ torch.cuda.synchronize()
87
+ assert result.nll_sum.dtype==torch.float64 and result.ppl.dtype==torch.float64
88
+ assert int(result.token_count.sum())==previous['scored_tokens']
89
+ assert torch.isfinite(result.nll_sum).all() and (result.token_count>0).all()
90
+ row=dict(previous,reference_dtype='float64',tf32_allowed=False,
91
+ mean_ppl=float(result.mean_ppl),median_ppl=float(result.ppl.median()),
92
+ mean_nll=float(result.mean_nll),samples_sha256=hashlib.sha256(sample_bytes).hexdigest(),
93
+ samples_source=str(source),scoring_seconds=time.monotonic()-started,
94
+ nll_dtype=str(result.nll_sum.dtype),logits_dtypes=sorted(logits_dtypes),
95
+ fp32_mean_ppl=previous['mean_ppl'],ppl_delta_fp64_minus_fp32=result.mean_ppl-previous['mean_ppl'])
96
+ write(f'fp64-seed-{seed}.json',row)
97
+ write(f'fp64-seed-{seed}.per-example.json',dict(nll_sum=result.nll_sum.tolist(),token_count=result.token_count.tolist(),ppl=result.ppl.tolist()))
98
+ rows.append(row)
99
+ print(json.dumps({k:row[k] for k in ('seed','mean_ppl','ppl_delta_fp64_minus_fp32','scoring_seconds')}),flush=True)
100
+ fp32=json.loads((root/'summary.json').read_text())
101
+ values=[r['mean_ppl'] for r in rows]
102
+ fp64=dict(fp32, reference_dtype='float64',mean_gen_ppl=statistics.mean(values),
103
+ gen_ppl_se=statistics.stdev(values)/math.sqrt(len(values)),
104
+ mean_of_seed_median_ppl=statistics.mean(r['median_ppl'] for r in rows),
105
+ per_seed_mean_ppl={str(r['seed']):r['mean_ppl'] for r in rows})
106
+ write('summary-fp64.json',fp64)
107
+ audit=dict(parameter_dtypes=sorted(parameter_dtypes),floating_buffer_dtypes=sorted(floating_buffer_dtypes),
108
+ observed_leaf_module_output_dtypes=sorted(observed_dtypes),audited_module_count=len(observed_modules),
109
+ logits_dtypes=sorted(logits_dtypes),nll_dtype='torch.float64',autocast_enabled=False,
110
+ tf32_allowed=False,attention_implementation=model.config._attn_implementation,
111
+ reorder_and_upcast_attn=model.config.reorder_and_upcast_attn,
112
+ gpu=7,peak_allocated_gib=torch.cuda.max_memory_allocated()/2**30,
113
+ peak_reserved_gib=torch.cuda.max_memory_reserved()/2**30,allocator_fraction_limit=0.4)
114
+ write('fp64-precision-audit.json',audit)
115
+ previous=json.loads((root.parent/'step-12875-fp32/summary.json').read_text())
116
+ comparison=dict(checkpoint_step=22000,training_input_positions=22000*4096*256,
117
+ fp32=fp32,fp64=fp64,matched_samples=True,total_samples=640,
118
+ absolute_ppl_difference=fp64['mean_gen_ppl']-fp32['mean_gen_ppl'],
119
+ relative_ppl_difference_percent=100*(fp64['mean_gen_ppl']/fp32['mean_gen_ppl']-1),
120
+ previous_step=12875,previous_fp32_gen_ppl=previous['mean_gen_ppl'],
121
+ improvement_vs_previous_fp32_percent=100*(1-fp32['mean_gen_ppl']/previous['mean_gen_ppl']))
122
+ write('comparison.json',comparison)
123
+ status('complete',seeds=list(range(5)),total_samples=640)
124
+ write('EVAL_DONE.json',dict(step=22000,reference_dtypes=['float32','float64'],matched_samples=True,total_samples=640))
125
+ print(json.dumps(comparison,indent=2),flush=True)
126
+ except BaseException as exc:
127
+ status('failed',error=str(exc))
128
+ raise
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/run_evaluation.py ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import datetime
2
+ import json
3
+ import os
4
+ from pathlib import Path
5
+ import subprocess
6
+ import sys
7
+
8
+ root=Path(__file__).resolve().parent
9
+ checkout=Path('/home/ubuntu/mstok-runs/iclr-debug-two-stage-20260916')
10
+ export=root.parent.parent/'exports/step-22000'
11
+ env=dict(os.environ,CUDA_VISIBLE_DEVICES='7',OMP_NUM_THREADS='1',TORCHINDUCTOR_COMPILE_THREADS='2',
12
+ PYTORCH_ALLOC_CONF='expandable_segments:True',TOKENIZERS_PARALLELISM='false')
13
+
14
+ def status(stage,**extra):
15
+ (root/'status.json').write_text(json.dumps(dict(stage=stage,updated_utc=datetime.datetime.now(datetime.timezone.utc).isoformat(),**extra),indent=2)+'\n')
16
+
17
+ try:
18
+ for seed in range(5):
19
+ out=root/f'random-seed-{seed}.json'
20
+ command=[sys.executable,str(root/'limited_eval.py'),'--ckpt',str(export/'ncp.pt'),
21
+ '--codec',str(export/'vqvae.pt'),'--validation-source','/home/ubuntu/data/full_owt/valid_gpt2.bin',
22
+ '--ref-model','gpt2-large','--ref-dtype','float32','--seed',str(seed),
23
+ '--n-samples','128','--batch-size','4','--temperature','1','--top-k','0','--top-p','1',
24
+ '--save-all-generations','--out',str(out)]
25
+ (root/f'command-seed-{seed}.json').write_text(json.dumps(command,indent=2)+'\n')
26
+ status('running',seed=seed)
27
+ with (root/f'random-seed-{seed}.log').open('w') as log:
28
+ subprocess.run(command,cwd=checkout,env=env,stdout=log,stderr=subprocess.STDOUT,check=True,timeout=1800)
29
+ result=json.loads(out.read_text())
30
+ assert result['checkpoint_step']==22000 and result['seed']==seed
31
+ assert result['reference_dtype']=='float32' and not result['tf32_allowed']
32
+ assert result['protocol']['n_levels']==16
33
+ assert result['scored_samples']==128 and result['skipped_empty_samples']==0
34
+ print(json.dumps({k:result[k] for k in ('seed','mean_ppl','median_ppl','mean_entropy_nats','scored_samples')}),flush=True)
35
+ subprocess.run([sys.executable,'evaluation/summarize_gen_ppl.py','--input-glob',str(root/'random-seed-[0-4].json'),
36
+ '--out',str(root/'summary.json')],cwd=checkout,env=dict(env,CUDA_VISIBLE_DEVICES=''),check=True)
37
+ summary=json.loads((root/'summary.json').read_text())
38
+ summary.update(reference_dtype='float32',tf32_allowed=False,training_continued_during_evaluation=True)
39
+ (root/'summary.json').write_text(json.dumps(summary,indent=2)+'\n')
40
+ status('fp32_complete',seeds=list(range(5)),total_samples=640)
41
+ (root/'FP32_DONE.json').write_text(json.dumps(dict(step=22000,reference_dtype='float32',sampling='supplied-level0-untruncated',manual=True))+'\n')
42
+ except BaseException as exc:
43
+ status('failed',error=str(exc))
44
+ raise
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/summary-fp64.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "protocol": {
3
+ "sampling": "random",
4
+ "temperature": 1.0,
5
+ "top_k": 0,
6
+ "top_p": 1.0,
7
+ "n_provided_levels": 1,
8
+ "n_levels": 16,
9
+ "document_aware_validation_sampling": true
10
+ },
11
+ "reference_model": "gpt2-large",
12
+ "checkpoint": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/ncp.pt",
13
+ "checkpoint_step": 22000,
14
+ "seeds": [
15
+ 0,
16
+ 1,
17
+ 2,
18
+ 3,
19
+ 4
20
+ ],
21
+ "samples_per_seed": 128,
22
+ "total_scored_samples": 640,
23
+ "total_scored_tokens": 160526,
24
+ "per_seed_mean_ppl": {
25
+ "0": 190.84481863176575,
26
+ "1": 190.74650059895347,
27
+ "2": 201.55483121276038,
28
+ "3": 190.96062394498597,
29
+ "4": 172.3975097731799
30
+ },
31
+ "mean_gen_ppl": 189.3008568323291,
32
+ "gen_ppl_se": 4.706971216847786,
33
+ "mean_of_seed_median_ppl": 179.9071451840254,
34
+ "mean_entropy_nats": 4.472143790612192,
35
+ "reference_dtype": "float64",
36
+ "tf32_allowed": false,
37
+ "training_continued_during_evaluation": true
38
+ }
iclr-debug-two-stage-135b-20260916/generator/evaluation/step-22000-fp32-fp64/summary.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "protocol": {
3
+ "sampling": "random",
4
+ "temperature": 1.0,
5
+ "top_k": 0,
6
+ "top_p": 1.0,
7
+ "n_provided_levels": 1,
8
+ "n_levels": 16,
9
+ "document_aware_validation_sampling": true
10
+ },
11
+ "reference_model": "gpt2-large",
12
+ "checkpoint": "/home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/ncp.pt",
13
+ "checkpoint_step": 22000,
14
+ "seeds": [
15
+ 0,
16
+ 1,
17
+ 2,
18
+ 3,
19
+ 4
20
+ ],
21
+ "samples_per_seed": 128,
22
+ "total_scored_samples": 640,
23
+ "total_scored_tokens": 160526,
24
+ "per_seed_mean_ppl": {
25
+ "0": 190.84469984159884,
26
+ "1": 190.74649366523607,
27
+ "2": 201.5548702336531,
28
+ "3": 190.96056600638894,
29
+ "4": 172.39751630645821
30
+ },
31
+ "mean_gen_ppl": 189.30082921066705,
32
+ "gen_ppl_se": 4.7069720468787,
33
+ "mean_of_seed_median_ppl": 179.90716247558595,
34
+ "mean_entropy_nats": 4.472143790612192,
35
+ "reference_dtype": "float32",
36
+ "tf32_allowed": false,
37
+ "training_continued_during_evaluation": true
38
+ }
iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/ncp-config.yaml ADDED
@@ -0,0 +1,179 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ task: next-concept
2
+ experiment: iclr-debug-two-stage-135b-20260916-generator
3
+ experiment_dir: /home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/exports/step-22000
4
+ model:
5
+ n_layer: 12
6
+ n_head: 12
7
+ bias: true
8
+ dropout: 0.1
9
+ n_embd: 768
10
+ context_length: 256
11
+ vocab_size:
12
+ - 16384
13
+ - 16384
14
+ - 16384
15
+ - 16384
16
+ - 16384
17
+ - 16384
18
+ - 16384
19
+ - 16384
20
+ - 16384
21
+ - 16384
22
+ - 16384
23
+ - 16384
24
+ - 16384
25
+ - 16384
26
+ - 16384
27
+ attn_pattern: block_diagonal
28
+ use_positional_encoding: true
29
+ use_level_encoding: true
30
+ prefix_len: 0
31
+ use_rope: true
32
+ rope_base: 10000
33
+ use_qk_norm: true
34
+ post_upsample_conv:
35
+ enabled: true
36
+ kernel_size: 3
37
+ use_relu2: true
38
+ use_flex_attention: true
39
+ shared_output_head: true
40
+ shared_head_per_level_bias: false
41
+ shared_head_per_level_scale: false
42
+ shared_head_adapter_rank: 0
43
+ tokenizer:
44
+ pre_tokenizer:
45
+ name: hf
46
+ tokenizer: hf
47
+ model_id: gpt2
48
+ special_tokens:
49
+ eos_token: <|endoftext|>
50
+ pad_token: <|pad|>
51
+ vqvae:
52
+ n_layers: 6
53
+ context_length: 256
54
+ embed_dim: 384
55
+ in_vocab_size: 50304
56
+ vqvae_vocab_size:
57
+ - 16384
58
+ - 16384
59
+ - 16384
60
+ - 16384
61
+ - 16384
62
+ - 16384
63
+ - 16384
64
+ - 16384
65
+ - 16384
66
+ - 16384
67
+ - 16384
68
+ - 16384
69
+ - 16384
70
+ - 16384
71
+ - 16384
72
+ - 16384
73
+ compression_factor: 1
74
+ dropout: 0.1
75
+ pre_quant_groupnorm: 4
76
+ pre_quant_dropout: 0.2
77
+ vector_quantizer_config:
78
+ clss: multiscale_residual_vector_quantizer
79
+ decay: 0.99
80
+ epsilon: 1.0e-05
81
+ commitment_cost: 0.25
82
+ learned_l1_sampling: true
83
+ learned_all_sampling: false
84
+ quant_resi:
85
+ enabled: true
86
+ ratio: 0.5
87
+ share_mode: 0
88
+ learnable_ratio: false
89
+ levels:
90
+ use_manual_levels: true
91
+ manual_levels:
92
+ - 1
93
+ - 4
94
+ - 9
95
+ - 16
96
+ - 25
97
+ - 36
98
+ - 49
99
+ - 64
100
+ - 81
101
+ - 100
102
+ - 121
103
+ - 144
104
+ - 169
105
+ - 196
106
+ - 225
107
+ - 256
108
+ aux:
109
+ fine_drop:
110
+ prob: 0.5
111
+ min_keep: 1
112
+ checkpoint_path: /home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/vqvae.pt
113
+ dataset:
114
+ train_source: /home/ubuntu/data/full_owt/train_gpt2.bin
115
+ validate_source: /home/ubuntu/data/full_owt/valid_gpt2.bin
116
+ pad_token_id: 50257
117
+ wandb:
118
+ entity: mstok
119
+ project: owt-repro
120
+ group: owtsmall-repro-ctx256-sharedhead-ncp
121
+ enable: false
122
+ id: owtsmall-repro-ctx256-sharedhead-ncp-5ep
123
+ resume: allow
124
+ gradients_and_params:
125
+ enable: false
126
+ log: all
127
+ log_freq: 1000
128
+ optimization:
129
+ lr: 0.0005
130
+ reset_lr: true
131
+ warmup_iters: 300
132
+ lr_decay_iters: null
133
+ min_lr: 1.0e-05
134
+ beta_1: 0.9
135
+ beta_2: 0.99
136
+ weight_decay: 0.1
137
+ max_grad_norm: 1.0
138
+ grad_accumulation_steps: 4
139
+ corruption:
140
+ mode: per_level
141
+ per_level_probs:
142
+ - 0.85
143
+ - 0.8321428571
144
+ - 0.8142857143
145
+ - 0.7964285714
146
+ - 0.7785714286
147
+ - 0.7607142857
148
+ - 0.7428571429
149
+ - 0.725
150
+ - 0.7071428571
151
+ - 0.6892857143
152
+ - 0.6714285714
153
+ - 0.6535714286
154
+ - 0.6357142857
155
+ - 0.6178571429
156
+ - 0.6
157
+ skip_level0: true
158
+ level_loss_alpha: 1.0
159
+ training:
160
+ seed: 55
161
+ log_interval: 10
162
+ eval_interval: 5000
163
+ checkpoint_interval: 2500
164
+ val_iters: 100
165
+ total_iters: null
166
+ tqdm_interval: 10
167
+ n_epochs: 5
168
+ batch_size: 96
169
+ eval_batch_size: 96
170
+ demo_batch_size: 4
171
+ keep_last: 8
172
+ torch_compile:
173
+ enable: false
174
+ mode: default
175
+ dynamic: false
176
+ fullgraph: false
177
+ backend: inductor
178
+ mixed_precision:
179
+ enable: true
iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/ncp.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14f9b9044729add9e3b0edfa24f38cf35eaa2d5cd362bc01ac5cfe9de6ff7fa9
3
+ size 427469662
iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/training-config.yaml ADDED
@@ -0,0 +1,223 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ task: mstok-next-concept
2
+ experiment: iclr-debug-two-stage-135b-20260916-generator
3
+ experiment_dir: /home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator
4
+ dataset:
5
+ train_source: /home/ubuntu/data/full_owt/train_gpt2.bin
6
+ validate_source: /home/ubuntu/data/full_owt/valid_gpt2.bin
7
+ pad_token_id: 50257
8
+ pre_tokenizer:
9
+ name: hf
10
+ tokenizer: hf
11
+ model_id: gpt2
12
+ special_tokens:
13
+ eos_token: <|endoftext|>
14
+ pad_token: <|pad|>
15
+ codec:
16
+ n_layers: 6
17
+ context_length: 256
18
+ embed_dim: 384
19
+ in_vocab_size: 50304
20
+ vqvae_vocab_size:
21
+ - 16384
22
+ - 16384
23
+ - 16384
24
+ - 16384
25
+ - 16384
26
+ - 16384
27
+ - 16384
28
+ - 16384
29
+ - 16384
30
+ - 16384
31
+ - 16384
32
+ - 16384
33
+ - 16384
34
+ - 16384
35
+ - 16384
36
+ - 16384
37
+ compression_factor: 1
38
+ dropout: 0.1
39
+ pre_quant_groupnorm: 4
40
+ pre_quant_dropout: 0.2
41
+ vector_quantizer_config:
42
+ clss: multiscale_residual_vector_quantizer
43
+ decay: 0.99
44
+ epsilon: 1.0e-05
45
+ commitment_cost: 0.25
46
+ learned_l1_sampling: true
47
+ learned_all_sampling: false
48
+ quant_resi:
49
+ enabled: true
50
+ ratio: 0.5
51
+ share_mode: 0
52
+ learnable_ratio: false
53
+ levels:
54
+ use_manual_levels: true
55
+ manual_levels:
56
+ - 1
57
+ - 4
58
+ - 9
59
+ - 16
60
+ - 25
61
+ - 36
62
+ - 49
63
+ - 64
64
+ - 81
65
+ - 100
66
+ - 121
67
+ - 144
68
+ - 169
69
+ - 196
70
+ - 225
71
+ - 256
72
+ aux:
73
+ fine_drop:
74
+ prob: 0.5
75
+ min_keep: 1
76
+ generator:
77
+ n_layer: 12
78
+ n_head: 12
79
+ bias: true
80
+ dropout: 0.1
81
+ n_embd: 768
82
+ context_length: 256
83
+ vocab_size:
84
+ - 16384
85
+ - 16384
86
+ - 16384
87
+ - 16384
88
+ - 16384
89
+ - 16384
90
+ - 16384
91
+ - 16384
92
+ - 16384
93
+ - 16384
94
+ - 16384
95
+ - 16384
96
+ - 16384
97
+ - 16384
98
+ - 16384
99
+ attn_pattern: block_diagonal
100
+ use_positional_encoding: true
101
+ use_level_encoding: true
102
+ prefix_len: 0
103
+ use_rope: true
104
+ rope_base: 10000
105
+ use_qk_norm: true
106
+ post_upsample_conv:
107
+ enabled: true
108
+ kernel_size: 3
109
+ use_relu2: true
110
+ use_flex_attention: true
111
+ shared_output_head: true
112
+ shared_head_per_level_bias: false
113
+ shared_head_per_level_scale: false
114
+ shared_head_adapter_rank: 0
115
+ objectives:
116
+ codec_weight: 1.0
117
+ ncp_weight: 1.0
118
+ soft_assignment_temperature: 1.0
119
+ prediction_temperature: 1.0
120
+ mstok_weight: 0.25
121
+ residual_weight: 1.0
122
+ reconstruction_weight: 1.0
123
+ teacher_ema_decay: 0.999
124
+ teacher_ema_warmup_steps: 1000
125
+ mstok_warmup_steps: 500
126
+ optimization:
127
+ codec_lr: 0.001
128
+ codec_min_lr: 0.0001
129
+ codec_warmup_iters: 0
130
+ codec_lr_decay_iters: 128747
131
+ generator_lr: 0.0005
132
+ generator_min_lr: 1.0e-05
133
+ generator_warmup_iters: 225
134
+ generator_lr_decay_iters: 128747
135
+ beta_1: 0.9
136
+ codec_beta_2: 0.99
137
+ generator_beta_2: 0.99
138
+ weight_decay: 0.1
139
+ max_grad_norm: 1.0
140
+ level_loss_alpha: 1.0
141
+ grad_accumulation_steps: 16
142
+ corruption:
143
+ mode: per_level
144
+ per_level_probs:
145
+ - 0.85
146
+ - 0.8321428571
147
+ - 0.8142857143
148
+ - 0.7964285714
149
+ - 0.7785714286
150
+ - 0.7607142857
151
+ - 0.7428571429
152
+ - 0.725
153
+ - 0.7071428571
154
+ - 0.6892857143
155
+ - 0.6714285714
156
+ - 0.6535714286
157
+ - 0.6357142857
158
+ - 0.6178571429
159
+ - 0.6
160
+ skip_level0: true
161
+ training:
162
+ log_interval: 10
163
+ eval_interval: 1000
164
+ checkpoint_interval: 1000
165
+ eval_batch_size: 4
166
+ val_iters: 25
167
+ keep_last: 3
168
+ seed: 55
169
+ codec_initialization_seed: 42
170
+ generator_initialization_seed: 55
171
+ total_iters: 128747
172
+ batch_size: 32
173
+ expected_world_size: 8
174
+ expected_global_batch_size: 4096
175
+ resume_checkpoint: null
176
+ milestone_steps:
177
+ - 954
178
+ - 4769
179
+ - 12875
180
+ - 25750
181
+ - 51499
182
+ - 77248
183
+ - 102997
184
+ - 128747
185
+ generation_eval_steps:
186
+ - 12875
187
+ - 25750
188
+ - 51499
189
+ - 77248
190
+ - 102997
191
+ - 128747
192
+ torch_compile:
193
+ enable: true
194
+ scope: loss
195
+ mode: default
196
+ dynamic: false
197
+ fullgraph: true
198
+ backend: inductor
199
+ mixed_precision:
200
+ enable: true
201
+ wandb:
202
+ entity: mstok
203
+ project: iclr-debug
204
+ group: full-owt-ctx256-16sq-135b-v1
205
+ enable: true
206
+ id: iclr-debug-two-stage-135b-20260916-generator
207
+ resume: allow
208
+ gradients_and_params:
209
+ enable: false
210
+ log: all
211
+ log_freq: 1000
212
+ export:
213
+ vqvae_config_template: /home/ubuntu/mstok-runs/iclr-debug-two-stage-20260916/config/repro-ctx256/vqvae.yaml
214
+ ncp_config_template: /home/ubuntu/mstok-runs/iclr-debug-two-stage-20260916/config/repro-ctx256/ncp-sharedhead.yaml
215
+ iclr_debug:
216
+ stage: generator
217
+ target_positions: 135000000000
218
+ lr_horizon_positions: 135000000000
219
+ stop_step: 128747
220
+ pilot: false
221
+ tokenizer_checkpoint: /home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/tokenizer/milestone-iter-128747.pt
222
+ tokenizer_steps: 128747
223
+ budget_unit: input positions including padding; log non-padding tokens separately
iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/vqvae-config.yaml ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ task: summarization
2
+ experiment: iclr-debug-two-stage-135b-20260916-generator
3
+ experiment_dir: /home/ubuntu/mstok-results/iclr-debug-two-stage-135b-20260916/generator/exports/step-22000
4
+ training:
5
+ seed: 42
6
+ log_interval: 10
7
+ eval_interval: 10000
8
+ checkpoint_interval: 10000
9
+ val_iters: 100
10
+ n_epochs: 10
11
+ total_iters: null
12
+ tqdm_interval: 10
13
+ batch_size: 256
14
+ eval_batch_size: 128
15
+ demo_batch_size: 4
16
+ model:
17
+ n_layers: 6
18
+ context_length: 256
19
+ embed_dim: 384
20
+ in_vocab_size: 50304
21
+ vqvae_vocab_size:
22
+ - 16384
23
+ - 16384
24
+ - 16384
25
+ - 16384
26
+ - 16384
27
+ - 16384
28
+ - 16384
29
+ - 16384
30
+ - 16384
31
+ - 16384
32
+ - 16384
33
+ - 16384
34
+ - 16384
35
+ - 16384
36
+ - 16384
37
+ - 16384
38
+ compression_factor: 1
39
+ dropout: 0.1
40
+ pre_quant_groupnorm: 4
41
+ pre_quant_dropout: 0.2
42
+ vector_quantizer:
43
+ clss: multiscale_residual_vector_quantizer
44
+ decay: 0.99
45
+ epsilon: 1.0e-05
46
+ commitment_cost: 0.25
47
+ learned_l1_sampling: true
48
+ learned_all_sampling: false
49
+ quant_resi:
50
+ enabled: true
51
+ ratio: 0.5
52
+ share_mode: 0
53
+ learnable_ratio: false
54
+ levels:
55
+ use_manual_levels: true
56
+ manual_levels:
57
+ - 1
58
+ - 4
59
+ - 9
60
+ - 16
61
+ - 25
62
+ - 36
63
+ - 49
64
+ - 64
65
+ - 81
66
+ - 100
67
+ - 121
68
+ - 144
69
+ - 169
70
+ - 196
71
+ - 225
72
+ - 256
73
+ aux:
74
+ fine_drop:
75
+ prob: 0.5
76
+ min_keep: 1
77
+ wandb:
78
+ entity: mstok
79
+ project: owt-repro
80
+ enable: false
81
+ group: owtsmall-repro-ctx256-vqvae
82
+ id: owtsmall-repro-ctx256-vqvae-10ep
83
+ resume: allow
84
+ gradients_and_params:
85
+ enable: false
86
+ log: all
87
+ log_freq: 1000
88
+ optimization:
89
+ lr: 0.001
90
+ lr_decay_iters: null
91
+ min_lr: null
92
+ beta_1: 0.9
93
+ beta_2: 0.99
94
+ weight_decay: 0.1
95
+ max_grad_norm: 1.0
96
+ grad_accumulation_steps: 2
97
+ torch_compile:
98
+ enable: false
99
+ mode: default
100
+ dynamic: false
101
+ fullgraph: false
102
+ backend: inductor
103
+ mixed_precision:
104
+ enable: true
105
+ opt_level: O1
106
+ loss_scale: dynamic
107
+ dataset:
108
+ train_source: /home/ubuntu/data/full_owt/train_gpt2.bin
109
+ validate_source: /home/ubuntu/data/full_owt/valid_gpt2.bin
110
+ pad_token_id: 50257
111
+ pre_tokenizer:
112
+ name: hf
113
+ tokenizer: hf
114
+ model_id: gpt2
115
+ special_tokens:
116
+ eos_token: <|endoftext|>
117
+ pad_token: <|pad|>
iclr-debug-two-stage-135b-20260916/generator/exports/step-22000/vqvae.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:038ab43f06069bfd3fde68b551dd4a4e6ead45023d3c93b843aca6db628eb778
3
+ size 1300864085