Add superseded/exploratory BEFT and HiRA results

#7
imagegen/beft--flux2-klein-default-original.json ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run_info": {
3
+ "created_at": "2026-08-25T17:27:12+00:00",
4
+ "total_time": 1291.617277036,
5
+ "experiment_name": "beft/flux2-klein-default",
6
+ "peft_branch": "main",
7
+ "peft_worktree_is_dirty": false,
8
+ "train_config": {
9
+ "model_id": "black-forest-labs/FLUX.2-klein-base-4B",
10
+ "dataset_id": "peft-internal-testing/cat-image-dataset",
11
+ "dataset_split": "train",
12
+ "dtype": "bfloat16",
13
+ "resolution": 512,
14
+ "batch_size": 2,
15
+ "batch_size_eval": 1,
16
+ "repeats": 1000,
17
+ "max_steps": 750,
18
+ "eval_steps": 100,
19
+ "compile": false,
20
+ "use_gc": true,
21
+ "seed": 0,
22
+ "grad_norm_clip": 1.0,
23
+ "optimizer_type": "AdamW",
24
+ "optimizer_kwargs": {
25
+ "lr": 0.0001,
26
+ "weight_decay": 0.0001
27
+ },
28
+ "lr_scheduler": null,
29
+ "use_amp": false,
30
+ "autocast_adapter_dtype": true,
31
+ "instance_prompts": [
32
+ "sks cat sitting on a chair in front of a box of chocolates",
33
+ "sks cat playing on the Steam Deck",
34
+ "sks cat wearing a necklace while sitting in a box on a sofa",
35
+ "a box with four donuts in front of sks cat",
36
+ "sks cat wearing a pink veil with flowers on it and a dagger made out of yellow cardboard",
37
+ "sks cat between two pillows, with one pillow showing a polar bear and the other a fox",
38
+ "sks cat with an espresso reading the newspaper",
39
+ "a close up of a hand petting sks cat on the head",
40
+ "sks cat opens a white door",
41
+ "sks cat with a VIP \"all access\" pass",
42
+ "sks cat in front of a monitor showing the video game \"RimWorld\"",
43
+ "sks cat reads a newspaper about cannabis",
44
+ "sks cat reading the newspaper with the title \"DIE BOX\"",
45
+ "sks cat being fed sushi",
46
+ "sks cat in front of a box of tomatoes",
47
+ "a gingerbread house in front of sks cat",
48
+ "sks cat is wearing a Wednesday Addams costume",
49
+ "sks cat looks skeptical as he reads a magazine depicting a black cat",
50
+ "sks cat wearing a striped scarf",
51
+ "sleepy sks cat lying in bed covered by a blue blanket"
52
+ ],
53
+ "image_column": "image",
54
+ "valid_size": 2,
55
+ "test_size": 4,
56
+ "num_inference_steps": 20,
57
+ "guidance_scale": 3.5,
58
+ "max_sequence_length": 512,
59
+ "text_encoder_out_layers": [
60
+ 10,
61
+ 20,
62
+ 30
63
+ ],
64
+ "weighting_scheme": "none",
65
+ "logit_mean": 0.0,
66
+ "logit_std": 1.0,
67
+ "mode_scale": 1.29,
68
+ "dino_model_id": "facebook/dinov2-base",
69
+ "dino_image_size": 224,
70
+ "sample_image_prompts": [
71
+ "a photo of sks cat",
72
+ "a color drawing of sks cat",
73
+ "sks cat at the beach",
74
+ "a photo of sks dog",
75
+ "a photo of an orange cat"
76
+ ],
77
+ "drift_image_prompts": [
78
+ "a photo of cat",
79
+ "a color drawing of cat",
80
+ "cat sitting in a bathtub",
81
+ "cat looks into a mirror",
82
+ "a photo of cat next to a tree",
83
+ "the Mona Lisa but she looks angry",
84
+ "a dog holding a sign that says hello world",
85
+ "a photo of the Eiffel tower at night",
86
+ "an astronaut riding a horse",
87
+ "3d design concept of a chair that looks like an avocado"
88
+ ]
89
+ },
90
+ "peft_config": {
91
+ "task_type": null,
92
+ "peft_type": "BEFT",
93
+ "auto_mapping": null,
94
+ "peft_version": "0.20.1.dev0@UNKNOWN",
95
+ "base_model_name_or_path": null,
96
+ "revision": null,
97
+ "inference_mode": false,
98
+ "target_modules": [
99
+ "add_v_proj",
100
+ "add_q_proj",
101
+ "to_out.0",
102
+ "to_v",
103
+ "add_k_proj",
104
+ "to_qkv_mlp_proj",
105
+ "to_add_out",
106
+ "linear_in",
107
+ "linear_out",
108
+ "to_q",
109
+ "to_k"
110
+ ],
111
+ "modules_to_save": null,
112
+ "init_weights": true
113
+ },
114
+ "error_msg": ""
115
+ },
116
+ "train_info": {
117
+ "accelerator_memory_reserved_avg": 9808709855,
118
+ "accelerator_memory_max": 9917431808,
119
+ "accelerator_memory_reserved_99th": 9917431808,
120
+ "train_time": 989.8287125469988,
121
+ "file_size": 3574312,
122
+ "num_trainable_params": 890880,
123
+ "num_total_params": 3876435456,
124
+ "status": "success",
125
+ "metrics": [
126
+ {
127
+ "step": 100,
128
+ "valid dino_similarity": 0.28631722927093506,
129
+ "train loss": 0.7756896615028381,
130
+ "train samples": 200,
131
+ "train time": 101.27360424199651,
132
+ "eval time": 12.660498277999977,
133
+ "mem allocated avg": 8310605056.0,
134
+ "mem reserved avg": 9917096263.68,
135
+ "elapsed time": 139.87351126700014
136
+ },
137
+ {
138
+ "step": 200,
139
+ "valid dino_similarity": 0.37159696221351624,
140
+ "train loss": 0.7912064790725708,
141
+ "train samples": 400,
142
+ "train time": 102.41073166400747,
143
+ "eval time": 12.526629420000063,
144
+ "mem allocated avg": 8310657280.0,
145
+ "mem reserved avg": 9791539773.44,
146
+ "elapsed time": 254.8274580999996
147
+ },
148
+ {
149
+ "step": 300,
150
+ "valid dino_similarity": 0.44614630937576294,
151
+ "train loss": 0.7450584173202515,
152
+ "train samples": 600,
153
+ "train time": 100.90257092199408,
154
+ "eval time": 12.531584266000209,
155
+ "mem allocated avg": 8310708480.0,
156
+ "mem reserved avg": 9791539773.44,
157
+ "elapsed time": 368.27817903100004
158
+ },
159
+ {
160
+ "step": 400,
161
+ "valid dino_similarity": 0.529617965221405,
162
+ "train loss": 0.7680291533470154,
163
+ "train samples": 800,
164
+ "train time": 100.92810954599918,
165
+ "eval time": 12.536273715999414,
166
+ "mem allocated avg": 8310759680.0,
167
+ "mem reserved avg": 9791602688.0,
168
+ "elapsed time": 481.75836412900026
169
+ },
170
+ {
171
+ "step": 500,
172
+ "valid dino_similarity": 0.5124809741973877,
173
+ "train loss": 0.7479874491691589,
174
+ "train samples": 1000,
175
+ "train time": 103.92182415999923,
176
+ "eval time": 12.505745414000558,
177
+ "mem allocated avg": 8310810880.0,
178
+ "mem reserved avg": 9791602688.0,
179
+ "elapsed time": 598.2022385370001
180
+ },
181
+ {
182
+ "step": 600,
183
+ "valid dino_similarity": 0.5223608613014221,
184
+ "train loss": 0.7433504462242126,
185
+ "train samples": 1200,
186
+ "train time": 101.63170349100255,
187
+ "eval time": 12.457007388999955,
188
+ "mem allocated avg": 8310862080.0,
189
+ "mem reserved avg": 9791602688.0,
190
+ "elapsed time": 712.3071104580004
191
+ },
192
+ {
193
+ "step": 700,
194
+ "valid dino_similarity": 0.5011094212532043,
195
+ "train loss": 0.770768940448761,
196
+ "train samples": 1400,
197
+ "train time": 103.97924743000021,
198
+ "eval time": 13.20549138700062,
199
+ "mem allocated avg": 8310913280.0,
200
+ "mem reserved avg": 9793490124.8,
201
+ "elapsed time": 829.5084478130002
202
+ },
203
+ {
204
+ "step": 750,
205
+ "test dino_similarity": 0.5226633151372274,
206
+ "drift": 0.07324957847595215,
207
+ "train loss": 0.7483820915222168,
208
+ "train samples": 1500
209
+ }
210
+ ]
211
+ },
212
+ "meta_info": {
213
+ "model_info": {
214
+ "sha": "a3b4f4849157f664bdbc776fd7453c2783562f4d",
215
+ "created_at": "2026-01-14T13:42:28+00:00"
216
+ },
217
+ "dataset_info": {
218
+ "sha": "37df3244ae3aa36e85178b6cf946338137fc3068",
219
+ "created_at": "2026-03-09T15:31:26+00:00"
220
+ },
221
+ "package_info": {
222
+ "transformers-version": "5.15.1",
223
+ "transformers-commit-hash": null,
224
+ "peft-version": "0.20.1.dev0",
225
+ "peft-commit-hash": "5d602fdbff04c33c1c4de55cda9d4ae1d7cb7e40",
226
+ "datasets-version": "5.0.1",
227
+ "datasets-commit-hash": null,
228
+ "diffusers-version": "0.40.0",
229
+ "diffusers-commit-hash": null,
230
+ "torch-version": "2.13.0+cu130",
231
+ "torch-commit-hash": null
232
+ },
233
+ "system_info": {
234
+ "system": "Linux",
235
+ "release": "7.0.0-30-generic",
236
+ "version": "#30~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 7 13:27:52 UTC 2",
237
+ "machine": "x86_64",
238
+ "processor": "x86_64",
239
+ "accelerator": "NVIDIA GeForce RTX 5070 Ti"
240
+ },
241
+ "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.12.0 (Git Hash 80afa71049cd69a3df32adcccb623b12cd7baa22)\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=cf30153c4c131c8164ee7798e5022d810682e2cb, 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 -DHAS_CUPTI -DUSE_FBGEMM -DUSE_MSLK -DUSE_PYTORCH_QNNPACK -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.13.0, USE_CUDA=1, 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=ON, USE_NNPACK=ON, USE_OPENMP=ON, USE_ROCM=OFF, USE_ROCM_KERNEL_ASSERT=OFF, USE_XCCL=OFF, USE_XPU=OFF, \n"
242
+ }
243
+ }
imagegen/hira--flux2-klein-default-lr1e-4.json ADDED
@@ -0,0 +1,250 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run_info": {
3
+ "created_at": "2026-08-30T14:32:40+00:00",
4
+ "total_time": 3530.923184469997,
5
+ "experiment_name": "hira/flux2-klein-default",
6
+ "peft_branch": "add-beft-image-gen",
7
+ "peft_worktree_is_dirty": true,
8
+ "train_config": {
9
+ "model_id": "black-forest-labs/FLUX.2-klein-base-4B",
10
+ "dataset_id": "peft-internal-testing/cat-image-dataset",
11
+ "dataset_split": "train",
12
+ "dtype": "bfloat16",
13
+ "resolution": 512,
14
+ "batch_size": 2,
15
+ "batch_size_eval": 1,
16
+ "repeats": 1000,
17
+ "max_steps": 750,
18
+ "eval_steps": 100,
19
+ "compile": false,
20
+ "use_gc": true,
21
+ "seed": 0,
22
+ "grad_norm_clip": 1.0,
23
+ "optimizer_type": "AdamW",
24
+ "optimizer_kwargs": {
25
+ "lr": 0.0001,
26
+ "weight_decay": 0.0001
27
+ },
28
+ "lr_scheduler": null,
29
+ "use_amp": false,
30
+ "autocast_adapter_dtype": true,
31
+ "instance_prompts": [
32
+ "sks cat sitting on a chair in front of a box of chocolates",
33
+ "sks cat playing on the Steam Deck",
34
+ "sks cat wearing a necklace while sitting in a box on a sofa",
35
+ "a box with four donuts in front of sks cat",
36
+ "sks cat wearing a pink veil with flowers on it and a dagger made out of yellow cardboard",
37
+ "sks cat between two pillows, with one pillow showing a polar bear and the other a fox",
38
+ "sks cat with an espresso reading the newspaper",
39
+ "a close up of a hand petting sks cat on the head",
40
+ "sks cat opens a white door",
41
+ "sks cat with a VIP \"all access\" pass",
42
+ "sks cat in front of a monitor showing the video game \"RimWorld\"",
43
+ "sks cat reads a newspaper about cannabis",
44
+ "sks cat reading the newspaper with the title \"DIE BOX\"",
45
+ "sks cat being fed sushi",
46
+ "sks cat in front of a box of tomatoes",
47
+ "a gingerbread house in front of sks cat",
48
+ "sks cat is wearing a Wednesday Addams costume",
49
+ "sks cat looks skeptical as he reads a magazine depicting a black cat",
50
+ "sks cat wearing a striped scarf",
51
+ "sleepy sks cat lying in bed covered by a blue blanket"
52
+ ],
53
+ "image_column": "image",
54
+ "valid_size": 2,
55
+ "test_size": 4,
56
+ "num_inference_steps": 20,
57
+ "guidance_scale": 3.5,
58
+ "max_sequence_length": 512,
59
+ "text_encoder_out_layers": [
60
+ 10,
61
+ 20,
62
+ 30
63
+ ],
64
+ "weighting_scheme": "none",
65
+ "logit_mean": 0.0,
66
+ "logit_std": 1.0,
67
+ "mode_scale": 1.29,
68
+ "dino_model_id": "facebook/dinov2-base",
69
+ "dino_image_size": 224,
70
+ "sample_image_prompts": [
71
+ "a photo of sks cat",
72
+ "a color drawing of sks cat",
73
+ "sks cat at the beach",
74
+ "a photo of sks dog",
75
+ "a photo of an orange cat"
76
+ ],
77
+ "drift_image_prompts": [
78
+ "a photo of cat",
79
+ "a color drawing of cat",
80
+ "cat sitting in a bathtub",
81
+ "cat looks into a mirror",
82
+ "a photo of cat next to a tree",
83
+ "the Mona Lisa but she looks angry",
84
+ "a dog holding a sign that says hello world",
85
+ "a photo of the Eiffel tower at night",
86
+ "an astronaut riding a horse",
87
+ "3d design concept of a chair that looks like an avocado"
88
+ ]
89
+ },
90
+ "peft_config": {
91
+ "task_type": null,
92
+ "peft_type": "HIRA",
93
+ "auto_mapping": null,
94
+ "peft_version": "0.20.1.dev0@UNKNOWN",
95
+ "base_model_name_or_path": null,
96
+ "revision": null,
97
+ "inference_mode": false,
98
+ "r": 32,
99
+ "target_modules": [
100
+ "to_v",
101
+ "to_out.0",
102
+ "to_k",
103
+ "to_add_out",
104
+ "linear_out",
105
+ "linear_in",
106
+ "to_q",
107
+ "to_qkv_mlp_proj",
108
+ "add_k_proj",
109
+ "add_q_proj",
110
+ "add_v_proj"
111
+ ],
112
+ "exclude_modules": null,
113
+ "hira_dropout": 0.0,
114
+ "fan_in_fan_out": false,
115
+ "modules_to_save": null,
116
+ "init_weights": true,
117
+ "layers_to_transform": null,
118
+ "layers_pattern": null,
119
+ "rank_pattern": {}
120
+ },
121
+ "error_msg": ""
122
+ },
123
+ "train_info": {
124
+ "accelerator_memory_reserved_avg": 11312843194,
125
+ "accelerator_memory_max": 11444158464,
126
+ "accelerator_memory_reserved_99th": 11444158464,
127
+ "train_time": 3200.7234381379967,
128
+ "file_size": 153375936,
129
+ "num_trainable_params": 38338560,
130
+ "num_total_params": 3913883136,
131
+ "status": "success",
132
+ "metrics": [
133
+ {
134
+ "step": 100,
135
+ "valid dino_similarity": 0.23980595171451569,
136
+ "train loss": 0.7821560502052307,
137
+ "train samples": 200,
138
+ "train time": 351.02163008390926,
139
+ "eval time": 45.644085021005594,
140
+ "mem allocated avg": 8953017763.84,
141
+ "mem reserved avg": 11440761077.76,
142
+ "elapsed time": 417.0051958499971
143
+ },
144
+ {
145
+ "step": 200,
146
+ "valid dino_similarity": 0.26870858669281006,
147
+ "train loss": 0.7690981030464172,
148
+ "train samples": 400,
149
+ "train time": 349.1886141661089,
150
+ "eval time": 45.50393134899787,
151
+ "mem allocated avg": 8953336064.0,
152
+ "mem reserved avg": 11318329344.0,
153
+ "elapsed time": 811.7170949769934
154
+ },
155
+ {
156
+ "step": 300,
157
+ "valid dino_similarity": 0.2899954319000244,
158
+ "train loss": 0.7863165140151978,
159
+ "train samples": 600,
160
+ "train time": 349.2403637860698,
161
+ "eval time": 45.55377007299103,
162
+ "mem allocated avg": 8954215639.04,
163
+ "mem reserved avg": 11267997696.0,
164
+ "elapsed time": 1206.5302368120028
165
+ },
166
+ {
167
+ "step": 400,
168
+ "valid dino_similarity": 0.35730522871017456,
169
+ "train loss": 0.7730123996734619,
170
+ "train samples": 800,
171
+ "train time": 349.3183673960448,
172
+ "eval time": 45.6382089270046,
173
+ "mem allocated avg": 8954880256.0,
174
+ "mem reserved avg": 11293163520.0,
175
+ "elapsed time": 1601.5049702029937
176
+ },
177
+ {
178
+ "step": 500,
179
+ "valid dino_similarity": 0.4287489056587219,
180
+ "train loss": 0.7674223184585571,
181
+ "train samples": 1000,
182
+ "train time": 349.40842432601494,
183
+ "eval time": 45.603690800999175,
184
+ "mem allocated avg": 8954931456.0,
185
+ "mem reserved avg": 11293163520.0,
186
+ "elapsed time": 1996.5357293849956
187
+ },
188
+ {
189
+ "step": 600,
190
+ "valid dino_similarity": 0.4131510853767395,
191
+ "train loss": 0.7801571488380432,
192
+ "train samples": 1200,
193
+ "train time": 349.4924395909911,
194
+ "eval time": 45.62298824900063,
195
+ "mem allocated avg": 8954982656.0,
196
+ "mem reserved avg": 11293163520.0,
197
+ "elapsed time": 2391.670318146993
198
+ },
199
+ {
200
+ "step": 700,
201
+ "valid dino_similarity": 0.4277297556400299,
202
+ "train loss": 0.7655133008956909,
203
+ "train samples": 1400,
204
+ "train time": 349.4336075080355,
205
+ "eval time": 45.5966464390076,
206
+ "mem allocated avg": 8955033856.0,
207
+ "mem reserved avg": 11293163520.0,
208
+ "elapsed time": 2786.719187751005
209
+ },
210
+ {
211
+ "step": 750,
212
+ "test dino_similarity": 0.5517072478930155,
213
+ "drift": 0.14771908521652222,
214
+ "train loss": 0.7798191905021667,
215
+ "train samples": 1500
216
+ }
217
+ ]
218
+ },
219
+ "meta_info": {
220
+ "model_info": {
221
+ "sha": "a3b4f4849157f664bdbc776fd7453c2783562f4d",
222
+ "created_at": "2026-01-14T13:42:28+00:00"
223
+ },
224
+ "dataset_info": {
225
+ "sha": "37df3244ae3aa36e85178b6cf946338137fc3068",
226
+ "created_at": "2026-03-09T15:31:26+00:00"
227
+ },
228
+ "package_info": {
229
+ "transformers-version": "5.16.0",
230
+ "transformers-commit-hash": null,
231
+ "peft-version": "0.20.1.dev0",
232
+ "peft-commit-hash": "ba42298196a2e8ea1082e142f4d54a8e98f4aff2",
233
+ "datasets-version": "5.0.1",
234
+ "datasets-commit-hash": null,
235
+ "diffusers-version": "0.40.0",
236
+ "diffusers-commit-hash": null,
237
+ "torch-version": "2.13.0+cu130",
238
+ "torch-commit-hash": null
239
+ },
240
+ "system_info": {
241
+ "system": "Linux",
242
+ "release": "7.0.0-30-generic",
243
+ "version": "#30~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 7 13:27:52 UTC 2",
244
+ "machine": "x86_64",
245
+ "processor": "x86_64",
246
+ "accelerator": "NVIDIA GeForce RTX 5070 Ti"
247
+ },
248
+ "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.12.0 (Git Hash 80afa71049cd69a3df32adcccb623b12cd7baa22)\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=cf30153c4c131c8164ee7798e5022d810682e2cb, 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 -DHAS_CUPTI -DUSE_FBGEMM -DUSE_MSLK -DUSE_PYTORCH_QNNPACK -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.13.0, USE_CUDA=1, 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=ON, USE_NNPACK=ON, USE_OPENMP=ON, USE_ROCM=OFF, USE_ROCM_KERNEL_ASSERT=OFF, USE_XCCL=OFF, USE_XPU=OFF, \n"
249
+ }
250
+ }
imagegen/hira--flux2-klein-lr-tuned-1.53e-4.json ADDED
@@ -0,0 +1,250 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run_info": {
3
+ "created_at": "2026-09-01T16:04:07+00:00",
4
+ "total_time": 3356.3246692670073,
5
+ "experiment_name": "hira/flux2-klein-lr-tuned",
6
+ "peft_branch": "add-hira-image-gen",
7
+ "peft_worktree_is_dirty": false,
8
+ "train_config": {
9
+ "model_id": "black-forest-labs/FLUX.2-klein-base-4B",
10
+ "dataset_id": "peft-internal-testing/cat-image-dataset",
11
+ "dataset_split": "train",
12
+ "dtype": "bfloat16",
13
+ "resolution": 512,
14
+ "batch_size": 2,
15
+ "batch_size_eval": 1,
16
+ "repeats": 1000,
17
+ "max_steps": 750,
18
+ "eval_steps": 100,
19
+ "compile": false,
20
+ "use_gc": true,
21
+ "seed": 0,
22
+ "grad_norm_clip": 1.0,
23
+ "optimizer_type": "AdamW",
24
+ "optimizer_kwargs": {
25
+ "lr": 0.000153,
26
+ "weight_decay": 0.0001
27
+ },
28
+ "lr_scheduler": null,
29
+ "use_amp": false,
30
+ "autocast_adapter_dtype": true,
31
+ "instance_prompts": [
32
+ "sks cat sitting on a chair in front of a box of chocolates",
33
+ "sks cat playing on the Steam Deck",
34
+ "sks cat wearing a necklace while sitting in a box on a sofa",
35
+ "a box with four donuts in front of sks cat",
36
+ "sks cat wearing a pink veil with flowers on it and a dagger made out of yellow cardboard",
37
+ "sks cat between two pillows, with one pillow showing a polar bear and the other a fox",
38
+ "sks cat with an espresso reading the newspaper",
39
+ "a close up of a hand petting sks cat on the head",
40
+ "sks cat opens a white door",
41
+ "sks cat with a VIP \"all access\" pass",
42
+ "sks cat in front of a monitor showing the video game \"RimWorld\"",
43
+ "sks cat reads a newspaper about cannabis",
44
+ "sks cat reading the newspaper with the title \"DIE BOX\"",
45
+ "sks cat being fed sushi",
46
+ "sks cat in front of a box of tomatoes",
47
+ "a gingerbread house in front of sks cat",
48
+ "sks cat is wearing a Wednesday Addams costume",
49
+ "sks cat looks skeptical as he reads a magazine depicting a black cat",
50
+ "sks cat wearing a striped scarf",
51
+ "sleepy sks cat lying in bed covered by a blue blanket"
52
+ ],
53
+ "image_column": "image",
54
+ "valid_size": 2,
55
+ "test_size": 4,
56
+ "num_inference_steps": 20,
57
+ "guidance_scale": 3.5,
58
+ "max_sequence_length": 512,
59
+ "text_encoder_out_layers": [
60
+ 10,
61
+ 20,
62
+ 30
63
+ ],
64
+ "weighting_scheme": "none",
65
+ "logit_mean": 0.0,
66
+ "logit_std": 1.0,
67
+ "mode_scale": 1.29,
68
+ "dino_model_id": "facebook/dinov2-base",
69
+ "dino_image_size": 224,
70
+ "sample_image_prompts": [
71
+ "a photo of sks cat",
72
+ "a color drawing of sks cat",
73
+ "sks cat at the beach",
74
+ "a photo of sks dog",
75
+ "a photo of an orange cat"
76
+ ],
77
+ "drift_image_prompts": [
78
+ "a photo of cat",
79
+ "a color drawing of cat",
80
+ "cat sitting in a bathtub",
81
+ "cat looks into a mirror",
82
+ "a photo of cat next to a tree",
83
+ "the Mona Lisa but she looks angry",
84
+ "a dog holding a sign that says hello world",
85
+ "a photo of the Eiffel tower at night",
86
+ "an astronaut riding a horse",
87
+ "3d design concept of a chair that looks like an avocado"
88
+ ]
89
+ },
90
+ "peft_config": {
91
+ "task_type": null,
92
+ "peft_type": "HIRA",
93
+ "auto_mapping": null,
94
+ "peft_version": "0.20.1.dev0@UNKNOWN",
95
+ "base_model_name_or_path": null,
96
+ "revision": null,
97
+ "inference_mode": false,
98
+ "r": 32,
99
+ "target_modules": [
100
+ "to_q",
101
+ "to_add_out",
102
+ "to_out.0",
103
+ "to_k",
104
+ "linear_in",
105
+ "add_v_proj",
106
+ "add_q_proj",
107
+ "to_qkv_mlp_proj",
108
+ "add_k_proj",
109
+ "linear_out",
110
+ "to_v"
111
+ ],
112
+ "exclude_modules": null,
113
+ "hira_dropout": 0.0,
114
+ "fan_in_fan_out": false,
115
+ "modules_to_save": null,
116
+ "init_weights": true,
117
+ "layers_to_transform": null,
118
+ "layers_pattern": null,
119
+ "rank_pattern": {}
120
+ },
121
+ "error_msg": ""
122
+ },
123
+ "train_info": {
124
+ "accelerator_memory_reserved_avg": 11312843194,
125
+ "accelerator_memory_max": 11444158464,
126
+ "accelerator_memory_reserved_99th": 11444158464,
127
+ "train_time": 3041.159090066998,
128
+ "file_size": 153375936,
129
+ "num_trainable_params": 38338560,
130
+ "num_total_params": 3913883136,
131
+ "status": "success",
132
+ "metrics": [
133
+ {
134
+ "step": 100,
135
+ "valid dino_similarity": 0.2589985728263855,
136
+ "train loss": 0.7820280194282532,
137
+ "train samples": 200,
138
+ "train time": 339.58171068101365,
139
+ "eval time": 43.32800140600011,
140
+ "mem allocated avg": 8953017763.84,
141
+ "mem reserved avg": 11440761077.76,
142
+ "elapsed time": 398.76268226400134
143
+ },
144
+ {
145
+ "step": 200,
146
+ "valid dino_similarity": 0.30319806933403015,
147
+ "train loss": 0.7682037949562073,
148
+ "train samples": 400,
149
+ "train time": 331.12529048994475,
150
+ "eval time": 42.88838729298732,
151
+ "mem allocated avg": 8953336064.0,
152
+ "mem reserved avg": 11318329344.0,
153
+ "elapsed time": 772.7907755010092
154
+ },
155
+ {
156
+ "step": 300,
157
+ "valid dino_similarity": 0.28750044107437134,
158
+ "train loss": 0.784817636013031,
159
+ "train samples": 600,
160
+ "train time": 330.40345038782107,
161
+ "eval time": 42.91966502000287,
162
+ "mem allocated avg": 8954215639.04,
163
+ "mem reserved avg": 11267997696.0,
164
+ "elapsed time": 1146.1272795120021
165
+ },
166
+ {
167
+ "step": 400,
168
+ "valid dino_similarity": 0.42842575907707214,
169
+ "train loss": 0.7704035043716431,
170
+ "train samples": 800,
171
+ "train time": 330.1812507319264,
172
+ "eval time": 42.89230176300043,
173
+ "mem allocated avg": 8954880256.0,
174
+ "mem reserved avg": 11293163520.0,
175
+ "elapsed time": 1519.2145931130071
176
+ },
177
+ {
178
+ "step": 500,
179
+ "valid dino_similarity": 0.42724165320396423,
180
+ "train loss": 0.7639561891555786,
181
+ "train samples": 1000,
182
+ "train time": 330.38932967494475,
183
+ "eval time": 44.063588319011615,
184
+ "mem allocated avg": 8954931456.0,
185
+ "mem reserved avg": 11293163520.0,
186
+ "elapsed time": 1893.6808359470015
187
+ },
188
+ {
189
+ "step": 600,
190
+ "valid dino_similarity": 0.42883002758026123,
191
+ "train loss": 0.7750818729400635,
192
+ "train samples": 1200,
193
+ "train time": 337.0895499299804,
194
+ "eval time": 42.9615080539952,
195
+ "mem allocated avg": 8954982656.0,
196
+ "mem reserved avg": 11293163520.0,
197
+ "elapsed time": 2273.745481711012
198
+ },
199
+ {
200
+ "step": 700,
201
+ "valid dino_similarity": 0.6188894510269165,
202
+ "train loss": 0.7604087591171265,
203
+ "train samples": 1400,
204
+ "train time": 331.39482975601277,
205
+ "eval time": 42.989960685008555,
206
+ "mem allocated avg": 8955033856.0,
207
+ "mem reserved avg": 11293163520.0,
208
+ "elapsed time": 2648.1437235890044
209
+ },
210
+ {
211
+ "step": 750,
212
+ "test dino_similarity": 0.6332690517107645,
213
+ "drift": 0.22851958870887756,
214
+ "train loss": 0.77407306432724,
215
+ "train samples": 1500
216
+ }
217
+ ]
218
+ },
219
+ "meta_info": {
220
+ "model_info": {
221
+ "sha": "a3b4f4849157f664bdbc776fd7453c2783562f4d",
222
+ "created_at": "2026-01-14T13:42:28+00:00"
223
+ },
224
+ "dataset_info": {
225
+ "sha": "37df3244ae3aa36e85178b6cf946338137fc3068",
226
+ "created_at": "2026-03-09T15:31:26+00:00"
227
+ },
228
+ "package_info": {
229
+ "transformers-version": "5.16.0",
230
+ "transformers-commit-hash": null,
231
+ "peft-version": "0.20.1.dev0",
232
+ "peft-commit-hash": "fc25d9987fba3bc013fa3e32a7694d8ab96501b6",
233
+ "datasets-version": "5.0.1",
234
+ "datasets-commit-hash": null,
235
+ "diffusers-version": "0.40.0",
236
+ "diffusers-commit-hash": null,
237
+ "torch-version": "2.13.0+cu130",
238
+ "torch-commit-hash": null
239
+ },
240
+ "system_info": {
241
+ "system": "Linux",
242
+ "release": "7.0.0-30-generic",
243
+ "version": "#30~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 7 13:27:52 UTC 2",
244
+ "machine": "x86_64",
245
+ "processor": "x86_64",
246
+ "accelerator": "NVIDIA GeForce RTX 5070 Ti"
247
+ },
248
+ "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.12.0 (Git Hash 80afa71049cd69a3df32adcccb623b12cd7baa22)\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=cf30153c4c131c8164ee7798e5022d810682e2cb, 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 -DHAS_CUPTI -DUSE_FBGEMM -DUSE_MSLK -DUSE_PYTORCH_QNNPACK -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.13.0, USE_CUDA=1, 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=ON, USE_NNPACK=ON, USE_OPENMP=ON, USE_ROCM=OFF, USE_ROCM_KERNEL_ASSERT=OFF, USE_XCCL=OFF, USE_XPU=OFF, \n"
249
+ }
250
+ }