MetaMathQA/ptuning--llama-3.2-3B-vt10-MLP.json DELETED
@@ -1,353 +0,0 @@
1
- {
2
- "run_info": {
3
- "created_at": "2026-07-01T16:24:03+00:00",
4
- "total_time": 1246.6367577210185,
5
- "experiment_name": "ptuning/llama-3.2-3B-vt10-MLP",
6
- "peft_branch": "main",
7
- "train_config": {
8
- "model_id": "meta-llama/Llama-3.2-3B",
9
- "dtype": "bfloat16",
10
- "max_seq_length": 768,
11
- "batch_size": 4,
12
- "batch_size_eval": 50,
13
- "max_steps": 5000,
14
- "eval_steps": 250,
15
- "compile": false,
16
- "use_gc": false,
17
- "query_template": "Question: {query} Think step by step.\nAnswer:",
18
- "seed": 0,
19
- "grad_norm_clip": 1.0,
20
- "optimizer_type": "AdamW",
21
- "optimizer_kwargs": {
22
- "lr": 0.0001,
23
- "weight_decay": 0.1
24
- },
25
- "lr_scheduler": "cosine",
26
- "use_amp": false,
27
- "autocast_adapter_dtype": true,
28
- "generation_kwargs": {
29
- "max_length": 800,
30
- "max_new_tokens": 300
31
- },
32
- "attn_implementation": null,
33
- "init_kv_cache_prefix": null
34
- },
35
- "peft_config": {
36
- "task_type": "CAUSAL_LM",
37
- "peft_type": "P_TUNING",
38
- "auto_mapping": null,
39
- "peft_version": "0.19.2.dev0@UNKNOWN",
40
- "base_model_name_or_path": "meta-llama/Llama-3.2-3B",
41
- "revision": null,
42
- "inference_mode": false,
43
- "num_virtual_tokens": 10,
44
- "token_dim": 3072,
45
- "num_transformer_submodules": 1,
46
- "num_attention_heads": 24,
47
- "num_layers": 28,
48
- "modules_to_save": null,
49
- "encoder_reparameterization_type": "MLP",
50
- "encoder_hidden_size": 3072,
51
- "encoder_num_layers": 2,
52
- "encoder_dropout": 0.0
53
- },
54
- "error_msg": ""
55
- },
56
- "train_info": {
57
- "accelerator_memory_reserved_avg": 13880178350,
58
- "accelerator_memory_max": 20860370944,
59
- "accelerator_memory_reserved_99th": 18765316096,
60
- "train_time": 1028.5749839689524,
61
- "file_size": 123000,
62
- "num_trainable_params": 28351488,
63
- "num_total_params": 3241101312,
64
- "status": "success",
65
- "metrics": [
66
- {
67
- "step": 250,
68
- "valid accuracy": 0.18,
69
- "train loss": 0.9363359813690185,
70
- "train samples": 1000,
71
- "train time": 31.64022434395156,
72
- "eval time": 9.38078186599887,
73
- "tokens / sec": 6691.450657822938,
74
- "mem allocated avg": 7248517412.864,
75
- "mem reserved avg": 13954751397.888,
76
- "elapsed time": 136.20182907700655
77
- },
78
- {
79
- "step": 500,
80
- "valid accuracy": 0.28,
81
- "train loss": 0.7981618006229401,
82
- "train samples": 2000,
83
- "train time": 31.24711563330493,
84
- "eval time": 9.311849407007685,
85
- "tokens / sec": 6656.454388971098,
86
- "mem allocated avg": 7242140928.0,
87
- "mem reserved avg": 13628501655.552,
88
- "elapsed time": 179.63920924201375
89
- },
90
- {
91
- "step": 750,
92
- "valid accuracy": 0.44,
93
- "train loss": 0.7558251311779022,
94
- "train samples": 3000,
95
- "train time": 32.0883745571773,
96
- "eval time": 9.31352505000541,
97
- "tokens / sec": 6681.578701282153,
98
- "mem allocated avg": 7252390766.592,
99
- "mem reserved avg": 13869690912.768,
100
- "elapsed time": 223.71605581301264
101
- },
102
- {
103
- "step": 1000,
104
- "valid accuracy": 0.36,
105
- "train loss": 0.7296249723434448,
106
- "train samples": 4000,
107
- "train time": 31.482282812765334,
108
- "eval time": 9.314052008005092,
109
- "tokens / sec": 6617.563320901387,
110
- "mem allocated avg": 7242649475.072,
111
- "mem reserved avg": 13836782403.584,
112
- "elapsed time": 267.32254803701653
113
- },
114
- {
115
- "step": 1250,
116
- "valid accuracy": 0.36,
117
- "train loss": 0.7244644690752029,
118
- "train samples": 5000,
119
- "train time": 31.3771616689628,
120
- "eval time": 9.291028669016669,
121
- "tokens / sec": 6646.1715753684175,
122
- "mem allocated avg": 7242932428.8,
123
- "mem reserved avg": 13901433405.44,
124
- "elapsed time": 310.76940306302276
125
- },
126
- {
127
- "step": 1500,
128
- "valid accuracy": 0.34,
129
- "train loss": 0.7148160248994827,
130
- "train samples": 6000,
131
- "train time": 31.504103975836188,
132
- "eval time": 6.739314348989865,
133
- "tokens / sec": 6644.562884904074,
134
- "mem allocated avg": 7245105039.36,
135
- "mem reserved avg": 13796483530.752,
136
- "elapsed time": 351.9117020450067
137
- },
138
- {
139
- "step": 1750,
140
- "valid accuracy": 0.46,
141
- "train loss": 0.7091476993560791,
142
- "train samples": 7000,
143
- "train time": 31.73713576295995,
144
- "eval time": 9.282792913989397,
145
- "tokens / sec": 6596.531002786201,
146
- "mem allocated avg": 7245834381.312,
147
- "mem reserved avg": 14123672797.184,
148
- "elapsed time": 395.7068113429996
149
- },
150
- {
151
- "step": 2000,
152
- "valid accuracy": 0.36,
153
- "train loss": 0.7094244191646576,
154
- "train samples": 8000,
155
- "train time": 31.38104235692299,
156
- "eval time": 9.307759829011047,
157
- "tokens / sec": 6618.518200820059,
158
- "mem allocated avg": 7242345316.352,
159
- "mem reserved avg": 13885562159.104,
160
- "elapsed time": 439.24598261501524
161
- },
162
- {
163
- "step": 2250,
164
- "valid accuracy": 0.34,
165
- "train loss": 0.7038368511199952,
166
- "train samples": 9000,
167
- "train time": 32.27969044083147,
168
- "eval time": 9.300171014998341,
169
- "tokens / sec": 6658.923833052201,
170
- "mem allocated avg": 7254741288.96,
171
- "mem reserved avg": 14144333938.688,
172
- "elapsed time": 483.6396906840091
173
- },
174
- {
175
- "step": 2500,
176
- "valid accuracy": 0.3,
177
- "train loss": 0.7028931931257248,
178
- "train samples": 10000,
179
- "train time": 31.062119146925397,
180
- "eval time": 9.311563563009258,
181
- "tokens / sec": 6630.809669674038,
182
- "mem allocated avg": 7238613737.472,
183
- "mem reserved avg": 13659019411.456,
184
- "elapsed time": 526.8292486710125
185
- },
186
- {
187
- "step": 2750,
188
- "valid accuracy": 0.28,
189
- "train loss": 0.6949501513242722,
190
- "train samples": 11000,
191
- "train time": 31.92746263978188,
192
- "eval time": 9.288599150982918,
193
- "tokens / sec": 6636.324420469121,
194
- "mem allocated avg": 7249483808.768,
195
- "mem reserved avg": 14054928154.624,
196
- "elapsed time": 570.9226945360133
197
- },
198
- {
199
- "step": 3000,
200
- "valid accuracy": 0.32,
201
- "train loss": 0.6887242776155472,
202
- "train samples": 12000,
203
- "train time": 31.612302809866378,
204
- "eval time": 9.31309081602376,
205
- "tokens / sec": 6602.840712219607,
206
- "mem allocated avg": 7243983824.896,
207
- "mem reserved avg": 13947251982.336,
208
- "elapsed time": 614.6747809900262
209
- },
210
- {
211
- "step": 3250,
212
- "valid accuracy": 0.46,
213
- "train loss": 0.6959465799331666,
214
- "train samples": 13000,
215
- "train time": 31.669745966763003,
216
- "eval time": 9.295396289002383,
217
- "tokens / sec": 6659.384013415767,
218
- "mem allocated avg": 7247555878.912,
219
- "mem reserved avg": 13834626531.328,
220
- "elapsed time": 658.3630746390263
221
- },
222
- {
223
- "step": 3500,
224
- "valid accuracy": 0.36,
225
- "train loss": 0.6824533659219741,
226
- "train samples": 14000,
227
- "train time": 31.705487885017646,
228
- "eval time": 9.105592161999084,
229
- "tokens / sec": 6615.573958699966,
230
- "mem allocated avg": 7244949321.728,
231
- "mem reserved avg": 13871158919.168,
232
- "elapsed time": 701.9437575310003
233
- },
234
- {
235
- "step": 3750,
236
- "valid accuracy": 0.32,
237
- "train loss": 0.6802876671552658,
238
- "train samples": 15000,
239
- "train time": 32.53438692694181,
240
- "eval time": 9.274032826011535,
241
- "tokens / sec": 6660.737160550203,
242
- "mem allocated avg": 7255717593.088,
243
- "mem reserved avg": 14150264684.544,
244
- "elapsed time": 746.4688438280136
245
- },
246
- {
247
- "step": 4000,
248
- "valid accuracy": 0.34,
249
- "train loss": 0.6954794878959656,
250
- "train samples": 16000,
251
- "train time": 31.074721232173033,
252
- "eval time": 9.317057678010315,
253
- "tokens / sec": 6576.824888404907,
254
- "mem allocated avg": 7237630017.536,
255
- "mem reserved avg": 13796911349.76,
256
- "elapsed time": 789.6863839280268
257
- },
258
- {
259
- "step": 4250,
260
- "valid accuracy": 0.36,
261
- "train loss": 0.6776138496398926,
262
- "train samples": 17000,
263
- "train time": 31.751483836880652,
264
- "eval time": 7.7834975119913,
265
- "tokens / sec": 6657.610116301494,
266
- "mem allocated avg": 7248522713.088,
267
- "mem reserved avg": 13859121266.688,
268
- "elapsed time": 831.8446559070144
269
- },
270
- {
271
- "step": 4500,
272
- "valid accuracy": 0.3,
273
- "train loss": 0.6849392641782761,
274
- "train samples": 18000,
275
- "train time": 31.408977424085606,
276
- "eval time": 7.941874133015517,
277
- "tokens / sec": 6616.515946827266,
278
- "mem allocated avg": 7242914779.136,
279
- "mem reserved avg": 13793170030.592,
280
- "elapsed time": 874.0072624590248
281
- },
282
- {
283
- "step": 4750,
284
- "valid accuracy": 0.28,
285
- "train loss": 0.6771339122056961,
286
- "train samples": 19000,
287
- "train time": 31.56458607915556,
288
- "eval time": 9.30490853099036,
289
- "tokens / sec": 6651.093078601728,
290
- "mem allocated avg": 7245515804.672,
291
- "mem reserved avg": 13896693841.92,
292
- "elapsed time": 917.6395900130155
293
- },
294
- {
295
- "step": 5000,
296
- "valid accuracy": 0.38,
297
- "train loss": 0.683932776093483,
298
- "train samples": 20000,
299
- "train time": 31.327182788023492,
300
- "eval time": 9.292242444003932,
301
- "tokens / sec": 6648.539110884439,
302
- "mem allocated avg": 7242581661.696,
303
- "mem reserved avg": 13599208636.416,
304
- "elapsed time": 960.9633954950259
305
- },
306
- {
307
- "step": 5000,
308
- "test accuracy": 0.33131159969673996,
309
- "train loss": 0.683932776093483,
310
- "train samples": 20000,
311
- "train total tokens": 4198051,
312
- "forgetting": 1.3030481338500977
313
- }
314
- ]
315
- },
316
- "meta_info": {
317
- "model_info": {
318
- "sha": "13afe5124825b4f3751f836b40dafda64c1ed062",
319
- "created_at": "2024-09-18T15:23:48+00:00"
320
- },
321
- "dataset_info": {
322
- "metamath": {
323
- "sha": "aa4f34d3d2d3231299b5b03d9b3e5a20da45aa18",
324
- "created_at": "2023-09-21T17:22:46+00:00"
325
- },
326
- "gsm8k": {
327
- "sha": "740312add88f781978c0658806c59bc2815b9866",
328
- "created_at": "2022-04-12T10:22:10+00:00"
329
- }
330
- },
331
- "package_info": {
332
- "transformers-version": "5.12.1",
333
- "transformers-commit-hash": null,
334
- "peft-version": "0.19.2.dev0",
335
- "peft-commit-hash": "36b70a3480a2f4eb274eb5486a050652a2b6cd35",
336
- "datasets-version": "5.0.0",
337
- "datasets-commit-hash": null,
338
- "bitsandbytes-version": "0.49.2",
339
- "bitsandbytes-commit-hash": null,
340
- "torch-version": "2.12.0+cu130",
341
- "torch-commit-hash": null
342
- },
343
- "system_info": {
344
- "system": "Linux",
345
- "release": "5.15.0-185-generic",
346
- "version": "#195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026",
347
- "machine": "x86_64",
348
- "processor": "x86_64",
349
- "accelerator": "NVIDIA GeForce RTX 4090"
350
- },
351
- "pytorch_info": "PyTorch built with:\n - GCC 13.3\n - C++ Version: 202002\n - Intel(R) oneAPI Math Kernel Library Version 2024.2-Product Build 20240605 for Intel(R) 64 architecture applications\n - Intel(R) MKL-DNN v3.11.2 (Git Hash 03c022d3ffdcee958cfacbe720048e725fdf644c)\n - OpenMP 201511 (a.k.a. OpenMP 4.5)\n - LAPACK is enabled (usually provided by MKL)\n - NNPACK is enabled\n - CPU capability usage: AVX2\n - CUDA Runtime 13.0\n - NVCC architecture flags: -gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-gencode;arch=compute_90,code=sm_90;-gencode;arch=compute_100,code=sm_100;-gencode;arch=compute_120,code=sm_120\n - CuDNN 92.0 (built against CUDA 13.2)\n - Magma 2.6.1\n - Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, COMMIT_SHA=7661cd9c6b841b62b7f411aa52ec51f05457263b, CUDA_FLAGS= -DLIBCUDACXX_ENABLE_SIMPLIFIED_COMPLEX_OPERATIONS -Xfatbin -compress-all -DONNX_NAMESPACE=onnx_torch -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_100,code=sm_100 -gencode arch=compute_120,code=sm_120 -Xcudafe --diag_suppress=cc_clobber_ignored,--diag_suppress=field_without_dll_interface,--diag_suppress=base_class_has_different_dll_interface,--diag_suppress=dll_interface_conflict_none_assumed,--diag_suppress=dll_interface_conflict_dllexport_assumed,--diag_suppress=bad_friend_decl --expt-relaxed-constexpr --expt-extended-lambda -Xfatbin -compress-all --threads 2 -compress-mode=size -Wno-deprecated-gpu-targets --expt-extended-lambda -DCUB_WRAPPED_NAMESPACE=at_cuda_detail -DDISABLE_CUSPARSE_DEPRECATED -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -DC10_NODEPRECATED, CUDA_VERSION=13.0, CUDNN_VERSION=9.20.0, CXX_COMPILER=/opt/rh/gcc-toolset-13/root/usr/bin/c++, CXX_FLAGS= -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOROCTRACER -DLIBKINETO_NOXPUPTI=ON -DUSE_FBGEMM -DUSE_MSLK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -DC10_NODEPRECATED -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-unknown-pragmas -Wno-unused-parameter -Wno-strict-overflow -Wno-strict-aliasing -Wno-stringop-overflow -Wsuggest-override -Wno-psabi -Wno-error=old-style-cast -faligned-new -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-dangling-reference -Wno-error=dangling-reference -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, TORCH_VERSION=2.12.0, USE_CUDA=ON, USE_CUDNN=ON, USE_CUSPARSELT=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_GLOO=ON, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=1, USE_NNPACK=ON, USE_OPENMP=ON, USE_ROCM=OFF, USE_ROCM_KERNEL_ASSERT=OFF, USE_XCCL=OFF, USE_XPU=OFF, \n"
352
- }
353
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
MetaMathQA/ptuning--llama-3.2-3B-vt20-LSTM.json DELETED
@@ -1,353 +0,0 @@
1
- {
2
- "run_info": {
3
- "created_at": "2026-06-25T13:04:16+00:00",
4
- "total_time": 1502.6669879511464,
5
- "experiment_name": "ptuning/llama-3.2-3B-vt20-LSTM",
6
- "peft_branch": "main",
7
- "train_config": {
8
- "model_id": "meta-llama/Llama-3.2-3B",
9
- "dtype": "bfloat16",
10
- "max_seq_length": 768,
11
- "batch_size": 4,
12
- "batch_size_eval": 50,
13
- "max_steps": 5000,
14
- "eval_steps": 250,
15
- "compile": false,
16
- "use_gc": false,
17
- "query_template": "Question: {query} Think step by step.\nAnswer:",
18
- "seed": 0,
19
- "grad_norm_clip": 1.0,
20
- "optimizer_type": "AdamW",
21
- "optimizer_kwargs": {
22
- "lr": 0.0001,
23
- "weight_decay": 0.1
24
- },
25
- "lr_scheduler": "cosine",
26
- "use_amp": false,
27
- "autocast_adapter_dtype": true,
28
- "generation_kwargs": {
29
- "max_length": 800,
30
- "max_new_tokens": 300
31
- },
32
- "attn_implementation": null,
33
- "init_kv_cache_prefix": null
34
- },
35
- "peft_config": {
36
- "task_type": "CAUSAL_LM",
37
- "peft_type": "P_TUNING",
38
- "auto_mapping": null,
39
- "peft_version": "0.19.2.dev0@UNKNOWN",
40
- "base_model_name_or_path": "meta-llama/Llama-3.2-3B",
41
- "revision": null,
42
- "inference_mode": false,
43
- "num_virtual_tokens": 20,
44
- "token_dim": 3072,
45
- "num_transformer_submodules": 1,
46
- "num_attention_heads": 24,
47
- "num_layers": 28,
48
- "modules_to_save": null,
49
- "encoder_reparameterization_type": "LSTM",
50
- "encoder_hidden_size": 3072,
51
- "encoder_num_layers": 2,
52
- "encoder_dropout": 0.0
53
- },
54
- "error_msg": ""
55
- },
56
- "train_info": {
57
- "accelerator_memory_reserved_avg": 21550333952,
58
- "accelerator_memory_max": 28781314048,
59
- "accelerator_memory_reserved_99th": 26820749557,
60
- "train_time": 1322.590588517487,
61
- "file_size": 245880,
62
- "num_trainable_params": 434279424,
63
- "num_total_params": 3647029248,
64
- "status": "success",
65
- "metrics": [
66
- {
67
- "step": 250,
68
- "valid accuracy": 0.22,
69
- "train loss": 0.9354020810127258,
70
- "train samples": 1000,
71
- "train time": 50.49005669821054,
72
- "eval time": 9.3927109639626,
73
- "tokens / sec": 4193.2810902845295,
74
- "mem allocated avg": 13755032733.696,
75
- "mem reserved avg": 21591454908.416,
76
- "elapsed time": 119.27638081205077
77
- },
78
- {
79
- "step": 500,
80
- "valid accuracy": 0.2,
81
- "train loss": 0.7862321782112122,
82
- "train samples": 2000,
83
- "train time": 50.365367197664455,
84
- "eval time": 9.254252284998074,
85
- "tokens / sec": 4129.722695829867,
86
- "mem allocated avg": 13747812104.192,
87
- "mem reserved avg": 21267361038.336,
88
- "elapsed time": 179.84149901219644
89
- },
90
- {
91
- "step": 750,
92
- "valid accuracy": 0.32,
93
- "train loss": 0.7509800347089768,
94
- "train samples": 3000,
95
- "train time": 50.671867781318724,
96
- "eval time": 9.250419595045969,
97
- "tokens / sec": 4231.164340049126,
98
- "mem allocated avg": 13758180833.28,
99
- "mem reserved avg": 21481211822.08,
100
- "elapsed time": 240.75460329209454
101
- },
102
- {
103
- "step": 1000,
104
- "valid accuracy": 0.28,
105
- "train loss": 0.7235222470760345,
106
- "train samples": 4000,
107
- "train time": 50.121545881032944,
108
- "eval time": 9.264669175958261,
109
- "tokens / sec": 4156.615609871657,
110
- "mem allocated avg": 13750246084.608,
111
- "mem reserved avg": 21661600448.512,
112
- "elapsed time": 301.1448435881175
113
- },
114
- {
115
- "step": 1250,
116
- "valid accuracy": 0.3,
117
- "train loss": 0.7182610543966294,
118
- "train samples": 5000,
119
- "train time": 49.812087612459436,
120
- "eval time": 9.25290141813457,
121
- "tokens / sec": 4186.493881212853,
122
- "mem allocated avg": 13749475418.112,
123
- "mem reserved avg": 21545644720.128,
124
- "elapsed time": 361.17410576017573
125
- },
126
- {
127
- "step": 1500,
128
- "valid accuracy": 0.36,
129
- "train loss": 0.7089396673440933,
130
- "train samples": 6000,
131
- "train time": 50.24829094391316,
132
- "eval time": 9.26507464889437,
133
- "tokens / sec": 4165.932732590925,
134
- "mem allocated avg": 13751175532.544,
135
- "mem reserved avg": 21550510112.768,
136
- "elapsed time": 421.5853925740812
137
- },
138
- {
139
- "step": 1750,
140
- "valid accuracy": 0.24,
141
- "train loss": 0.7019602956771851,
142
- "train samples": 7000,
143
- "train time": 50.260878534056246,
144
- "eval time": 9.258642738917843,
145
- "tokens / sec": 4165.366903766779,
146
- "mem allocated avg": 13752757673.984,
147
- "mem reserved avg": 21844916699.136,
148
- "elapsed time": 482.5431994642131
149
- },
150
- {
151
- "step": 2000,
152
- "valid accuracy": 0.32,
153
- "train loss": 0.703207641363144,
154
- "train samples": 8000,
155
- "train time": 49.82990423007868,
156
- "eval time": 6.006760481977835,
157
- "tokens / sec": 4168.099521945881,
158
- "mem allocated avg": 13748972744.704,
159
- "mem reserved avg": 21610698375.168,
160
- "elapsed time": 539.6426566240843
161
- },
162
- {
163
- "step": 2250,
164
- "valid accuracy": 0.26,
165
- "train loss": 0.6957956521511078,
166
- "train samples": 9000,
167
- "train time": 50.82219616463408,
168
- "eval time": 6.473255675053224,
169
- "tokens / sec": 4229.411875545376,
170
- "mem allocated avg": 13760203024.384,
171
- "mem reserved avg": 21905373396.992,
172
- "elapsed time": 598.0294065510388
173
- },
174
- {
175
- "step": 2500,
176
- "valid accuracy": 0.26,
177
- "train loss": 0.6942941577434539,
178
- "train samples": 10000,
179
- "train time": 49.56321152066812,
180
- "eval time": 6.418301625177264,
181
- "tokens / sec": 4155.642737438648,
182
- "mem allocated avg": 13745219473.408,
183
- "mem reserved avg": 21274810122.24,
184
- "elapsed time": 655.3750411360525
185
- },
186
- {
187
- "step": 2750,
188
- "valid accuracy": 0.3,
189
- "train loss": 0.687157685995102,
190
- "train samples": 11000,
191
- "train time": 50.7322088687215,
192
- "eval time": 9.255984412971884,
193
- "tokens / sec": 4176.459190812671,
194
- "mem allocated avg": 13755800027.136,
195
- "mem reserved avg": 21811186106.368,
196
- "elapsed time": 716.4680303991772
197
- },
198
- {
199
- "step": 3000,
200
- "valid accuracy": 0.28,
201
- "train loss": 0.6796072626113892,
202
- "train samples": 12000,
203
- "train time": 49.92008067877032,
204
- "eval time": 9.27642115810886,
205
- "tokens / sec": 4181.303338493356,
206
- "mem allocated avg": 13751262904.32,
207
- "mem reserved avg": 21667245981.696,
208
- "elapsed time": 776.6304151872173
209
- },
210
- {
211
- "step": 3250,
212
- "valid accuracy": 0.36,
213
- "train loss": 0.688059378027916,
214
- "train samples": 13000,
215
- "train time": 50.41137535823509,
216
- "eval time": 9.249134139157832,
217
- "tokens / sec": 4183.599405913604,
218
- "mem allocated avg": 13752641021.952,
219
- "mem reserved avg": 21651131465.728,
220
- "elapsed time": 837.2296860460192
221
- },
222
- {
223
- "step": 3500,
224
- "valid accuracy": 0.32,
225
- "train loss": 0.6734865410327912,
226
- "train samples": 14000,
227
- "train time": 50.12707422138192,
228
- "eval time": 9.280864350032061,
229
- "tokens / sec": 4184.365500241589,
230
- "mem allocated avg": 13751505661.952,
231
- "mem reserved avg": 21513927393.28,
232
- "elapsed time": 897.8190522671212
233
- },
234
- {
235
- "step": 3750,
236
- "valid accuracy": 0.28,
237
- "train loss": 0.670322101354599,
238
- "train samples": 15000,
239
- "train time": 51.18098081322387,
240
- "eval time": 6.044083565939218,
241
- "tokens / sec": 4234.05328613807,
242
- "mem allocated avg": 13762761537.536,
243
- "mem reserved avg": 21592427986.944,
244
- "elapsed time": 955.9538224241696
245
- },
246
- {
247
- "step": 4000,
248
- "valid accuracy": 0.38,
249
- "train loss": 0.6844290305376053,
250
- "train samples": 16000,
251
- "train time": 49.46939493622631,
252
- "eval time": 5.15820625401102,
253
- "tokens / sec": 4131.301793027151,
254
- "mem allocated avg": 13744092170.24,
255
- "mem reserved avg": 21539613310.976,
256
- "elapsed time": 1011.6463001200464
257
- },
258
- {
259
- "step": 4250,
260
- "valid accuracy": 0.4,
261
- "train loss": 0.6669189376831055,
262
- "train samples": 17000,
263
- "train time": 50.603932400466874,
264
- "eval time": 6.134445908013731,
265
- "tokens / sec": 4177.323578869727,
266
- "mem allocated avg": 13753937317.888,
267
- "mem reserved avg": 21385682354.176,
268
- "elapsed time": 1069.237313566031
269
- },
270
- {
271
- "step": 4500,
272
- "valid accuracy": 0.46,
273
- "train loss": 0.6736755061149597,
274
- "train samples": 18000,
275
- "train time": 49.98166696308181,
276
- "eval time": 9.266396904131398,
277
- "tokens / sec": 4157.884533012906,
278
- "mem allocated avg": 13749339627.52,
279
- "mem reserved avg": 21371648212.992,
280
- "elapsed time": 1129.6838904172182
281
- },
282
- {
283
- "step": 4750,
284
- "valid accuracy": 0.3,
285
- "train loss": 0.664890606880188,
286
- "train samples": 19000,
287
- "train time": 50.29726964957081,
288
- "eval time": 9.265053241048008,
289
- "tokens / sec": 4173.964142838744,
290
- "mem allocated avg": 13751988727.808,
291
- "mem reserved avg": 21558370238.464,
292
- "elapsed time": 1190.1546793282032
293
- },
294
- {
295
- "step": 5000,
296
- "valid accuracy": 0.34,
297
- "train loss": 0.6717871301174164,
298
- "train samples": 20000,
299
- "train time": 49.993743317900226,
300
- "eval time": 8.915772874141112,
301
- "tokens / sec": 4166.121321934009,
302
- "mem allocated avg": 13748624703.488,
303
- "mem reserved avg": 21181864345.6,
304
- "elapsed time": 1250.1847356450744
305
- },
306
- {
307
- "step": 5000,
308
- "test accuracy": 0.33813495072024263,
309
- "train loss": 0.6717871301174164,
310
- "train samples": 20000,
311
- "train total tokens": 4198051,
312
- "forgetting": 1.6402645111083984
313
- }
314
- ]
315
- },
316
- "meta_info": {
317
- "model_info": {
318
- "sha": "13afe5124825b4f3751f836b40dafda64c1ed062",
319
- "created_at": "2024-09-18T15:23:48+00:00"
320
- },
321
- "dataset_info": {
322
- "metamath": {
323
- "sha": "aa4f34d3d2d3231299b5b03d9b3e5a20da45aa18",
324
- "created_at": "2023-09-21T17:22:46+00:00"
325
- },
326
- "gsm8k": {
327
- "sha": "740312add88f781978c0658806c59bc2815b9866",
328
- "created_at": "2022-04-12T10:22:10+00:00"
329
- }
330
- },
331
- "package_info": {
332
- "transformers-version": "5.12.1",
333
- "transformers-commit-hash": null,
334
- "peft-version": "0.19.2.dev0",
335
- "peft-commit-hash": "0fecbcd8641b42b87b558030ad419475da669fe1",
336
- "datasets-version": "5.0.0",
337
- "datasets-commit-hash": null,
338
- "bitsandbytes-version": "0.49.2",
339
- "bitsandbytes-commit-hash": null,
340
- "torch-version": "2.12.0+cu130",
341
- "torch-commit-hash": null
342
- },
343
- "system_info": {
344
- "system": "Linux",
345
- "release": "6.8.0-90-generic",
346
- "version": "#91~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 20 15:20:45 UTC 2",
347
- "machine": "x86_64",
348
- "processor": "x86_64",
349
- "accelerator": "NVIDIA GeForce RTX 4090"
350
- },
351
- "pytorch_info": "PyTorch built with:\n - GCC 13.3\n - C++ Version: 202002\n - Intel(R) oneAPI Math Kernel Library Version 2024.2-Product Build 20240605 for Intel(R) 64 architecture applications\n - Intel(R) MKL-DNN v3.11.2 (Git Hash 03c022d3ffdcee958cfacbe720048e725fdf644c)\n - OpenMP 201511 (a.k.a. OpenMP 4.5)\n - LAPACK is enabled (usually provided by MKL)\n - NNPACK is enabled\n - CPU capability usage: AVX512\n - CUDA Runtime 13.0\n - NVCC architecture flags: -gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-gencode;arch=compute_90,code=sm_90;-gencode;arch=compute_100,code=sm_100;-gencode;arch=compute_120,code=sm_120\n - CuDNN 92.0 (built against CUDA 13.2)\n - Magma 2.6.1\n - Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, COMMIT_SHA=7661cd9c6b841b62b7f411aa52ec51f05457263b, CUDA_FLAGS= -DLIBCUDACXX_ENABLE_SIMPLIFIED_COMPLEX_OPERATIONS -Xfatbin -compress-all -DONNX_NAMESPACE=onnx_torch -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_100,code=sm_100 -gencode arch=compute_120,code=sm_120 -Xcudafe --diag_suppress=cc_clobber_ignored,--diag_suppress=field_without_dll_interface,--diag_suppress=base_class_has_different_dll_interface,--diag_suppress=dll_interface_conflict_none_assumed,--diag_suppress=dll_interface_conflict_dllexport_assumed,--diag_suppress=bad_friend_decl --expt-relaxed-constexpr --expt-extended-lambda -Xfatbin -compress-all --threads 2 -compress-mode=size -Wno-deprecated-gpu-targets --expt-extended-lambda -DCUB_WRAPPED_NAMESPACE=at_cuda_detail -DDISABLE_CUSPARSE_DEPRECATED -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -DC10_NODEPRECATED, CUDA_VERSION=13.0, CUDNN_VERSION=9.20.0, CXX_COMPILER=/opt/rh/gcc-toolset-13/root/usr/bin/c++, CXX_FLAGS= -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOROCTRACER -DLIBKINETO_NOXPUPTI=ON -DUSE_FBGEMM -DUSE_MSLK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -DC10_NODEPRECATED -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-unknown-pragmas -Wno-unused-parameter -Wno-strict-overflow -Wno-strict-aliasing -Wno-stringop-overflow -Wsuggest-override -Wno-psabi -Wno-error=old-style-cast -faligned-new -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-dangling-reference -Wno-error=dangling-reference -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, TORCH_VERSION=2.12.0, USE_CUDA=ON, USE_CUDNN=ON, USE_CUSPARSELT=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_GLOO=ON, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=1, USE_NNPACK=ON, USE_OPENMP=ON, USE_ROCM=OFF, USE_ROCM_KERNEL_ASSERT=OFF, USE_XCCL=OFF, USE_XPU=OFF, \n"
352
- }
353
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
MetaMathQA/ptuning--llama-3.2-3B-vt20-MLP-lr5e-4.json DELETED
@@ -1,352 +0,0 @@
1
- {
2
- "run_info": {
3
- "created_at": "2026-06-25T13:50:54+00:00",
4
- "total_time": 1098.8279759250581,
5
- "experiment_name": "ptuning/llama-3.2-3B-vt20-MLP-lr5e-4",
6
- "peft_branch": "main",
7
- "train_config": {
8
- "model_id": "meta-llama/Llama-3.2-3B",
9
- "dtype": "bfloat16",
10
- "max_seq_length": 768,
11
- "batch_size": 4,
12
- "batch_size_eval": 50,
13
- "max_steps": 5000,
14
- "eval_steps": 250,
15
- "compile": false,
16
- "use_gc": false,
17
- "query_template": "Question: {query} Think step by step.\nAnswer:",
18
- "seed": 0,
19
- "grad_norm_clip": 1.0,
20
- "optimizer_type": "AdamW",
21
- "optimizer_kwargs": {
22
- "lr": 0.0005
23
- },
24
- "lr_scheduler": "cosine",
25
- "use_amp": false,
26
- "autocast_adapter_dtype": true,
27
- "generation_kwargs": {
28
- "max_length": 800,
29
- "max_new_tokens": 300
30
- },
31
- "attn_implementation": null,
32
- "init_kv_cache_prefix": null
33
- },
34
- "peft_config": {
35
- "task_type": "CAUSAL_LM",
36
- "peft_type": "P_TUNING",
37
- "auto_mapping": null,
38
- "peft_version": "0.19.2.dev0@UNKNOWN",
39
- "base_model_name_or_path": "meta-llama/Llama-3.2-3B",
40
- "revision": null,
41
- "inference_mode": false,
42
- "num_virtual_tokens": 20,
43
- "token_dim": 3072,
44
- "num_transformer_submodules": 1,
45
- "num_attention_heads": 24,
46
- "num_layers": 28,
47
- "modules_to_save": null,
48
- "encoder_reparameterization_type": "MLP",
49
- "encoder_hidden_size": 3072,
50
- "encoder_num_layers": 2,
51
- "encoder_dropout": 0.0
52
- },
53
- "error_msg": ""
54
- },
55
- "train_info": {
56
- "accelerator_memory_reserved_avg": 14115343748,
57
- "accelerator_memory_max": 20946354176,
58
- "accelerator_memory_reserved_99th": 19216203776,
59
- "train_time": 928.1491970848292,
60
- "file_size": 245880,
61
- "num_trainable_params": 28382208,
62
- "num_total_params": 3241132032,
63
- "status": "success",
64
- "metrics": [
65
- {
66
- "step": 250,
67
- "valid accuracy": 0.24,
68
- "train loss": 0.8859602637290954,
69
- "train samples": 1000,
70
- "train time": 31.65180461597629,
71
- "eval time": 9.40215106192045,
72
- "tokens / sec": 6689.00249349873,
73
- "mem allocated avg": 7265250011.136,
74
- "mem reserved avg": 14200797659.136,
75
- "elapsed time": 57.33147974405438
76
- },
77
- {
78
- "step": 500,
79
- "valid accuracy": 0.28,
80
- "train loss": 0.7676331839561462,
81
- "train samples": 2000,
82
- "train time": 31.13863810757175,
83
- "eval time": 9.25840079691261,
84
- "tokens / sec": 6679.643447521984,
85
- "mem allocated avg": 7257767559.168,
86
- "mem reserved avg": 13883649556.48,
87
- "elapsed time": 100.10863005090505
88
- },
89
- {
90
- "step": 750,
91
- "valid accuracy": 0.34,
92
- "train loss": 0.7299470043182373,
93
- "train samples": 3000,
94
- "train time": 32.39704798278399,
95
- "eval time": 9.253981592133641,
96
- "tokens / sec": 6617.917784173859,
97
- "mem allocated avg": 7268295294.976,
98
- "mem reserved avg": 14123421138.944,
99
- "elapsed time": 144.0450889300555
100
- },
101
- {
102
- "step": 1000,
103
- "valid accuracy": 0.32,
104
- "train loss": 0.7054928681850433,
105
- "train samples": 4000,
106
- "train time": 31.707324855495244,
107
- "eval time": 9.251647465862334,
108
- "tokens / sec": 6570.595310373305,
109
- "mem allocated avg": 7259502956.544,
110
- "mem reserved avg": 14061144113.152,
111
- "elapsed time": 187.4869728749618
112
- },
113
- {
114
- "step": 1250,
115
- "valid accuracy": 0.32,
116
- "train loss": 0.7035304119586945,
117
- "train samples": 5000,
118
- "train time": 31.407017521560192,
119
- "eval time": 8.274948939215392,
120
- "tokens / sec": 6639.853652351532,
121
- "mem allocated avg": 7258852329.472,
122
- "mem reserved avg": 14130685673.472,
123
- "elapsed time": 229.53703149803914
124
- },
125
- {
126
- "step": 1500,
127
- "valid accuracy": 0.38,
128
- "train loss": 0.6977702566385269,
129
- "train samples": 6000,
130
- "train time": 31.798848503269255,
131
- "eval time": 5.635441232006997,
132
- "tokens / sec": 6582.974222430683,
133
- "mem allocated avg": 7260632471.552,
134
- "mem reserved avg": 14072930107.392,
135
- "elapsed time": 269.7190164339263
136
- },
137
- {
138
- "step": 1750,
139
- "valid accuracy": 0.36,
140
- "train loss": 0.6920007370710373,
141
- "train samples": 7000,
142
- "train time": 31.98915307270363,
143
- "eval time": 9.249000354902819,
144
- "tokens / sec": 6544.562137177767,
145
- "mem allocated avg": 7262342055.936,
146
- "mem reserved avg": 14363075280.896,
147
- "elapsed time": 313.50859929597937
148
- },
149
- {
150
- "step": 2000,
151
- "valid accuracy": 0.4,
152
- "train loss": 0.6937211427688599,
153
- "train samples": 8000,
154
- "train time": 31.306376459077,
155
- "eval time": 9.252411246998236,
156
- "tokens / sec": 6634.303406895257,
157
- "mem allocated avg": 7258369662.976,
158
- "mem reserved avg": 14144929529.856,
159
- "elapsed time": 356.8602735430468
160
- },
161
- {
162
- "step": 2250,
163
- "valid accuracy": 0.4,
164
- "train loss": 0.6870029544830323,
165
- "train samples": 9000,
166
- "train time": 32.82327748509124,
167
- "eval time": 9.250748039921746,
168
- "tokens / sec": 6548.64524414517,
169
- "mem allocated avg": 7270847238.144,
170
- "mem reserved avg": 14310663258.112,
171
- "elapsed time": 401.30239249696024
172
- },
173
- {
174
- "step": 2500,
175
- "valid accuracy": 0.46,
176
- "train loss": 0.6864559572935104,
177
- "train samples": 10000,
178
- "train time": 31.70231397682801,
179
- "eval time": 6.498107424937189,
180
- "tokens / sec": 6496.907454469925,
181
- "mem allocated avg": 7255026315.264,
182
- "mem reserved avg": 13888665944.064,
183
- "elapsed time": 442.19169994909316
184
- },
185
- {
186
- "step": 2750,
187
- "valid accuracy": 0.38,
188
- "train loss": 0.680001744389534,
189
- "train samples": 11000,
190
- "train time": 32.469573070760816,
191
- "eval time": 9.25120837194845,
192
- "tokens / sec": 6525.524666993574,
193
- "mem allocated avg": 7265801664.512,
194
- "mem reserved avg": 14312777187.328,
195
- "elapsed time": 486.26620708499104
196
- },
197
- {
198
- "step": 3000,
199
- "valid accuracy": 0.38,
200
- "train loss": 0.672161677122116,
201
- "train samples": 12000,
202
- "train time": 31.73648655274883,
203
- "eval time": 5.958063455065712,
204
- "tokens / sec": 6577.004031403121,
205
- "mem allocated avg": 7260756502.528,
206
- "mem reserved avg": 14207953141.76,
207
- "elapsed time": 526.7587625021115
208
- },
209
- {
210
- "step": 3250,
211
- "valid accuracy": 0.28,
212
- "train loss": 0.681042181134224,
213
- "train samples": 13000,
214
- "train time": 31.950469674542546,
215
- "eval time": 6.172452438157052,
216
- "tokens / sec": 6600.873231232698,
217
- "mem allocated avg": 7262658037.76,
218
- "mem reserved avg": 14124192890.88,
219
- "elapsed time": 567.2247899330687
220
- },
221
- {
222
- "step": 3500,
223
- "valid accuracy": 0.44,
224
- "train loss": 0.6662635884284973,
225
- "train samples": 14000,
226
- "train time": 31.594176259357482,
227
- "eval time": 9.235800415975973,
228
- "tokens / sec": 6638.881744475828,
229
- "mem allocated avg": 7261104484.352,
230
- "mem reserved avg": 14062100414.464,
231
- "elapsed time": 610.4624923849478
232
- },
233
- {
234
- "step": 3750,
235
- "valid accuracy": 0.44,
236
- "train loss": 0.6641098285913467,
237
- "train samples": 15000,
238
- "train time": 32.448025634046644,
239
- "eval time": 8.274530452908948,
240
- "tokens / sec": 6678.46489163953,
241
- "mem allocated avg": 7272199753.728,
242
- "mem reserved avg": 14347447304.192,
243
- "elapsed time": 653.7124716730323
244
- },
245
- {
246
- "step": 4000,
247
- "valid accuracy": 0.32,
248
- "train loss": 0.6793096128702164,
249
- "train samples": 16000,
250
- "train time": 30.9815093385987,
251
- "eval time": 9.262340698158368,
252
- "tokens / sec": 6596.612120035719,
253
- "mem allocated avg": 7254373582.848,
254
- "mem reserved avg": 14100260192.256,
255
- "elapsed time": 696.7475293360185
256
- },
257
- {
258
- "step": 4250,
259
- "valid accuracy": 0.42,
260
- "train loss": 0.6622657473087311,
261
- "train samples": 17000,
262
- "train time": 31.90420175320469,
263
- "eval time": 9.248332449002191,
264
- "tokens / sec": 6625.741701209201,
265
- "mem allocated avg": 7264152272.896,
266
- "mem reserved avg": 14078374313.984,
267
- "elapsed time": 740.1776858849917
268
- },
269
- {
270
- "step": 4500,
271
- "valid accuracy": 0.36,
272
- "train loss": 0.6690288419723511,
273
- "train samples": 18000,
274
- "train time": 31.268609202466905,
275
- "eval time": 9.239017388084903,
276
- "tokens / sec": 6646.218213747877,
277
- "mem allocated avg": 7258554871.808,
278
- "mem reserved avg": 14031742042.112,
279
- "elapsed time": 783.2471806830727
280
- },
281
- {
282
- "step": 4750,
283
- "valid accuracy": 0.34,
284
- "train loss": 0.6596376706361771,
285
- "train samples": 19000,
286
- "train time": 31.710480290697888,
287
- "eval time": 8.497989056166261,
288
- "tokens / sec": 6620.492596625368,
289
- "mem allocated avg": 7261569159.168,
290
- "mem reserved avg": 14077401235.456,
291
- "elapsed time": 825.7542321349028
292
- },
293
- {
294
- "step": 5000,
295
- "valid accuracy": 0.4,
296
- "train loss": 0.6666479827165603,
297
- "train samples": 20000,
298
- "train time": 31.27789579378441,
299
- "eval time": 6.808006115956232,
300
- "tokens / sec": 6659.01572705507,
301
- "mem allocated avg": 7258790572.032,
302
- "mem reserved avg": 13784663982.08,
303
- "elapsed time": 866.2085020889062
304
- },
305
- {
306
- "step": 5000,
307
- "test accuracy": 0.3525398028809704,
308
- "train loss": 0.6666479827165603,
309
- "train samples": 20000,
310
- "train total tokens": 4198051,
311
- "forgetting": 3.314358711242676
312
- }
313
- ]
314
- },
315
- "meta_info": {
316
- "model_info": {
317
- "sha": "13afe5124825b4f3751f836b40dafda64c1ed062",
318
- "created_at": "2024-09-18T15:23:48+00:00"
319
- },
320
- "dataset_info": {
321
- "metamath": {
322
- "sha": "aa4f34d3d2d3231299b5b03d9b3e5a20da45aa18",
323
- "created_at": "2023-09-21T17:22:46+00:00"
324
- },
325
- "gsm8k": {
326
- "sha": "740312add88f781978c0658806c59bc2815b9866",
327
- "created_at": "2022-04-12T10:22:10+00:00"
328
- }
329
- },
330
- "package_info": {
331
- "transformers-version": "5.12.1",
332
- "transformers-commit-hash": null,
333
- "peft-version": "0.19.2.dev0",
334
- "peft-commit-hash": "f8d0501b710e8949ffecfaf580f4053be72fdcda",
335
- "datasets-version": "5.0.0",
336
- "datasets-commit-hash": null,
337
- "bitsandbytes-version": "0.49.2",
338
- "bitsandbytes-commit-hash": null,
339
- "torch-version": "2.12.0+cu130",
340
- "torch-commit-hash": null
341
- },
342
- "system_info": {
343
- "system": "Linux",
344
- "release": "6.8.0-90-generic",
345
- "version": "#91~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 20 15:20:45 UTC 2",
346
- "machine": "x86_64",
347
- "processor": "x86_64",
348
- "accelerator": "NVIDIA GeForce RTX 4090"
349
- },
350
- "pytorch_info": "PyTorch built with:\n - GCC 13.3\n - C++ Version: 202002\n - Intel(R) oneAPI Math Kernel Library Version 2024.2-Product Build 20240605 for Intel(R) 64 architecture applications\n - Intel(R) MKL-DNN v3.11.2 (Git Hash 03c022d3ffdcee958cfacbe720048e725fdf644c)\n - OpenMP 201511 (a.k.a. OpenMP 4.5)\n - LAPACK is enabled (usually provided by MKL)\n - NNPACK is enabled\n - CPU capability usage: AVX512\n - CUDA Runtime 13.0\n - NVCC architecture flags: -gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-gencode;arch=compute_90,code=sm_90;-gencode;arch=compute_100,code=sm_100;-gencode;arch=compute_120,code=sm_120\n - CuDNN 92.0 (built against CUDA 13.2)\n - Magma 2.6.1\n - Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, COMMIT_SHA=7661cd9c6b841b62b7f411aa52ec51f05457263b, CUDA_FLAGS= -DLIBCUDACXX_ENABLE_SIMPLIFIED_COMPLEX_OPERATIONS -Xfatbin -compress-all -DONNX_NAMESPACE=onnx_torch -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_100,code=sm_100 -gencode arch=compute_120,code=sm_120 -Xcudafe --diag_suppress=cc_clobber_ignored,--diag_suppress=field_without_dll_interface,--diag_suppress=base_class_has_different_dll_interface,--diag_suppress=dll_interface_conflict_none_assumed,--diag_suppress=dll_interface_conflict_dllexport_assumed,--diag_suppress=bad_friend_decl --expt-relaxed-constexpr --expt-extended-lambda -Xfatbin -compress-all --threads 2 -compress-mode=size -Wno-deprecated-gpu-targets --expt-extended-lambda -DCUB_WRAPPED_NAMESPACE=at_cuda_detail -DDISABLE_CUSPARSE_DEPRECATED -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -DC10_NODEPRECATED, CUDA_VERSION=13.0, CUDNN_VERSION=9.20.0, CXX_COMPILER=/opt/rh/gcc-toolset-13/root/usr/bin/c++, CXX_FLAGS= -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOROCTRACER -DLIBKINETO_NOXPUPTI=ON -DUSE_FBGEMM -DUSE_MSLK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -DC10_NODEPRECATED -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-unknown-pragmas -Wno-unused-parameter -Wno-strict-overflow -Wno-strict-aliasing -Wno-stringop-overflow -Wsuggest-override -Wno-psabi -Wno-error=old-style-cast -faligned-new -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-dangling-reference -Wno-error=dangling-reference -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, TORCH_VERSION=2.12.0, USE_CUDA=ON, USE_CUDNN=ON, USE_CUSPARSELT=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_GLOO=ON, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=1, USE_NNPACK=ON, USE_OPENMP=ON, USE_ROCM=OFF, USE_ROCM_KERNEL_ASSERT=OFF, USE_XCCL=OFF, USE_XPU=OFF, \n"
351
- }
352
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
MetaMathQA/ptuning--llama-3.2-3B-vt30-MLP.json DELETED
@@ -1,353 +0,0 @@
1
- {
2
- "run_info": {
3
- "created_at": "2026-07-01T15:50:58+00:00",
4
- "total_time": 1492.634669919993,
5
- "experiment_name": "ptuning/llama-3.2-3B-vt30-MLP",
6
- "peft_branch": "main",
7
- "train_config": {
8
- "model_id": "meta-llama/Llama-3.2-3B",
9
- "dtype": "bfloat16",
10
- "max_seq_length": 768,
11
- "batch_size": 4,
12
- "batch_size_eval": 50,
13
- "max_steps": 5000,
14
- "eval_steps": 250,
15
- "compile": false,
16
- "use_gc": false,
17
- "query_template": "Question: {query} Think step by step.\nAnswer:",
18
- "seed": 0,
19
- "grad_norm_clip": 1.0,
20
- "optimizer_type": "AdamW",
21
- "optimizer_kwargs": {
22
- "lr": 0.0001,
23
- "weight_decay": 0.1
24
- },
25
- "lr_scheduler": "cosine",
26
- "use_amp": false,
27
- "autocast_adapter_dtype": true,
28
- "generation_kwargs": {
29
- "max_length": 800,
30
- "max_new_tokens": 300
31
- },
32
- "attn_implementation": null,
33
- "init_kv_cache_prefix": null
34
- },
35
- "peft_config": {
36
- "task_type": "CAUSAL_LM",
37
- "peft_type": "P_TUNING",
38
- "auto_mapping": null,
39
- "peft_version": "0.19.2.dev0@UNKNOWN",
40
- "base_model_name_or_path": "meta-llama/Llama-3.2-3B",
41
- "revision": null,
42
- "inference_mode": false,
43
- "num_virtual_tokens": 30,
44
- "token_dim": 3072,
45
- "num_transformer_submodules": 1,
46
- "num_attention_heads": 24,
47
- "num_layers": 28,
48
- "modules_to_save": null,
49
- "encoder_reparameterization_type": "MLP",
50
- "encoder_hidden_size": 3072,
51
- "encoder_num_layers": 2,
52
- "encoder_dropout": 0.0
53
- },
54
- "error_msg": ""
55
- },
56
- "train_info": {
57
- "accelerator_memory_reserved_avg": 14323580875,
58
- "accelerator_memory_max": 21458059264,
59
- "accelerator_memory_reserved_99th": 19736297472,
60
- "train_time": 1194.9091126141138,
61
- "file_size": 368760,
62
- "num_trainable_params": 28412928,
63
- "num_total_params": 3241162752,
64
- "status": "success",
65
- "metrics": [
66
- {
67
- "step": 250,
68
- "valid accuracy": 0.08,
69
- "train loss": 0.9363302497863769,
70
- "train samples": 1000,
71
- "train time": 34.00575314508751,
72
- "eval time": 9.754597692983225,
73
- "tokens / sec": 6225.975913448782,
74
- "mem allocated avg": 7281153935.36,
75
- "mem reserved avg": 14393391710.208,
76
- "elapsed time": 258.6250282860128
77
- },
78
- {
79
- "step": 500,
80
- "valid accuracy": 0.14,
81
- "train loss": 0.7985411801338196,
82
- "train samples": 2000,
83
- "train time": 33.73720351737575,
84
- "eval time": 9.62405165200471,
85
- "tokens / sec": 6165.1523634102,
86
- "mem allocated avg": 7274907719.68,
87
- "mem reserved avg": 14096116219.904,
88
- "elapsed time": 304.5419928780175
89
- },
90
- {
91
- "step": 750,
92
- "valid accuracy": 0.22,
93
- "train loss": 0.7601689212322235,
94
- "train samples": 3000,
95
- "train time": 34.6107883961231,
96
- "eval time": 9.648138158983784,
97
- "tokens / sec": 6194.629187470805,
98
- "mem allocated avg": 7283639179.264,
99
- "mem reserved avg": 14317038600.192,
100
- "elapsed time": 351.2987851499929
101
- },
102
- {
103
- "step": 1000,
104
- "valid accuracy": 0.28,
105
- "train loss": 0.7293364794254303,
106
- "train samples": 4000,
107
- "train time": 34.106910182803404,
108
- "eval time": 9.637816358997952,
109
- "tokens / sec": 6108.322298425096,
110
- "mem allocated avg": 7276656787.456,
111
- "mem reserved avg": 14334067474.432,
112
- "elapsed time": 397.75173320499016
113
- },
114
- {
115
- "step": 1250,
116
- "valid accuracy": 0.32,
117
- "train loss": 0.7207725659608841,
118
- "train samples": 5000,
119
- "train time": 33.97287149247131,
120
- "eval time": 9.646640760998707,
121
- "tokens / sec": 6138.368375667445,
122
- "mem allocated avg": 7275547160.576,
123
- "mem reserved avg": 14281647063.04,
124
- "elapsed time": 444.0086419559957
125
- },
126
- {
127
- "step": 1500,
128
- "valid accuracy": 0.38,
129
- "train loss": 0.7102297298908233,
130
- "train samples": 6000,
131
- "train time": 34.26030106123653,
132
- "eval time": 9.622574922977947,
133
- "tokens / sec": 6110.016360505525,
134
- "mem allocated avg": 7277322196.992,
135
- "mem reserved avg": 14224101212.16,
136
- "elapsed time": 490.5009809990006
137
- },
138
- {
139
- "step": 1750,
140
- "valid accuracy": 0.28,
141
- "train loss": 0.7035963997840882,
142
- "train samples": 7000,
143
- "train time": 34.326304641144816,
144
- "eval time": 9.675930661993334,
145
- "tokens / sec": 6098.967022190298,
146
- "mem allocated avg": 7277080172.544,
147
- "mem reserved avg": 14590775656.448,
148
- "elapsed time": 537.2490275430027
149
- },
150
- {
151
- "step": 2000,
152
- "valid accuracy": 0.36,
153
- "train loss": 0.7042187093496323,
154
- "train samples": 8000,
155
- "train time": 33.91284731691121,
156
- "eval time": 7.696966222982155,
157
- "tokens / sec": 6124.404655825785,
158
- "mem allocated avg": 7274753998.848,
159
- "mem reserved avg": 14271337463.808,
160
- "elapsed time": 581.5433360229945
161
- },
162
- {
163
- "step": 2250,
164
- "valid accuracy": 0.38,
165
- "train loss": 0.6965467965602875,
166
- "train samples": 9000,
167
- "train time": 35.00853349498357,
168
- "eval time": 9.622937389998697,
169
- "tokens / sec": 6139.874440350387,
170
- "mem allocated avg": 7287149615.104,
171
- "mem reserved avg": 14514305105.92,
172
- "elapsed time": 628.8494034899923
173
- },
174
- {
175
- "step": 2500,
176
- "valid accuracy": 0.34,
177
- "train loss": 0.6948007898330688,
178
- "train samples": 10000,
179
- "train time": 33.72064900404075,
180
- "eval time": 5.387909529992612,
181
- "tokens / sec": 6108.037836855362,
182
- "mem allocated avg": 7272138412.032,
183
- "mem reserved avg": 14066789646.336,
184
- "elapsed time": 670.5936161220015
185
- },
186
- {
187
- "step": 2750,
188
- "valid accuracy": 0.32,
189
- "train loss": 0.6874945278167724,
190
- "train samples": 11000,
191
- "train time": 34.540225339180324,
192
- "eval time": 9.61607060598908,
193
- "tokens / sec": 6134.325932137308,
194
- "mem allocated avg": 7281916778.496,
195
- "mem reserved avg": 14505924886.528,
196
- "elapsed time": 717.2573533540126
197
- },
198
- {
199
- "step": 3000,
200
- "valid accuracy": 0.3,
201
- "train loss": 0.6796259649991989,
202
- "train samples": 12000,
203
- "train time": 34.26134033527342,
204
- "eval time": 9.50968838101835,
205
- "tokens / sec": 6092.318571235321,
206
- "mem allocated avg": 7276503754.752,
207
- "mem reserved avg": 14410059874.304,
208
- "elapsed time": 763.75420076499
209
- },
210
- {
211
- "step": 3250,
212
- "valid accuracy": 0.32,
213
- "train loss": 0.68837134039402,
214
- "train samples": 13000,
215
- "train time": 34.255930323008215,
216
- "eval time": 9.612164622027194,
217
- "tokens / sec": 6156.627422211534,
218
- "mem allocated avg": 7278948605.952,
219
- "mem reserved avg": 14338605711.36,
220
- "elapsed time": 810.1472433689923
221
- },
222
- {
223
- "step": 3500,
224
- "valid accuracy": 0.34,
225
- "train loss": 0.6742574932575226,
226
- "train samples": 14000,
227
- "train time": 34.28129725190229,
228
- "eval time": 6.6055597880040295,
229
- "tokens / sec": 6118.49658018297,
230
- "mem allocated avg": 7278363557.888,
231
- "mem reserved avg": 14407107084.288,
232
- "elapsed time": 853.6943467550154
233
- },
234
- {
235
- "step": 3750,
236
- "valid accuracy": 0.4,
237
- "train loss": 0.6714792121648788,
238
- "train samples": 15000,
239
- "train time": 35.124471633374924,
240
- "eval time": 8.83637132399599,
241
- "tokens / sec": 6169.573232643049,
242
- "mem allocated avg": 7288971911.168,
243
- "mem reserved avg": 14592495321.088,
244
- "elapsed time": 900.199428027001
245
- },
246
- {
247
- "step": 4000,
248
- "valid accuracy": 0.32,
249
- "train loss": 0.6868616794347763,
250
- "train samples": 16000,
251
- "train time": 33.620701181003824,
252
- "eval time": 9.615348125982564,
253
- "tokens / sec": 6078.784582740162,
254
- "mem allocated avg": 7270337929.216,
255
- "mem reserved avg": 14266983776.256,
256
- "elapsed time": 946.0162565729988
257
- },
258
- {
259
- "step": 4250,
260
- "valid accuracy": 0.38,
261
- "train loss": 0.6681802560091019,
262
- "train samples": 17000,
263
- "train time": 34.270348728779936,
264
- "eval time": 6.986196043988457,
265
- "tokens / sec": 6168.276887783093,
266
- "mem allocated avg": 7279699822.592,
267
- "mem reserved avg": 14257932468.224,
268
- "elapsed time": 989.7307399639976
269
- },
270
- {
271
- "step": 4500,
272
- "valid accuracy": 0.4,
273
- "train loss": 0.6755580611228943,
274
- "train samples": 18000,
275
- "train time": 34.087618150311755,
276
- "eval time": 8.943682793003973,
277
- "tokens / sec": 6096.583195798893,
278
- "mem allocated avg": 7274260011.008,
279
- "mem reserved avg": 14269450027.008,
280
- "elapsed time": 1035.466415124014
281
- },
282
- {
283
- "step": 4750,
284
- "valid accuracy": 0.38,
285
- "train loss": 0.6677044332027435,
286
- "train samples": 19000,
287
- "train time": 34.23474362070556,
288
- "eval time": 9.606772648985498,
289
- "tokens / sec": 6132.337438421082,
290
- "mem allocated avg": 7277436657.664,
291
- "mem reserved avg": 14318162673.664,
292
- "elapsed time": 1081.8005726340052
293
- },
294
- {
295
- "step": 5000,
296
- "valid accuracy": 0.44,
297
- "train loss": 0.673769939661026,
298
- "train samples": 20000,
299
- "train time": 33.93519900739193,
300
- "eval time": 9.618838055990636,
301
- "tokens / sec": 6137.580037607307,
302
- "mem allocated avg": 7274845607.936,
303
- "mem reserved avg": 14015325536.256,
304
- "elapsed time": 1127.8809662260173
305
- },
306
- {
307
- "step": 5000,
308
- "test accuracy": 0.3419257012888552,
309
- "train loss": 0.673769939661026,
310
- "train samples": 20000,
311
- "train total tokens": 4198051,
312
- "forgetting": 1.8561630249023438
313
- }
314
- ]
315
- },
316
- "meta_info": {
317
- "model_info": {
318
- "sha": "13afe5124825b4f3751f836b40dafda64c1ed062",
319
- "created_at": "2024-09-18T15:23:48+00:00"
320
- },
321
- "dataset_info": {
322
- "metamath": {
323
- "sha": "aa4f34d3d2d3231299b5b03d9b3e5a20da45aa18",
324
- "created_at": "2023-09-21T17:22:46+00:00"
325
- },
326
- "gsm8k": {
327
- "sha": "740312add88f781978c0658806c59bc2815b9866",
328
- "created_at": "2022-04-12T10:22:10+00:00"
329
- }
330
- },
331
- "package_info": {
332
- "transformers-version": "5.12.1",
333
- "transformers-commit-hash": null,
334
- "peft-version": "0.19.2.dev0",
335
- "peft-commit-hash": "0fba0c34a9900c5bb11ce7c6964f9d14cf7a5c4b",
336
- "datasets-version": "5.0.0",
337
- "datasets-commit-hash": null,
338
- "bitsandbytes-version": "0.49.2",
339
- "bitsandbytes-commit-hash": null,
340
- "torch-version": "2.12.0+cu130",
341
- "torch-commit-hash": null
342
- },
343
- "system_info": {
344
- "system": "Linux",
345
- "release": "5.15.0-185-generic",
346
- "version": "#195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026",
347
- "machine": "x86_64",
348
- "processor": "x86_64",
349
- "accelerator": "NVIDIA GeForce RTX 4090"
350
- },
351
- "pytorch_info": "PyTorch built with:\n - GCC 13.3\n - C++ Version: 202002\n - Intel(R) oneAPI Math Kernel Library Version 2024.2-Product Build 20240605 for Intel(R) 64 architecture applications\n - Intel(R) MKL-DNN v3.11.2 (Git Hash 03c022d3ffdcee958cfacbe720048e725fdf644c)\n - OpenMP 201511 (a.k.a. OpenMP 4.5)\n - LAPACK is enabled (usually provided by MKL)\n - NNPACK is enabled\n - CPU capability usage: AVX2\n - CUDA Runtime 13.0\n - NVCC architecture flags: -gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-gencode;arch=compute_90,code=sm_90;-gencode;arch=compute_100,code=sm_100;-gencode;arch=compute_120,code=sm_120\n - CuDNN 92.0 (built against CUDA 13.2)\n - Magma 2.6.1\n - Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, COMMIT_SHA=7661cd9c6b841b62b7f411aa52ec51f05457263b, CUDA_FLAGS= -DLIBCUDACXX_ENABLE_SIMPLIFIED_COMPLEX_OPERATIONS -Xfatbin -compress-all -DONNX_NAMESPACE=onnx_torch -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_100,code=sm_100 -gencode arch=compute_120,code=sm_120 -Xcudafe --diag_suppress=cc_clobber_ignored,--diag_suppress=field_without_dll_interface,--diag_suppress=base_class_has_different_dll_interface,--diag_suppress=dll_interface_conflict_none_assumed,--diag_suppress=dll_interface_conflict_dllexport_assumed,--diag_suppress=bad_friend_decl --expt-relaxed-constexpr --expt-extended-lambda -Xfatbin -compress-all --threads 2 -compress-mode=size -Wno-deprecated-gpu-targets --expt-extended-lambda -DCUB_WRAPPED_NAMESPACE=at_cuda_detail -DDISABLE_CUSPARSE_DEPRECATED -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -DC10_NODEPRECATED, CUDA_VERSION=13.0, CUDNN_VERSION=9.20.0, CXX_COMPILER=/opt/rh/gcc-toolset-13/root/usr/bin/c++, CXX_FLAGS= -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOROCTRACER -DLIBKINETO_NOXPUPTI=ON -DUSE_FBGEMM -DUSE_MSLK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -DC10_NODEPRECATED -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-unknown-pragmas -Wno-unused-parameter -Wno-strict-overflow -Wno-strict-aliasing -Wno-stringop-overflow -Wsuggest-override -Wno-psabi -Wno-error=old-style-cast -faligned-new -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-dangling-reference -Wno-error=dangling-reference -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, TORCH_VERSION=2.12.0, USE_CUDA=ON, USE_CUDNN=ON, USE_CUSPARSELT=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_GLOO=ON, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=1, USE_NNPACK=ON, USE_OPENMP=ON, USE_ROCM=OFF, USE_ROCM_KERNEL_ASSERT=OFF, USE_XCCL=OFF, USE_XPU=OFF, \n"
352
- }
353
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
MetaMathQA/ptuning--llama-3.2-3B-vt50-MLP-lr1e-3.json DELETED
@@ -1,352 +0,0 @@
1
- {
2
- "run_info": {
3
- "created_at": "2026-07-01T06:31:13+00:00",
4
- "total_time": 1213.1375317359925,
5
- "experiment_name": "ptuning/llama-3.2-3B-vt50-MLP-lr1e-3",
6
- "peft_branch": "main",
7
- "train_config": {
8
- "model_id": "meta-llama/Llama-3.2-3B",
9
- "dtype": "bfloat16",
10
- "max_seq_length": 768,
11
- "batch_size": 4,
12
- "batch_size_eval": 50,
13
- "max_steps": 5000,
14
- "eval_steps": 250,
15
- "compile": false,
16
- "use_gc": false,
17
- "query_template": "Question: {query} Think step by step.\nAnswer:",
18
- "seed": 0,
19
- "grad_norm_clip": 1.0,
20
- "optimizer_type": "AdamW",
21
- "optimizer_kwargs": {
22
- "lr": 0.001
23
- },
24
- "lr_scheduler": "cosine",
25
- "use_amp": false,
26
- "autocast_adapter_dtype": true,
27
- "generation_kwargs": {
28
- "max_length": 800,
29
- "max_new_tokens": 300
30
- },
31
- "attn_implementation": null,
32
- "init_kv_cache_prefix": null
33
- },
34
- "peft_config": {
35
- "task_type": "CAUSAL_LM",
36
- "peft_type": "P_TUNING",
37
- "auto_mapping": null,
38
- "peft_version": "0.19.2.dev0@UNKNOWN",
39
- "base_model_name_or_path": "meta-llama/Llama-3.2-3B",
40
- "revision": null,
41
- "inference_mode": false,
42
- "num_virtual_tokens": 50,
43
- "token_dim": 3072,
44
- "num_transformer_submodules": 1,
45
- "num_attention_heads": 24,
46
- "num_layers": 28,
47
- "modules_to_save": null,
48
- "encoder_reparameterization_type": "MLP",
49
- "encoder_hidden_size": 3072,
50
- "encoder_num_layers": 2,
51
- "encoder_dropout": 0.0
52
- },
53
- "error_msg": ""
54
- },
55
- "train_info": {
56
- "accelerator_memory_reserved_avg": 14750776190,
57
- "accelerator_memory_max": 22204645376,
58
- "accelerator_memory_reserved_99th": 20428357632,
59
- "train_time": 1036.8485383950465,
60
- "file_size": 614520,
61
- "num_trainable_params": 28474368,
62
- "num_total_params": 3241224192,
63
- "status": "success",
64
- "metrics": [
65
- {
66
- "step": 250,
67
- "valid accuracy": 0.3,
68
- "train loss": 0.8939944224357605,
69
- "train samples": 1000,
70
- "train time": 35.82512437502737,
71
- "eval time": 10.073844177997671,
72
- "tokens / sec": 5909.791066840874,
73
- "mem allocated avg": 7309444769.792,
74
- "mem reserved avg": 14892866207.744,
75
- "elapsed time": 64.39889488599147
76
- },
77
- {
78
- "step": 500,
79
- "valid accuracy": 0.28,
80
- "train loss": 0.7657690613269806,
81
- "train samples": 2000,
82
- "train time": 35.75427145490539,
83
- "eval time": 10.098102464020485,
84
- "tokens / sec": 5817.346894127908,
85
- "mem allocated avg": 7303010777.088,
86
- "mem reserved avg": 14513097146.368,
87
- "elapsed time": 112.63863867899636
88
- },
89
- {
90
- "step": 750,
91
- "valid accuracy": 0.34,
92
- "train loss": 0.728571077823639,
93
- "train samples": 3000,
94
- "train time": 36.53094967507059,
95
- "eval time": 9.911620947008487,
96
- "tokens / sec": 5869.023441958622,
97
- "mem allocated avg": 7313580834.816,
98
- "mem reserved avg": 14636963332.096,
99
- "elapsed time": 161.38983537000604
100
- },
101
- {
102
- "step": 1000,
103
- "valid accuracy": 0.4,
104
- "train loss": 0.7045905925035477,
105
- "train samples": 4000,
106
- "train time": 35.944540872907965,
107
- "eval time": 8.00756757799536,
108
- "tokens / sec": 5796.040092336429,
109
- "mem allocated avg": 7304926347.264,
110
- "mem reserved avg": 14708165836.8,
111
- "elapsed time": 207.77592266799184
112
- },
113
- {
114
- "step": 1250,
115
- "valid accuracy": 0.3,
116
- "train loss": 0.7039546686410904,
117
- "train samples": 5000,
118
- "train time": 35.91604287101654,
119
- "eval time": 7.098663012002362,
120
- "tokens / sec": 5806.263255362288,
121
- "mem allocated avg": 7305019461.632,
122
- "mem reserved avg": 14845118251.008,
123
- "elapsed time": 253.18471807800233
124
- },
125
- {
126
- "step": 1500,
127
- "valid accuracy": 0.38,
128
- "train loss": 0.6957033377885818,
129
- "train samples": 6000,
130
- "train time": 36.25313519843621,
131
- "eval time": 9.914249792986084,
132
- "tokens / sec": 5774.148879929964,
133
- "mem allocated avg": 7306861111.296,
134
- "mem reserved avg": 14650443825.152,
135
- "elapsed time": 301.8694867900049
136
- },
137
- {
138
- "step": 1750,
139
- "valid accuracy": 0.32,
140
- "train loss": 0.6876964381933213,
141
- "train samples": 7000,
142
- "train time": 36.3216554413375,
143
- "eval time": 6.474363713990897,
144
- "tokens / sec": 5763.916799941175,
145
- "mem allocated avg": 7307783305.216,
146
- "mem reserved avg": 15022319206.4,
147
- "elapsed time": 347.12181472199154
148
- },
149
- {
150
- "step": 2000,
151
- "valid accuracy": 0.34,
152
- "train loss": 0.6909883782863617,
153
- "train samples": 8000,
154
- "train time": 36.12862586573465,
155
- "eval time": 10.079137530992739,
156
- "tokens / sec": 5748.793235919455,
157
- "mem allocated avg": 7304383127.552,
158
- "mem reserved avg": 14724288741.376,
159
- "elapsed time": 395.86313636400155
160
- },
161
- {
162
- "step": 2250,
163
- "valid accuracy": 0.32,
164
- "train loss": 0.683233140707016,
165
- "train samples": 9000,
166
- "train time": 37.00546802487224,
167
- "eval time": 9.95705728197936,
168
- "tokens / sec": 5808.546992447938,
169
- "mem allocated avg": 7315459004.416,
170
- "mem reserved avg": 14968799887.36,
171
- "elapsed time": 445.25343624298694
172
- },
173
- {
174
- "step": 2500,
175
- "valid accuracy": 0.34,
176
- "train loss": 0.6816288355588913,
177
- "train samples": 10000,
178
- "train time": 35.75455765525112,
179
- "eval time": 10.050994627003092,
180
- "tokens / sec": 5760.580287021129,
181
- "mem allocated avg": 7301004111.872,
182
- "mem reserved avg": 14506419814.4,
183
- "elapsed time": 493.5193583490036
184
- },
185
- {
186
- "step": 2750,
187
- "valid accuracy": 0.36,
188
- "train loss": 0.6739110689163208,
189
- "train samples": 11000,
190
- "train time": 36.65771040355321,
191
- "eval time": 6.461153475975152,
192
- "tokens / sec": 5779.984556249386,
193
- "mem allocated avg": 7311758159.872,
194
- "mem reserved avg": 14959303983.104,
195
- "elapsed time": 539.1099112940137
196
- },
197
- {
198
- "step": 3000,
199
- "valid accuracy": 0.36,
200
- "train loss": 0.666211401462555,
201
- "train samples": 12000,
202
- "train time": 36.22247461407096,
203
- "eval time": 9.90093484299723,
204
- "tokens / sec": 5762.4721177640495,
205
- "mem allocated avg": 7306837633.024,
206
- "mem reserved avg": 14876651028.48,
207
- "elapsed time": 587.7428188080085
208
- },
209
- {
210
- "step": 3250,
211
- "valid accuracy": 0.4,
212
- "train loss": 0.6753370553255081,
213
- "train samples": 13000,
214
- "train time": 36.267065661319066,
215
- "eval time": 6.997407575021498,
216
- "tokens / sec": 5815.22094920787,
217
- "mem allocated avg": 7308324284.416,
218
- "mem reserved avg": 14763698421.76,
219
- "elapsed time": 633.3630509219947
220
- },
221
- {
222
- "step": 3500,
223
- "valid accuracy": 0.36,
224
- "train loss": 0.6598643933534623,
225
- "train samples": 14000,
226
- "train time": 36.3332851199375,
227
- "eval time": 8.388575849996414,
228
- "tokens / sec": 5772.943440363501,
229
- "mem allocated avg": 7307028889.6,
230
- "mem reserved avg": 14673487331.328,
231
- "elapsed time": 680.5796030820056
232
- },
233
- {
234
- "step": 3750,
235
- "valid accuracy": 0.36,
236
- "train loss": 0.657373480796814,
237
- "train samples": 15000,
238
- "train time": 37.1786705829727,
239
- "eval time": 5.97776805300964,
240
- "tokens / sec": 5828.691467500908,
241
- "mem allocated avg": 7318995214.336,
242
- "mem reserved avg": 14927376941.056,
243
- "elapsed time": 726.1502790729865
244
- },
245
- {
246
- "step": 4000,
247
- "valid accuracy": 0.42,
248
- "train loss": 0.6716070612668991,
249
- "train samples": 16000,
250
- "train time": 35.672596014803275,
251
- "eval time": 7.174363945989171,
252
- "tokens / sec": 5729.131681787053,
253
- "mem allocated avg": 7300470390.784,
254
- "mem reserved avg": 14715841413.12,
255
- "elapsed time": 771.4763409139996
256
- },
257
- {
258
- "step": 4250,
259
- "valid accuracy": 0.36,
260
- "train loss": 0.654036686182022,
261
- "train samples": 17000,
262
- "train time": 36.42060951096937,
263
- "eval time": 10.011166092008352,
264
- "tokens / sec": 5804.103853240914,
265
- "mem allocated avg": 7309944072.192,
266
- "mem reserved avg": 14709793226.752,
267
- "elapsed time": 820.2551248139935
268
- },
269
- {
270
- "step": 4500,
271
- "valid accuracy": 0.38,
272
- "train loss": 0.6614194496870041,
273
- "train samples": 18000,
274
- "train time": 35.99739089809009,
275
- "eval time": 9.344737695006188,
276
- "tokens / sec": 5773.140630895729,
277
- "mem allocated avg": 7303833925.632,
278
- "mem reserved avg": 14722778791.936,
279
- "elapsed time": 868.1181147210009
280
- },
281
- {
282
- "step": 4750,
283
- "valid accuracy": 0.42,
284
- "train loss": 0.6527535218000412,
285
- "train samples": 19000,
286
- "train time": 36.4203205309459,
287
- "eval time": 7.0326879719796125,
288
- "tokens / sec": 5764.336967370109,
289
- "mem allocated avg": 7307458248.704,
290
- "mem reserved avg": 14665165832.192,
291
- "elapsed time": 913.9405549239891
292
- },
293
- {
294
- "step": 5000,
295
- "valid accuracy": 0.48,
296
- "train loss": 0.6592182725667953,
297
- "train samples": 20000,
298
- "train time": 35.92553637881065,
299
- "eval time": 9.915976137999678,
300
- "tokens / sec": 5797.547399260162,
301
- "mem allocated avg": 7303994013.696,
302
- "mem reserved avg": 14532944592.896,
303
- "elapsed time": 962.1836511259899
304
- },
305
- {
306
- "step": 5000,
307
- "test accuracy": 0.36694465504169826,
308
- "train loss": 0.6592182725667953,
309
- "train samples": 20000,
310
- "train total tokens": 4198051,
311
- "forgetting": 4.0564727783203125
312
- }
313
- ]
314
- },
315
- "meta_info": {
316
- "model_info": {
317
- "sha": "13afe5124825b4f3751f836b40dafda64c1ed062",
318
- "created_at": "2024-09-18T15:23:48+00:00"
319
- },
320
- "dataset_info": {
321
- "metamath": {
322
- "sha": "aa4f34d3d2d3231299b5b03d9b3e5a20da45aa18",
323
- "created_at": "2023-09-21T17:22:46+00:00"
324
- },
325
- "gsm8k": {
326
- "sha": "740312add88f781978c0658806c59bc2815b9866",
327
- "created_at": "2022-04-12T10:22:10+00:00"
328
- }
329
- },
330
- "package_info": {
331
- "transformers-version": "5.12.1",
332
- "transformers-commit-hash": null,
333
- "peft-version": "0.19.2.dev0",
334
- "peft-commit-hash": "02973be18fad9e2583027264b60233218f312ecd",
335
- "datasets-version": "5.0.0",
336
- "datasets-commit-hash": null,
337
- "bitsandbytes-version": "0.49.2",
338
- "bitsandbytes-commit-hash": null,
339
- "torch-version": "2.12.0+cu130",
340
- "torch-commit-hash": null
341
- },
342
- "system_info": {
343
- "system": "Linux",
344
- "release": "6.8.0-90-generic",
345
- "version": "#91~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 20 15:20:45 UTC 2",
346
- "machine": "x86_64",
347
- "processor": "x86_64",
348
- "accelerator": "NVIDIA GeForce RTX 4090"
349
- },
350
- "pytorch_info": "PyTorch built with:\n - GCC 13.3\n - C++ Version: 202002\n - Intel(R) oneAPI Math Kernel Library Version 2024.2-Product Build 20240605 for Intel(R) 64 architecture applications\n - Intel(R) MKL-DNN v3.11.2 (Git Hash 03c022d3ffdcee958cfacbe720048e725fdf644c)\n - OpenMP 201511 (a.k.a. OpenMP 4.5)\n - LAPACK is enabled (usually provided by MKL)\n - NNPACK is enabled\n - CPU capability usage: AVX2\n - CUDA Runtime 13.0\n - NVCC architecture flags: -gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-gencode;arch=compute_90,code=sm_90;-gencode;arch=compute_100,code=sm_100;-gencode;arch=compute_120,code=sm_120\n - CuDNN 92.0 (built against CUDA 13.2)\n - Magma 2.6.1\n - Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, COMMIT_SHA=7661cd9c6b841b62b7f411aa52ec51f05457263b, CUDA_FLAGS= -DLIBCUDACXX_ENABLE_SIMPLIFIED_COMPLEX_OPERATIONS -Xfatbin -compress-all -DONNX_NAMESPACE=onnx_torch -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_100,code=sm_100 -gencode arch=compute_120,code=sm_120 -Xcudafe --diag_suppress=cc_clobber_ignored,--diag_suppress=field_without_dll_interface,--diag_suppress=base_class_has_different_dll_interface,--diag_suppress=dll_interface_conflict_none_assumed,--diag_suppress=dll_interface_conflict_dllexport_assumed,--diag_suppress=bad_friend_decl --expt-relaxed-constexpr --expt-extended-lambda -Xfatbin -compress-all --threads 2 -compress-mode=size -Wno-deprecated-gpu-targets --expt-extended-lambda -DCUB_WRAPPED_NAMESPACE=at_cuda_detail -DDISABLE_CUSPARSE_DEPRECATED -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -DC10_NODEPRECATED, CUDA_VERSION=13.0, CUDNN_VERSION=9.20.0, CXX_COMPILER=/opt/rh/gcc-toolset-13/root/usr/bin/c++, CXX_FLAGS= -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOROCTRACER -DLIBKINETO_NOXPUPTI=ON -DUSE_FBGEMM -DUSE_MSLK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -DC10_NODEPRECATED -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-unknown-pragmas -Wno-unused-parameter -Wno-strict-overflow -Wno-strict-aliasing -Wno-stringop-overflow -Wsuggest-override -Wno-psabi -Wno-error=old-style-cast -faligned-new -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-dangling-reference -Wno-error=dangling-reference -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, TORCH_VERSION=2.12.0, USE_CUDA=ON, USE_CUDNN=ON, USE_CUSPARSELT=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_GLOO=ON, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=1, USE_NNPACK=ON, USE_OPENMP=ON, USE_ROCM=OFF, USE_ROCM_KERNEL_ASSERT=OFF, USE_XCCL=OFF, USE_XPU=OFF, \n"
351
- }
352
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
MetaMathQA/ptuning--llama-3.2-3B-vt50-MLP-lr5e-3.json DELETED
@@ -1,352 +0,0 @@
1
- {
2
- "run_info": {
3
- "created_at": "2026-07-01T07:00:52+00:00",
4
- "total_time": 1217.8010101249965,
5
- "experiment_name": "ptuning/llama-3.2-3B-vt50-MLP-lr5e-3",
6
- "peft_branch": "main",
7
- "train_config": {
8
- "model_id": "meta-llama/Llama-3.2-3B",
9
- "dtype": "bfloat16",
10
- "max_seq_length": 768,
11
- "batch_size": 4,
12
- "batch_size_eval": 50,
13
- "max_steps": 5000,
14
- "eval_steps": 250,
15
- "compile": false,
16
- "use_gc": false,
17
- "query_template": "Question: {query} Think step by step.\nAnswer:",
18
- "seed": 0,
19
- "grad_norm_clip": 1.0,
20
- "optimizer_type": "AdamW",
21
- "optimizer_kwargs": {
22
- "lr": 0.005
23
- },
24
- "lr_scheduler": "cosine",
25
- "use_amp": false,
26
- "autocast_adapter_dtype": true,
27
- "generation_kwargs": {
28
- "max_length": 800,
29
- "max_new_tokens": 300
30
- },
31
- "attn_implementation": null,
32
- "init_kv_cache_prefix": null
33
- },
34
- "peft_config": {
35
- "task_type": "CAUSAL_LM",
36
- "peft_type": "P_TUNING",
37
- "auto_mapping": null,
38
- "peft_version": "0.19.2.dev0@UNKNOWN",
39
- "base_model_name_or_path": "meta-llama/Llama-3.2-3B",
40
- "revision": null,
41
- "inference_mode": false,
42
- "num_virtual_tokens": 50,
43
- "token_dim": 3072,
44
- "num_transformer_submodules": 1,
45
- "num_attention_heads": 24,
46
- "num_layers": 28,
47
- "modules_to_save": null,
48
- "encoder_reparameterization_type": "MLP",
49
- "encoder_hidden_size": 3072,
50
- "encoder_num_layers": 2,
51
- "encoder_dropout": 0.0
52
- },
53
- "error_msg": ""
54
- },
55
- "train_info": {
56
- "accelerator_memory_reserved_avg": 14753152263,
57
- "accelerator_memory_max": 22204645376,
58
- "accelerator_memory_reserved_99th": 20428357632,
59
- "train_time": 1029.7820923980034,
60
- "file_size": 614520,
61
- "num_trainable_params": 28474368,
62
- "num_total_params": 3241224192,
63
- "status": "success",
64
- "metrics": [
65
- {
66
- "step": 250,
67
- "valid accuracy": 0.12,
68
- "train loss": 0.8555094628334046,
69
- "train samples": 1000,
70
- "train time": 35.85137379690423,
71
- "eval time": 10.199397451011464,
72
- "tokens / sec": 5905.464075083281,
73
- "mem allocated avg": 7309444769.792,
74
- "mem reserved avg": 14892866207.744,
75
- "elapsed time": 64.8755607100029
76
- },
77
- {
78
- "step": 500,
79
- "valid accuracy": 0.32,
80
- "train loss": 0.7614331521987915,
81
- "train samples": 2000,
82
- "train time": 35.56839666242013,
83
- "eval time": 9.910280911979498,
84
- "tokens / sec": 5847.747425167398,
85
- "mem allocated avg": 7303010777.088,
86
- "mem reserved avg": 14513097146.368,
87
- "elapsed time": 112.7274315149989
88
- },
89
- {
90
- "step": 750,
91
- "valid accuracy": 0.3,
92
- "train loss": 0.7213665727376938,
93
- "train samples": 3000,
94
- "train time": 36.56926804804243,
95
- "eval time": 9.971691955986898,
96
- "tokens / sec": 5862.873703633699,
97
- "mem allocated avg": 7313580834.816,
98
- "mem reserved avg": 14636963332.096,
99
- "elapsed time": 161.59096823597793
100
- },
101
- {
102
- "step": 1000,
103
- "valid accuracy": 0.3,
104
- "train loss": 0.7033745880126954,
105
- "train samples": 4000,
106
- "train time": 35.96135858510388,
107
- "eval time": 9.92101417799131,
108
- "tokens / sec": 5793.329512481158,
109
- "mem allocated avg": 7304926347.264,
110
- "mem reserved avg": 14708165836.8,
111
- "elapsed time": 209.91149750500335
112
- },
113
- {
114
- "step": 1250,
115
- "valid accuracy": 0.36,
116
- "train loss": 0.7029182990789413,
117
- "train samples": 5000,
118
- "train time": 35.83780645477236,
119
- "eval time": 10.019560440996429,
120
- "tokens / sec": 5818.93873061614,
121
- "mem allocated avg": 7305019461.632,
122
- "mem reserved avg": 14845118251.008,
123
- "elapsed time": 258.15060135300155
124
- },
125
- {
126
- "step": 1500,
127
- "valid accuracy": 0.4,
128
- "train loss": 0.6964308704137803,
129
- "train samples": 6000,
130
- "train time": 36.21187603412545,
131
- "eval time": 10.001915690983878,
132
- "tokens / sec": 5780.7278419579825,
133
- "mem allocated avg": 7306861111.296,
134
- "mem reserved avg": 14650443825.152,
135
- "elapsed time": 306.8930205789802
136
- },
137
- {
138
- "step": 1750,
139
- "valid accuracy": 0.32,
140
- "train loss": 0.6913636869192124,
141
- "train samples": 7000,
142
- "train time": 36.299369902320905,
143
- "eval time": 9.905490600998746,
144
- "tokens / sec": 5767.455483755223,
145
- "mem allocated avg": 7307783305.216,
146
- "mem reserved avg": 15022319206.4,
147
- "elapsed time": 355.55441494999104
148
- },
149
- {
150
- "step": 2000,
151
- "valid accuracy": 0.28,
152
- "train loss": 0.6942930264472962,
153
- "train samples": 8000,
154
- "train time": 35.98092826092034,
155
- "eval time": 9.915651136019733,
156
- "tokens / sec": 5772.391376172001,
157
- "mem allocated avg": 7304320778.24,
158
- "mem reserved avg": 14774016409.6,
159
- "elapsed time": 403.95992209698306
160
- },
161
- {
162
- "step": 2250,
163
- "valid accuracy": 0.36,
164
- "train loss": 0.6876053595542908,
165
- "train samples": 9000,
166
- "train time": 37.06889635126572,
167
- "eval time": 10.021580134984106,
168
- "tokens / sec": 5798.608028767509,
169
- "mem allocated avg": 7315318763.52,
170
- "mem reserved avg": 14955420057.6,
171
- "elapsed time": 453.478056174994
172
- },
173
- {
174
- "step": 2500,
175
- "valid accuracy": 0.38,
176
- "train loss": 0.6850743471384049,
177
- "train samples": 10000,
178
- "train time": 35.693450052058324,
179
- "eval time": 9.98401257902151,
180
- "tokens / sec": 5770.442467724482,
181
- "mem allocated avg": 7301149323.264,
182
- "mem reserved avg": 14488627576.832,
183
- "elapsed time": 501.58775900499313
184
- },
185
- {
186
- "step": 2750,
187
- "valid accuracy": 0.36,
188
- "train loss": 0.6785946444272996,
189
- "train samples": 11000,
190
- "train time": 36.630218399630394,
191
- "eval time": 10.036885927984258,
192
- "tokens / sec": 5784.322596398659,
193
- "mem allocated avg": 7311674300.416,
194
- "mem reserved avg": 14942551932.928,
195
- "elapsed time": 550.7442475239804
196
- },
197
- {
198
- "step": 3000,
199
- "valid accuracy": 0.3,
200
- "train loss": 0.6711985548734665,
201
- "train samples": 12000,
202
- "train time": 36.30712951908936,
203
- "eval time": 9.915486376004992,
204
- "tokens / sec": 5749.036147026016,
205
- "mem allocated avg": 7306745915.392,
206
- "mem reserved avg": 14922368942.08,
207
- "elapsed time": 599.502809875994
208
- },
209
- {
210
- "step": 3250,
211
- "valid accuracy": 0.42,
212
- "train loss": 0.6797376515865325,
213
- "train samples": 13000,
214
- "train time": 36.31324738584226,
215
- "eval time": 9.915928879985586,
216
- "tokens / sec": 5807.8253855706025,
217
- "mem allocated avg": 7308324284.416,
218
- "mem reserved avg": 14763698421.76,
219
- "elapsed time": 648.1008756539959
220
- },
221
- {
222
- "step": 3500,
223
- "valid accuracy": 0.32,
224
- "train loss": 0.6659102200269699,
225
- "train samples": 14000,
226
- "train time": 36.316436834138585,
227
- "eval time": 9.99347340699751,
228
- "tokens / sec": 5775.621682213836,
229
- "mem allocated avg": 7307028889.6,
230
- "mem reserved avg": 14673487331.328,
231
- "elapsed time": 696.9008167689899
232
- },
233
- {
234
- "step": 3750,
235
- "valid accuracy": 0.4,
236
- "train loss": 0.6623009448051452,
237
- "train samples": 15000,
238
- "train time": 37.26567734207492,
239
- "eval time": 6.6307652829855215,
240
- "tokens / sec": 5815.0828176503,
241
- "mem allocated avg": 7318995214.336,
242
- "mem reserved avg": 14927376941.056,
243
- "elapsed time": 743.2372308159829
244
- },
245
- {
246
- "step": 4000,
247
- "valid accuracy": 0.36,
248
- "train loss": 0.6768936680555344,
249
- "train samples": 16000,
250
- "train time": 35.644785020820564,
251
- "eval time": 6.08822312799748,
252
- "tokens / sec": 5733.601700238147,
253
- "mem allocated avg": 7300470390.784,
254
- "mem reserved avg": 14715841413.12,
255
- "elapsed time": 787.420050811983
256
- },
257
- {
258
- "step": 4250,
259
- "valid accuracy": 0.42,
260
- "train loss": 0.6587289227247238,
261
- "train samples": 17000,
262
- "train time": 36.425392148201354,
263
- "eval time": 9.920218591025332,
264
- "tokens / sec": 5803.341777075094,
265
- "mem allocated avg": 7309944072.192,
266
- "mem reserved avg": 14709793226.752,
267
- "elapsed time": 836.1627081699844
268
- },
269
- {
270
- "step": 4500,
271
- "valid accuracy": 0.42,
272
- "train loss": 0.665844162940979,
273
- "train samples": 18000,
274
- "train time": 36.031896430038614,
275
- "eval time": 8.943657095020171,
276
- "tokens / sec": 5767.612049049656,
277
- "mem allocated avg": 7303833925.632,
278
- "mem reserved avg": 14722778791.936,
279
- "elapsed time": 883.662610319996
280
- },
281
- {
282
- "step": 4750,
283
- "valid accuracy": 0.42,
284
- "train loss": 0.6578277311325074,
285
- "train samples": 19000,
286
- "train time": 36.29169078628183,
287
- "eval time": 6.231622669001808,
288
- "tokens / sec": 5784.767682396226,
289
- "mem allocated avg": 7307458248.704,
290
- "mem reserved avg": 14665165832.192,
291
- "elapsed time": 928.5394251639955
292
- },
293
- {
294
- "step": 5000,
295
- "valid accuracy": 0.4,
296
- "train loss": 0.6639133603572845,
297
- "train samples": 20000,
298
- "train time": 36.014907898090314,
299
- "eval time": 7.127454289002344,
300
- "tokens / sec": 5783.160700823118,
301
- "mem allocated avg": 7303994013.696,
302
- "mem reserved avg": 14532944592.896,
303
- "elapsed time": 974.0815745609871
304
- },
305
- {
306
- "step": 5000,
307
- "test accuracy": 0.354814253222138,
308
- "train loss": 0.6639133603572845,
309
- "train samples": 20000,
310
- "train total tokens": 4198051,
311
- "forgetting": 3.9880266189575195
312
- }
313
- ]
314
- },
315
- "meta_info": {
316
- "model_info": {
317
- "sha": "13afe5124825b4f3751f836b40dafda64c1ed062",
318
- "created_at": "2024-09-18T15:23:48+00:00"
319
- },
320
- "dataset_info": {
321
- "metamath": {
322
- "sha": "aa4f34d3d2d3231299b5b03d9b3e5a20da45aa18",
323
- "created_at": "2023-09-21T17:22:46+00:00"
324
- },
325
- "gsm8k": {
326
- "sha": "740312add88f781978c0658806c59bc2815b9866",
327
- "created_at": "2022-04-12T10:22:10+00:00"
328
- }
329
- },
330
- "package_info": {
331
- "transformers-version": "5.12.1",
332
- "transformers-commit-hash": null,
333
- "peft-version": "0.19.2.dev0",
334
- "peft-commit-hash": "e390c22b84bf20c718b3605ebaf141cab8202642",
335
- "datasets-version": "5.0.0",
336
- "datasets-commit-hash": null,
337
- "bitsandbytes-version": "0.49.2",
338
- "bitsandbytes-commit-hash": null,
339
- "torch-version": "2.12.0+cu130",
340
- "torch-commit-hash": null
341
- },
342
- "system_info": {
343
- "system": "Linux",
344
- "release": "6.8.0-90-generic",
345
- "version": "#91~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 20 15:20:45 UTC 2",
346
- "machine": "x86_64",
347
- "processor": "x86_64",
348
- "accelerator": "NVIDIA GeForce RTX 4090"
349
- },
350
- "pytorch_info": "PyTorch built with:\n - GCC 13.3\n - C++ Version: 202002\n - Intel(R) oneAPI Math Kernel Library Version 2024.2-Product Build 20240605 for Intel(R) 64 architecture applications\n - Intel(R) MKL-DNN v3.11.2 (Git Hash 03c022d3ffdcee958cfacbe720048e725fdf644c)\n - OpenMP 201511 (a.k.a. OpenMP 4.5)\n - LAPACK is enabled (usually provided by MKL)\n - NNPACK is enabled\n - CPU capability usage: AVX2\n - CUDA Runtime 13.0\n - NVCC architecture flags: -gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-gencode;arch=compute_90,code=sm_90;-gencode;arch=compute_100,code=sm_100;-gencode;arch=compute_120,code=sm_120\n - CuDNN 92.0 (built against CUDA 13.2)\n - Magma 2.6.1\n - Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, COMMIT_SHA=7661cd9c6b841b62b7f411aa52ec51f05457263b, CUDA_FLAGS= -DLIBCUDACXX_ENABLE_SIMPLIFIED_COMPLEX_OPERATIONS -Xfatbin -compress-all -DONNX_NAMESPACE=onnx_torch -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_100,code=sm_100 -gencode arch=compute_120,code=sm_120 -Xcudafe --diag_suppress=cc_clobber_ignored,--diag_suppress=field_without_dll_interface,--diag_suppress=base_class_has_different_dll_interface,--diag_suppress=dll_interface_conflict_none_assumed,--diag_suppress=dll_interface_conflict_dllexport_assumed,--diag_suppress=bad_friend_decl --expt-relaxed-constexpr --expt-extended-lambda -Xfatbin -compress-all --threads 2 -compress-mode=size -Wno-deprecated-gpu-targets --expt-extended-lambda -DCUB_WRAPPED_NAMESPACE=at_cuda_detail -DDISABLE_CUSPARSE_DEPRECATED -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -DC10_NODEPRECATED, CUDA_VERSION=13.0, CUDNN_VERSION=9.20.0, CXX_COMPILER=/opt/rh/gcc-toolset-13/root/usr/bin/c++, CXX_FLAGS= -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOROCTRACER -DLIBKINETO_NOXPUPTI=ON -DUSE_FBGEMM -DUSE_MSLK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -DC10_NODEPRECATED -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-unknown-pragmas -Wno-unused-parameter -Wno-strict-overflow -Wno-strict-aliasing -Wno-stringop-overflow -Wsuggest-override -Wno-psabi -Wno-error=old-style-cast -faligned-new -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-dangling-reference -Wno-error=dangling-reference -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, TORCH_VERSION=2.12.0, USE_CUDA=ON, USE_CUDNN=ON, USE_CUSPARSELT=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_GLOO=ON, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=1, USE_NNPACK=ON, USE_OPENMP=ON, USE_ROCM=OFF, USE_ROCM_KERNEL_ASSERT=OFF, USE_XCCL=OFF, USE_XPU=OFF, \n"
351
- }
352
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
MetaMathQA/ptuning--llama-3.2-3B-vt50-MLP-lr5e-5.json DELETED
@@ -1,352 +0,0 @@
1
- {
2
- "run_info": {
3
- "created_at": "2026-07-01T05:54:56+00:00",
4
- "total_time": 1325.5959430259827,
5
- "experiment_name": "ptuning/llama-3.2-3B-vt50-MLP-lr5e-5",
6
- "peft_branch": "main",
7
- "train_config": {
8
- "model_id": "meta-llama/Llama-3.2-3B",
9
- "dtype": "bfloat16",
10
- "max_seq_length": 768,
11
- "batch_size": 4,
12
- "batch_size_eval": 50,
13
- "max_steps": 5000,
14
- "eval_steps": 250,
15
- "compile": false,
16
- "use_gc": false,
17
- "query_template": "Question: {query} Think step by step.\nAnswer:",
18
- "seed": 0,
19
- "grad_norm_clip": 1.0,
20
- "optimizer_type": "AdamW",
21
- "optimizer_kwargs": {
22
- "lr": 5e-05
23
- },
24
- "lr_scheduler": "cosine",
25
- "use_amp": false,
26
- "autocast_adapter_dtype": true,
27
- "generation_kwargs": {
28
- "max_length": 800,
29
- "max_new_tokens": 300
30
- },
31
- "attn_implementation": null,
32
- "init_kv_cache_prefix": null
33
- },
34
- "peft_config": {
35
- "task_type": "CAUSAL_LM",
36
- "peft_type": "P_TUNING",
37
- "auto_mapping": null,
38
- "peft_version": "0.19.2.dev0@UNKNOWN",
39
- "base_model_name_or_path": "meta-llama/Llama-3.2-3B",
40
- "revision": null,
41
- "inference_mode": false,
42
- "num_virtual_tokens": 50,
43
- "token_dim": 3072,
44
- "num_transformer_submodules": 1,
45
- "num_attention_heads": 24,
46
- "num_layers": 28,
47
- "modules_to_save": null,
48
- "encoder_reparameterization_type": "MLP",
49
- "encoder_hidden_size": 3072,
50
- "encoder_num_layers": 2,
51
- "encoder_dropout": 0.0
52
- },
53
- "error_msg": ""
54
- },
55
- "train_info": {
56
- "accelerator_memory_reserved_avg": 14753152263,
57
- "accelerator_memory_max": 22204645376,
58
- "accelerator_memory_reserved_99th": 20428357632,
59
- "train_time": 1113.6049115190108,
60
- "file_size": 614520,
61
- "num_trainable_params": 28474368,
62
- "num_total_params": 3241224192,
63
- "status": "success",
64
- "metrics": [
65
- {
66
- "step": 250,
67
- "valid accuracy": 0.08,
68
- "train loss": 1.0313549892902374,
69
- "train samples": 1000,
70
- "train time": 35.723904531943845,
71
- "eval time": 10.031031877006171,
72
- "tokens / sec": 5926.53582451167,
73
- "mem allocated avg": 7309444769.792,
74
- "mem reserved avg": 14892866207.744,
75
- "elapsed time": 115.88588901300682
76
- },
77
- {
78
- "step": 500,
79
- "valid accuracy": 0.02,
80
- "train loss": 0.8095087568759918,
81
- "train samples": 2000,
82
- "train time": 35.544265604636166,
83
- "eval time": 9.914330987987341,
84
- "tokens / sec": 5851.717470085258,
85
- "mem allocated avg": 7303010777.088,
86
- "mem reserved avg": 14513097146.368,
87
- "elapsed time": 163.7232813849987
88
- },
89
- {
90
- "step": 750,
91
- "valid accuracy": 0.1,
92
- "train loss": 0.7724783256053924,
93
- "train samples": 3000,
94
- "train time": 36.6061558209185,
95
- "eval time": 9.900999550998677,
96
- "tokens / sec": 5856.965725897966,
97
- "mem allocated avg": 7313580834.816,
98
- "mem reserved avg": 14636963332.096,
99
- "elapsed time": 212.54644100999576
100
- },
101
- {
102
- "step": 1000,
103
- "valid accuracy": 0.0,
104
- "train loss": 0.7462414875030517,
105
- "train samples": 4000,
106
- "train time": 35.97310379197006,
107
- "eval time": 10.092258746008156,
108
- "tokens / sec": 5791.437992250891,
109
- "mem allocated avg": 7304926347.264,
110
- "mem reserved avg": 14708165836.8,
111
- "elapsed time": 261.0330090589996
112
- },
113
- {
114
- "step": 1250,
115
- "valid accuracy": 0.12,
116
- "train loss": 0.7396039123535156,
117
- "train samples": 5000,
118
- "train time": 35.96643319912255,
119
- "eval time": 9.919816087989602,
120
- "tokens / sec": 5798.1284617649435,
121
- "mem allocated avg": 7305019461.632,
122
- "mem reserved avg": 14845118251.008,
123
- "elapsed time": 309.33319281201693
124
- },
125
- {
126
- "step": 1500,
127
- "valid accuracy": 0.1,
128
- "train loss": 0.7258432639837264,
129
- "train samples": 6000,
130
- "train time": 36.29043613522663,
131
- "eval time": 10.010930726013612,
132
- "tokens / sec": 5768.213950914888,
133
- "mem allocated avg": 7306861111.296,
134
- "mem reserved avg": 14650443825.152,
135
- "elapsed time": 358.1597148909932
136
- },
137
- {
138
- "step": 1750,
139
- "valid accuracy": 0.18,
140
- "train loss": 0.7163837015628814,
141
- "train samples": 7000,
142
- "train time": 36.33962430100655,
143
- "eval time": 9.916795682976954,
144
- "tokens / sec": 5761.066715106385,
145
- "mem allocated avg": 7307783305.216,
146
- "mem reserved avg": 15022319206.4,
147
- "elapsed time": 406.85831744299503
148
- },
149
- {
150
- "step": 2000,
151
- "valid accuracy": 0.3,
152
- "train loss": 0.7135137581825256,
153
- "train samples": 8000,
154
- "train time": 36.04737422184553,
155
- "eval time": 9.908883731986862,
156
- "tokens / sec": 5761.751153406661,
157
- "mem allocated avg": 7304320778.24,
158
- "mem reserved avg": 14774016409.6,
159
- "elapsed time": 455.3342518869904
160
- },
161
- {
162
- "step": 2250,
163
- "valid accuracy": 0.28,
164
- "train loss": 0.7062074838876724,
165
- "train samples": 9000,
166
- "train time": 36.97540899395244,
167
- "eval time": 10.030416852008784,
168
- "tokens / sec": 5813.269030645641,
169
- "mem allocated avg": 7315318763.52,
170
- "mem reserved avg": 14955420057.6,
171
- "elapsed time": 504.7872484539985
172
- },
173
- {
174
- "step": 2500,
175
- "valid accuracy": 0.28,
176
- "train loss": 0.7037104018926621,
177
- "train samples": 10000,
178
- "train time": 35.75819702979061,
179
- "eval time": 9.925909476005472,
180
- "tokens / sec": 5759.993990424246,
181
- "mem allocated avg": 7301149323.264,
182
- "mem reserved avg": 14488627576.832,
183
- "elapsed time": 552.9260756930162
184
- },
185
- {
186
- "step": 2750,
187
- "valid accuracy": 0.1,
188
- "train loss": 0.695045065164566,
189
- "train samples": 11000,
190
- "train time": 36.76619625516469,
191
- "eval time": 9.944942692003679,
192
- "tokens / sec": 5762.9295815510495,
193
- "mem allocated avg": 7311674300.416,
194
- "mem reserved avg": 14942551932.928,
195
- "elapsed time": 602.1679049750092
196
- },
197
- {
198
- "step": 3000,
199
- "valid accuracy": 0.06,
200
- "train loss": 0.6885745447874069,
201
- "train samples": 12000,
202
- "train time": 36.17643003768171,
203
- "eval time": 9.89490892199683,
204
- "tokens / sec": 5769.806467431525,
205
- "mem allocated avg": 7306745915.392,
206
- "mem reserved avg": 14922368942.08,
207
- "elapsed time": 650.7650499030133
208
- },
209
- {
210
- "step": 3250,
211
- "valid accuracy": 0.24,
212
- "train loss": 0.6949721579551696,
213
- "train samples": 13000,
214
- "train time": 36.288303180306684,
215
- "eval time": 7.917344357003458,
216
- "tokens / sec": 5811.817624871861,
217
- "mem allocated avg": 7308324284.416,
218
- "mem reserved avg": 14763698421.76,
219
- "elapsed time": 697.3301032750169
220
- },
221
- {
222
- "step": 3500,
223
- "valid accuracy": 0.18,
224
- "train loss": 0.6815348329544068,
225
- "train samples": 14000,
226
- "train time": 36.27739872696111,
227
- "eval time": 9.895855661015958,
228
- "tokens / sec": 5781.836828452511,
229
- "mem allocated avg": 7307028889.6,
230
- "mem reserved avg": 14673487331.328,
231
- "elapsed time": 745.9850295080105
232
- },
233
- {
234
- "step": 3750,
235
- "valid accuracy": 0.2,
236
- "train loss": 0.6767042907476425,
237
- "train samples": 15000,
238
- "train time": 37.175234996073414,
239
- "eval time": 9.897059137001634,
240
- "tokens / sec": 5829.230131911445,
241
- "mem allocated avg": 7318995214.336,
242
- "mem reserved avg": 14927376941.056,
243
- "elapsed time": 795.4740971440042
244
- },
245
- {
246
- "step": 4000,
247
- "valid accuracy": 0.3,
248
- "train loss": 0.6919913440942764,
249
- "train samples": 16000,
250
- "train time": 35.65538451215252,
251
- "eval time": 10.031130649003899,
252
- "tokens / sec": 5731.897237858787,
253
- "mem allocated avg": 7300470390.784,
254
- "mem reserved avg": 14715841413.12,
255
- "elapsed time": 843.6182897959952
256
- },
257
- {
258
- "step": 4250,
259
- "valid accuracy": 0.38,
260
- "train loss": 0.6734701672792435,
261
- "train samples": 17000,
262
- "train time": 36.324834284285316,
263
- "eval time": 9.906978653016267,
264
- "tokens / sec": 5819.407140184811,
265
- "mem allocated avg": 7309944072.192,
266
- "mem reserved avg": 14709793226.752,
267
- "elapsed time": 892.1824630350166
268
- },
269
- {
270
- "step": 4500,
271
- "valid accuracy": 0.22,
272
- "train loss": 0.6816293342113495,
273
- "train samples": 18000,
274
- "train time": 36.00603464478627,
275
- "eval time": 9.91252873200574,
276
- "tokens / sec": 5771.75470862611,
277
- "mem allocated avg": 7303833925.632,
278
- "mem reserved avg": 14722778791.936,
279
- "elapsed time": 940.6340228409972
280
- },
281
- {
282
- "step": 4750,
283
- "valid accuracy": 0.32,
284
- "train loss": 0.6723749524354935,
285
- "train samples": 19000,
286
- "train time": 36.34486310466309,
287
- "eval time": 9.924655996990623,
288
- "tokens / sec": 5776.304601710402,
289
- "mem allocated avg": 7307458248.704,
290
- "mem reserved avg": 14665165832.192,
291
- "elapsed time": 989.2675137660117
292
- },
293
- {
294
- "step": 5000,
295
- "valid accuracy": 0.38,
296
- "train loss": 0.678697298526764,
297
- "train samples": 20000,
298
- "train time": 35.95660388888791,
299
- "eval time": 10.044164422986796,
300
- "tokens / sec": 5792.53815637375,
301
- "mem allocated avg": 7303994013.696,
302
- "mem reserved avg": 14532944592.896,
303
- "elapsed time": 1037.6695654990035
304
- },
305
- {
306
- "step": 5000,
307
- "test accuracy": 0.3055344958301744,
308
- "train loss": 0.678697298526764,
309
- "train samples": 20000,
310
- "train total tokens": 4198051,
311
- "forgetting": 3.8238143920898438
312
- }
313
- ]
314
- },
315
- "meta_info": {
316
- "model_info": {
317
- "sha": "13afe5124825b4f3751f836b40dafda64c1ed062",
318
- "created_at": "2024-09-18T15:23:48+00:00"
319
- },
320
- "dataset_info": {
321
- "metamath": {
322
- "sha": "aa4f34d3d2d3231299b5b03d9b3e5a20da45aa18",
323
- "created_at": "2023-09-21T17:22:46+00:00"
324
- },
325
- "gsm8k": {
326
- "sha": "740312add88f781978c0658806c59bc2815b9866",
327
- "created_at": "2022-04-12T10:22:10+00:00"
328
- }
329
- },
330
- "package_info": {
331
- "transformers-version": "5.12.1",
332
- "transformers-commit-hash": null,
333
- "peft-version": "0.19.2.dev0",
334
- "peft-commit-hash": "9a7f8da7db81de998ad5d4802ca8852d70cead01",
335
- "datasets-version": "5.0.0",
336
- "datasets-commit-hash": null,
337
- "bitsandbytes-version": "0.49.2",
338
- "bitsandbytes-commit-hash": null,
339
- "torch-version": "2.12.0+cu130",
340
- "torch-commit-hash": null
341
- },
342
- "system_info": {
343
- "system": "Linux",
344
- "release": "6.8.0-90-generic",
345
- "version": "#91~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 20 15:20:45 UTC 2",
346
- "machine": "x86_64",
347
- "processor": "x86_64",
348
- "accelerator": "NVIDIA GeForce RTX 4090"
349
- },
350
- "pytorch_info": "PyTorch built with:\n - GCC 13.3\n - C++ Version: 202002\n - Intel(R) oneAPI Math Kernel Library Version 2024.2-Product Build 20240605 for Intel(R) 64 architecture applications\n - Intel(R) MKL-DNN v3.11.2 (Git Hash 03c022d3ffdcee958cfacbe720048e725fdf644c)\n - OpenMP 201511 (a.k.a. OpenMP 4.5)\n - LAPACK is enabled (usually provided by MKL)\n - NNPACK is enabled\n - CPU capability usage: AVX2\n - CUDA Runtime 13.0\n - NVCC architecture flags: -gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-gencode;arch=compute_90,code=sm_90;-gencode;arch=compute_100,code=sm_100;-gencode;arch=compute_120,code=sm_120\n - CuDNN 92.0 (built against CUDA 13.2)\n - Magma 2.6.1\n - Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, COMMIT_SHA=7661cd9c6b841b62b7f411aa52ec51f05457263b, CUDA_FLAGS= -DLIBCUDACXX_ENABLE_SIMPLIFIED_COMPLEX_OPERATIONS -Xfatbin -compress-all -DONNX_NAMESPACE=onnx_torch -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_100,code=sm_100 -gencode arch=compute_120,code=sm_120 -Xcudafe --diag_suppress=cc_clobber_ignored,--diag_suppress=field_without_dll_interface,--diag_suppress=base_class_has_different_dll_interface,--diag_suppress=dll_interface_conflict_none_assumed,--diag_suppress=dll_interface_conflict_dllexport_assumed,--diag_suppress=bad_friend_decl --expt-relaxed-constexpr --expt-extended-lambda -Xfatbin -compress-all --threads 2 -compress-mode=size -Wno-deprecated-gpu-targets --expt-extended-lambda -DCUB_WRAPPED_NAMESPACE=at_cuda_detail -DDISABLE_CUSPARSE_DEPRECATED -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -DC10_NODEPRECATED, CUDA_VERSION=13.0, CUDNN_VERSION=9.20.0, CXX_COMPILER=/opt/rh/gcc-toolset-13/root/usr/bin/c++, CXX_FLAGS= -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOROCTRACER -DLIBKINETO_NOXPUPTI=ON -DUSE_FBGEMM -DUSE_MSLK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -DC10_NODEPRECATED -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-unknown-pragmas -Wno-unused-parameter -Wno-strict-overflow -Wno-strict-aliasing -Wno-stringop-overflow -Wsuggest-override -Wno-psabi -Wno-error=old-style-cast -faligned-new -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-dangling-reference -Wno-error=dangling-reference -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, TORCH_VERSION=2.12.0, USE_CUDA=ON, USE_CUDNN=ON, USE_CUSPARSELT=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_GLOO=ON, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=1, USE_NNPACK=ON, USE_OPENMP=ON, USE_ROCM=OFF, USE_ROCM_KERNEL_ASSERT=OFF, USE_XCCL=OFF, USE_XPU=OFF, \n"
351
- }
352
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
MetaMathQA/ptuning--llama-3.2-3B-vt50-MLP.json DELETED
@@ -1,353 +0,0 @@
1
- {
2
- "run_info": {
3
- "created_at": "2026-06-25T14:16:41+00:00",
4
- "total_time": 1187.580871684011,
5
- "experiment_name": "ptuning/llama-3.2-3B-vt50-MLP",
6
- "peft_branch": "main",
7
- "train_config": {
8
- "model_id": "meta-llama/Llama-3.2-3B",
9
- "dtype": "bfloat16",
10
- "max_seq_length": 768,
11
- "batch_size": 4,
12
- "batch_size_eval": 50,
13
- "max_steps": 5000,
14
- "eval_steps": 250,
15
- "compile": false,
16
- "use_gc": false,
17
- "query_template": "Question: {query} Think step by step.\nAnswer:",
18
- "seed": 0,
19
- "grad_norm_clip": 1.0,
20
- "optimizer_type": "AdamW",
21
- "optimizer_kwargs": {
22
- "lr": 0.0001,
23
- "weight_decay": 0.1
24
- },
25
- "lr_scheduler": "cosine",
26
- "use_amp": false,
27
- "autocast_adapter_dtype": true,
28
- "generation_kwargs": {
29
- "max_length": 800,
30
- "max_new_tokens": 300
31
- },
32
- "attn_implementation": null,
33
- "init_kv_cache_prefix": null
34
- },
35
- "peft_config": {
36
- "task_type": "CAUSAL_LM",
37
- "peft_type": "P_TUNING",
38
- "auto_mapping": null,
39
- "peft_version": "0.19.2.dev0@UNKNOWN",
40
- "base_model_name_or_path": "meta-llama/Llama-3.2-3B",
41
- "revision": null,
42
- "inference_mode": false,
43
- "num_virtual_tokens": 50,
44
- "token_dim": 3072,
45
- "num_transformer_submodules": 1,
46
- "num_attention_heads": 24,
47
- "num_layers": 28,
48
- "modules_to_save": null,
49
- "encoder_reparameterization_type": "MLP",
50
- "encoder_hidden_size": 3072,
51
- "encoder_num_layers": 2,
52
- "encoder_dropout": 0.0
53
- },
54
- "error_msg": ""
55
- },
56
- "train_info": {
57
- "accelerator_memory_reserved_avg": 14750776190,
58
- "accelerator_memory_max": 22204645376,
59
- "accelerator_memory_reserved_99th": 20428357632,
60
- "train_time": 1010.8743848598097,
61
- "file_size": 614520,
62
- "num_trainable_params": 28474368,
63
- "num_total_params": 3241224192,
64
- "status": "success",
65
- "metrics": [
66
- {
67
- "step": 250,
68
- "valid accuracy": 0.14,
69
- "train loss": 0.9848673729896545,
70
- "train samples": 1000,
71
- "train time": 34.98505723965354,
72
- "eval time": 9.99676610995084,
73
- "tokens / sec": 6051.697973500204,
74
- "mem allocated avg": 7309444769.792,
75
- "mem reserved avg": 14892866207.744,
76
- "elapsed time": 62.244462973903865
77
- },
78
- {
79
- "step": 500,
80
- "valid accuracy": 0.22,
81
- "train loss": 0.799057240486145,
82
- "train samples": 2000,
83
- "train time": 34.88942794734612,
84
- "eval time": 9.849827846046537,
85
- "tokens / sec": 5961.5480171786885,
86
- "mem allocated avg": 7303010777.088,
87
- "mem reserved avg": 14513097146.368,
88
- "elapsed time": 109.26378811709583
89
- },
90
- {
91
- "step": 750,
92
- "valid accuracy": 0.36,
93
- "train loss": 0.758115061879158,
94
- "train samples": 3000,
95
- "train time": 35.77429200033657,
96
- "eval time": 9.828197933966294,
97
- "tokens / sec": 5993.158438970165,
98
- "mem allocated avg": 7313580834.816,
99
- "mem reserved avg": 14636963332.096,
100
- "elapsed time": 157.5186764819082
101
- },
102
- {
103
- "step": 1000,
104
- "valid accuracy": 0.34,
105
- "train loss": 0.7289376347064972,
106
- "train samples": 4000,
107
- "train time": 35.046438679564744,
108
- "eval time": 9.845785265089944,
109
- "tokens / sec": 5944.569772262732,
110
- "mem allocated avg": 7304926347.264,
111
- "mem reserved avg": 14708165836.8,
112
- "elapsed time": 204.7628760500811
113
- },
114
- {
115
- "step": 1250,
116
- "valid accuracy": 0.26,
117
- "train loss": 0.7213420255184173,
118
- "train samples": 5000,
119
- "train time": 35.13815849763341,
120
- "eval time": 9.83495028782636,
121
- "tokens / sec": 5934.801620695212,
122
- "mem allocated avg": 7305019461.632,
123
- "mem reserved avg": 14845118251.008,
124
- "elapsed time": 252.16518334206194
125
- },
126
- {
127
- "step": 1500,
128
- "valid accuracy": 0.28,
129
- "train loss": 0.7093797615766525,
130
- "train samples": 6000,
131
- "train time": 35.23495648638345,
132
- "eval time": 8.178562826942652,
133
- "tokens / sec": 5941.003505450502,
134
- "mem allocated avg": 7306861111.296,
135
- "mem reserved avg": 14650443825.152,
136
- "elapsed time": 298.704996796092
137
- },
138
- {
139
- "step": 1750,
140
- "valid accuracy": 0.42,
141
- "train loss": 0.7009247547388077,
142
- "train samples": 7000,
143
- "train time": 35.448243242455646,
144
- "eval time": 6.152927630813792,
145
- "tokens / sec": 5905.93442298601,
146
- "mem allocated avg": 7307783305.216,
147
- "mem reserved avg": 15022319206.4,
148
- "elapsed time": 342.65977702406235
149
- },
150
- {
151
- "step": 2000,
152
- "valid accuracy": 0.36,
153
- "train loss": 0.7022378945350647,
154
- "train samples": 8000,
155
- "train time": 35.023517513182014,
156
- "eval time": 9.823164875851944,
157
- "tokens / sec": 5930.186764417029,
158
- "mem allocated avg": 7304383127.552,
159
- "mem reserved avg": 14724288741.376,
160
- "elapsed time": 390.2323130860459
161
- },
162
- {
163
- "step": 2250,
164
- "valid accuracy": 0.4,
165
- "train loss": 0.6948372975587845,
166
- "train samples": 9000,
167
- "train time": 35.97670590644702,
168
- "eval time": 9.842984584858641,
169
- "tokens / sec": 5974.643719715355,
170
- "mem allocated avg": 7315459004.416,
171
- "mem reserved avg": 14968799887.36,
172
- "elapsed time": 438.72397272707894
173
- },
174
- {
175
- "step": 2500,
176
- "valid accuracy": 0.32,
177
- "train loss": 0.6927290350198746,
178
- "train samples": 10000,
179
- "train time": 35.08757257997058,
180
- "eval time": 7.987744936021045,
181
- "tokens / sec": 5870.084045585256,
182
- "mem allocated avg": 7301004111.872,
183
- "mem reserved avg": 14506419814.4,
184
- "elapsed time": 484.4672777580563
185
- },
186
- {
187
- "step": 2750,
188
- "valid accuracy": 0.36,
189
- "train loss": 0.6847438111305236,
190
- "train samples": 11000,
191
- "train time": 35.630042768549174,
192
- "eval time": 6.188074267935008,
193
- "tokens / sec": 5946.6950791041,
194
- "mem allocated avg": 7311758159.872,
195
- "mem reserved avg": 14959303983.104,
196
- "elapsed time": 528.6565973460674
197
- },
198
- {
199
- "step": 3000,
200
- "valid accuracy": 0.34,
201
- "train loss": 0.6785378177165985,
202
- "train samples": 12000,
203
- "train time": 35.22064670943655,
204
- "eval time": 8.96801636298187,
205
- "tokens / sec": 5926.381810135116,
206
- "mem allocated avg": 7306837633.024,
207
- "mem reserved avg": 14876651028.48,
208
- "elapsed time": 575.5715269569773
209
- },
210
- {
211
- "step": 3250,
212
- "valid accuracy": 0.32,
213
- "train loss": 0.6858672415018081,
214
- "train samples": 13000,
215
- "train time": 35.62791796633974,
216
- "eval time": 7.249630860053003,
217
- "tokens / sec": 5919.5432132535325,
218
- "mem allocated avg": 7308324284.416,
219
- "mem reserved avg": 14763698421.76,
220
- "elapsed time": 621.039221069077
221
- },
222
- {
223
- "step": 3500,
224
- "valid accuracy": 0.48,
225
- "train loss": 0.671637071609497,
226
- "train samples": 14000,
227
- "train time": 35.37562209949829,
228
- "eval time": 6.312963296892121,
229
- "tokens / sec": 5929.2243514489255,
230
- "mem allocated avg": 7307028889.6,
231
- "mem reserved avg": 14673487331.328,
232
- "elapsed time": 665.5405941770878
233
- },
234
- {
235
- "step": 3750,
236
- "valid accuracy": 0.32,
237
- "train loss": 0.667889571070671,
238
- "train samples": 15000,
239
- "train time": 36.57185547542758,
240
- "eval time": 9.82020484493114,
241
- "tokens / sec": 5925.4034880894,
242
- "mem allocated avg": 7318995214.336,
243
- "mem reserved avg": 14927376941.056,
244
- "elapsed time": 714.2830616689753
245
- },
246
- {
247
- "step": 4000,
248
- "valid accuracy": 0.44,
249
- "train loss": 0.6836470769643783,
250
- "train samples": 16000,
251
- "train time": 34.66988317412324,
252
- "eval time": 7.146935621043667,
253
- "tokens / sec": 5894.828055046319,
254
- "mem allocated avg": 7300470390.784,
255
- "mem reserved avg": 14715841413.12,
256
- "elapsed time": 758.958012880059
257
- },
258
- {
259
- "step": 4250,
260
- "valid accuracy": 0.44,
261
- "train loss": 0.6656210062503815,
262
- "train samples": 17000,
263
- "train time": 35.417583748465404,
264
- "eval time": 9.825491457013413,
265
- "tokens / sec": 5968.476040073151,
266
- "mem allocated avg": 7309944072.192,
267
- "mem reserved avg": 14709793226.752,
268
- "elapsed time": 807.20357554988
269
- },
270
- {
271
- "step": 4500,
272
- "valid accuracy": 0.36,
273
- "train loss": 0.6724705603122711,
274
- "train samples": 18000,
275
- "train time": 35.21988031337969,
276
- "eval time": 6.9338154550641775,
277
- "tokens / sec": 5900.587910886567,
278
- "mem allocated avg": 7303833925.632,
279
- "mem reserved avg": 14722778791.936,
280
- "elapsed time": 851.8069666360971
281
- },
282
- {
283
- "step": 4750,
284
- "valid accuracy": 0.44,
285
- "train loss": 0.6646332576274872,
286
- "train samples": 19000,
287
- "train time": 35.34395982767455,
288
- "eval time": 9.840549977030605,
289
- "tokens / sec": 5939.883392341805,
290
- "mem allocated avg": 7307458248.704,
291
- "mem reserved avg": 14665165832.192,
292
- "elapsed time": 899.864475436043
293
- },
294
- {
295
- "step": 5000,
296
- "valid accuracy": 0.34,
297
- "train loss": 0.6710220981836319,
298
- "train samples": 20000,
299
- "train time": 34.99154016003013,
300
- "eval time": 9.884989776881412,
301
- "tokens / sec": 5952.295870586243,
302
- "mem allocated avg": 7303994013.696,
303
- "mem reserved avg": 14532944592.896,
304
- "elapsed time": 947.2323914049193
305
- },
306
- {
307
- "step": 5000,
308
- "test accuracy": 0.3419257012888552,
309
- "train loss": 0.6710220981836319,
310
- "train samples": 20000,
311
- "train total tokens": 4198051,
312
- "forgetting": 3.807856559753418
313
- }
314
- ]
315
- },
316
- "meta_info": {
317
- "model_info": {
318
- "sha": "13afe5124825b4f3751f836b40dafda64c1ed062",
319
- "created_at": "2024-09-18T15:23:48+00:00"
320
- },
321
- "dataset_info": {
322
- "metamath": {
323
- "sha": "aa4f34d3d2d3231299b5b03d9b3e5a20da45aa18",
324
- "created_at": "2023-09-21T17:22:46+00:00"
325
- },
326
- "gsm8k": {
327
- "sha": "740312add88f781978c0658806c59bc2815b9866",
328
- "created_at": "2022-04-12T10:22:10+00:00"
329
- }
330
- },
331
- "package_info": {
332
- "transformers-version": "5.12.1",
333
- "transformers-commit-hash": null,
334
- "peft-version": "0.19.2.dev0",
335
- "peft-commit-hash": "ed69ccdb3a42fff849f01431eed1388177443388",
336
- "datasets-version": "5.0.0",
337
- "datasets-commit-hash": null,
338
- "bitsandbytes-version": "0.49.2",
339
- "bitsandbytes-commit-hash": null,
340
- "torch-version": "2.12.0+cu130",
341
- "torch-commit-hash": null
342
- },
343
- "system_info": {
344
- "system": "Linux",
345
- "release": "6.8.0-90-generic",
346
- "version": "#91~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 20 15:20:45 UTC 2",
347
- "machine": "x86_64",
348
- "processor": "x86_64",
349
- "accelerator": "NVIDIA GeForce RTX 4090"
350
- },
351
- "pytorch_info": "PyTorch built with:\n - GCC 13.3\n - C++ Version: 202002\n - Intel(R) oneAPI Math Kernel Library Version 2024.2-Product Build 20240605 for Intel(R) 64 architecture applications\n - Intel(R) MKL-DNN v3.11.2 (Git Hash 03c022d3ffdcee958cfacbe720048e725fdf644c)\n - OpenMP 201511 (a.k.a. OpenMP 4.5)\n - LAPACK is enabled (usually provided by MKL)\n - NNPACK is enabled\n - CPU capability usage: AVX512\n - CUDA Runtime 13.0\n - NVCC architecture flags: -gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-gencode;arch=compute_90,code=sm_90;-gencode;arch=compute_100,code=sm_100;-gencode;arch=compute_120,code=sm_120\n - CuDNN 92.0 (built against CUDA 13.2)\n - Magma 2.6.1\n - Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, COMMIT_SHA=7661cd9c6b841b62b7f411aa52ec51f05457263b, CUDA_FLAGS= -DLIBCUDACXX_ENABLE_SIMPLIFIED_COMPLEX_OPERATIONS -Xfatbin -compress-all -DONNX_NAMESPACE=onnx_torch -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_100,code=sm_100 -gencode arch=compute_120,code=sm_120 -Xcudafe --diag_suppress=cc_clobber_ignored,--diag_suppress=field_without_dll_interface,--diag_suppress=base_class_has_different_dll_interface,--diag_suppress=dll_interface_conflict_none_assumed,--diag_suppress=dll_interface_conflict_dllexport_assumed,--diag_suppress=bad_friend_decl --expt-relaxed-constexpr --expt-extended-lambda -Xfatbin -compress-all --threads 2 -compress-mode=size -Wno-deprecated-gpu-targets --expt-extended-lambda -DCUB_WRAPPED_NAMESPACE=at_cuda_detail -DDISABLE_CUSPARSE_DEPRECATED -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -DC10_NODEPRECATED, CUDA_VERSION=13.0, CUDNN_VERSION=9.20.0, CXX_COMPILER=/opt/rh/gcc-toolset-13/root/usr/bin/c++, CXX_FLAGS= -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOROCTRACER -DLIBKINETO_NOXPUPTI=ON -DUSE_FBGEMM -DUSE_MSLK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -DC10_NODEPRECATED -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-unknown-pragmas -Wno-unused-parameter -Wno-strict-overflow -Wno-strict-aliasing -Wno-stringop-overflow -Wsuggest-override -Wno-psabi -Wno-error=old-style-cast -faligned-new -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-dangling-reference -Wno-error=dangling-reference -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, TORCH_VERSION=2.12.0, USE_CUDA=ON, USE_CUDNN=ON, USE_CUSPARSELT=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_GLOO=ON, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=1, USE_NNPACK=ON, USE_OPENMP=ON, USE_ROCM=OFF, USE_ROCM_KERNEL_ASSERT=OFF, USE_XCCL=OFF, USE_XPU=OFF, \n"
352
- }
353
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
imagegen/vera--flux2-klein-rank16.json DELETED
@@ -1,20 +0,0 @@
1
- {
2
- "peft_method": "vera",
3
- "base_model": "flux2-klein",
4
- "variant": "rank16",
5
- "rank": 16,
6
- "batch_size": 2,
7
- "d_initial": 0.1,
8
- "vera_dropout": 0.0,
9
- "lr": 1e-3,
10
- "test_dino_similarity": 0.6504,
11
- "test_drift": 0.2368,
12
- "comparison_baseline": {
13
- "config": "vera/flux2-klein-default (r=32)",
14
- "test_dino_similarity": 0.6627,
15
- "test_drift": 0.231
16
- },
17
- "conclusion": "No improvement over default rank 32. Similarity between rank64 and baseline, drift worse than both.",
18
- "note": "Full auto-generated metadata unavailable due to a get_git_hash failure on Kaggle (transformers installed to dist-packages, not a git checkout). Test metrics recovered manually from run logs. Also observed anomalously slow training (~36-40s/it vs normal pace) on Kaggle T4, reproduced across two separate runs; suspected Kaggle-specific infra issue, not confirmed to be rank-related (Benjamin could not reproduce the slowdown locally). Related fix: https://github.com/huggingface/peft/pull/3395",
19
- "environment": "Kaggle, single T4 GPU (16GB), PEFT branch pr-3395 (OOM fix applied)"
20
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
imagegen/vera--flux2-klein-rank64.json DELETED
@@ -1,21 +0,0 @@
1
- {
2
- "peft_method": "vera",
3
- "base_model": "flux2-klein",
4
- "variant": "rank64",
5
- "rank": 64,
6
- "batch_size": 2,
7
- "d_initial": 0.1,
8
- "vera_dropout": 0.0,
9
- "lr": 1e-3,
10
- "test_dino_similarity": 0.6469,
11
- "test_drift": 0.2272,
12
- "num_trainable_params": 896000,
13
- "comparison_baseline": {
14
- "config": "vera/flux2-klein-default (r=32)",
15
- "test_dino_similarity": 0.6627,
16
- "test_drift": 0.231
17
- },
18
- "conclusion": "No improvement over default rank 32. Similarity slightly lower, drift slightly better, but not a clear win.",
19
- "note": "Full auto-generated metadata (package/git commit info) unavailable due to a get_git_hash failure on Kaggle (transformers installed to dist-packages, not a git checkout). Test metrics recovered manually from run logs. Related fix: https://github.com/huggingface/peft/pull/3395",
20
- "environment": "Kaggle, single T4 GPU (16GB), PEFT branch pr-3395 (OOM fix applied)"
21
- }