Add superseded/exploratory LoHa results

#18
by Sergasgr - opened
imagegen/loha--flux2-klein-default--lr1e-3.json ADDED
@@ -0,0 +1,253 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run_info": {
3
+ "created_at": "2026-10-10T14:43:12+00:00",
4
+ "total_time": 4227.5228863190005,
5
+ "experiment_name": "loha/flux2-klein-default",
6
+ "peft_branch": "metamathqa-velora-mlp",
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.0003,
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": "LOHA",
93
+ "auto_mapping": null,
94
+ "peft_version": "0.18.2.dev0@UNKNOWN",
95
+ "base_model_name_or_path": null,
96
+ "revision": null,
97
+ "inference_mode": false,
98
+ "rank_pattern": {},
99
+ "alpha_pattern": {},
100
+ "r": 32,
101
+ "alpha": 32,
102
+ "rank_dropout": 0.0,
103
+ "module_dropout": 0.0,
104
+ "use_effective_conv2d": false,
105
+ "target_modules": [
106
+ "linear_in",
107
+ "to_add_out",
108
+ "to_k",
109
+ "to_q",
110
+ "add_q_proj",
111
+ "add_v_proj",
112
+ "linear_out",
113
+ "to_out.0",
114
+ "add_k_proj",
115
+ "to_qkv_mlp_proj",
116
+ "to_v"
117
+ ],
118
+ "exclude_modules": null,
119
+ "init_weights": true,
120
+ "layers_to_transform": null,
121
+ "layers_pattern": null,
122
+ "modules_to_save": null
123
+ },
124
+ "error_msg": ""
125
+ },
126
+ "train_info": {
127
+ "accelerator_memory_reserved_avg": 12765599105,
128
+ "accelerator_memory_max": 12786335744,
129
+ "accelerator_memory_reserved_99th": 12786335744,
130
+ "train_time": 3837.2655835640053,
131
+ "file_size": 306753024,
132
+ "num_trainable_params": 76677120,
133
+ "num_total_params": 3952221696,
134
+ "status": "success",
135
+ "metrics": [
136
+ {
137
+ "step": 100,
138
+ "valid dino_similarity": 0.3065524995326996,
139
+ "train loss": 0.7607795000076294,
140
+ "train samples": 200,
141
+ "train time": 420.625515335998,
142
+ "eval time": 53.84575699499874,
143
+ "mem allocated avg": 9594857687.04,
144
+ "mem reserved avg": 12781805895.68,
145
+ "elapsed time": 487.660766777999
146
+ },
147
+ {
148
+ "step": 200,
149
+ "valid dino_similarity": 0.6076722145080566,
150
+ "train loss": 0.7708203196525574,
151
+ "train samples": 400,
152
+ "train time": 423.69867555001474,
153
+ "eval time": 53.89043431000027,
154
+ "mem allocated avg": 9593646376.96,
155
+ "mem reserved avg": 12773752832.0,
156
+ "elapsed time": 965.2686663980003
157
+ },
158
+ {
159
+ "step": 300,
160
+ "valid dino_similarity": 0.6631363034248352,
161
+ "train loss": 0.7734913229942322,
162
+ "train samples": 600,
163
+ "train time": 421.2028864120093,
164
+ "eval time": 53.902249752998614,
165
+ "mem allocated avg": 9593748695.04,
166
+ "mem reserved avg": 12761169920.0,
167
+ "elapsed time": 1440.3939437189983
168
+ },
169
+ {
170
+ "step": 400,
171
+ "valid dino_similarity": 0.7131209373474121,
172
+ "train loss": 0.7761102318763733,
173
+ "train samples": 800,
174
+ "train time": 426.11461432602664,
175
+ "eval time": 54.70414078599788,
176
+ "mem allocated avg": 9593725184.0,
177
+ "mem reserved avg": 12761169920.0,
178
+ "elapsed time": 1921.2305946019987
179
+ },
180
+ {
181
+ "step": 500,
182
+ "valid dino_similarity": 0.7533529996871948,
183
+ "train loss": 0.7677299976348877,
184
+ "train samples": 1000,
185
+ "train time": 421.4152073010082,
186
+ "eval time": 53.894549022999854,
187
+ "mem allocated avg": 9593776384.0,
188
+ "mem reserved avg": 12761169920.0,
189
+ "elapsed time": 2396.5580335919985
190
+ },
191
+ {
192
+ "step": 600,
193
+ "valid dino_similarity": 0.7029149532318115,
194
+ "train loss": 0.7592071890830994,
195
+ "train samples": 1200,
196
+ "train time": 420.5464704719925,
197
+ "eval time": 53.89684227900216,
198
+ "mem allocated avg": 9593827584.0,
199
+ "mem reserved avg": 12761169920.0,
200
+ "elapsed time": 2871.018944176998
201
+ },
202
+ {
203
+ "step": 700,
204
+ "valid dino_similarity": 0.6875364780426025,
205
+ "train loss": 0.7377224564552307,
206
+ "train samples": 1400,
207
+ "train time": 420.7592889180014,
208
+ "eval time": 55.32891557399853,
209
+ "mem allocated avg": 9593878784.0,
210
+ "mem reserved avg": 12761169920.0,
211
+ "elapsed time": 3347.124512252998
212
+ },
213
+ {
214
+ "step": 750,
215
+ "test dino_similarity": 0.6840795477231344,
216
+ "drift": 0.2545566260814667,
217
+ "train loss": 0.7320728302001953,
218
+ "train samples": 1500
219
+ }
220
+ ]
221
+ },
222
+ "meta_info": {
223
+ "model_info": {
224
+ "sha": "a3b4f4849157f664bdbc776fd7453c2783562f4d",
225
+ "created_at": "2026-01-14T13:42:28+00:00"
226
+ },
227
+ "dataset_info": {
228
+ "sha": "37df3244ae3aa36e85178b6cf946338137fc3068",
229
+ "created_at": "2026-03-09T15:31:26+00:00"
230
+ },
231
+ "package_info": {
232
+ "transformers-version": "5.16.0",
233
+ "transformers-commit-hash": null,
234
+ "peft-version": "0.21.3.dev0",
235
+ "peft-commit-hash": "f7ed05bed17e5d9332fc88937498e0a06ec56b20",
236
+ "datasets-version": "5.0.1",
237
+ "datasets-commit-hash": null,
238
+ "diffusers-version": "0.40.0",
239
+ "diffusers-commit-hash": null,
240
+ "torch-version": "2.13.0+cu130",
241
+ "torch-commit-hash": null
242
+ },
243
+ "system_info": {
244
+ "system": "Linux",
245
+ "release": "7.0.0-38-generic",
246
+ "version": "#38~24.04.4-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 14 16:37:11 UTC 2",
247
+ "machine": "x86_64",
248
+ "processor": "x86_64",
249
+ "accelerator": "NVIDIA GeForce RTX 5070 Ti"
250
+ },
251
+ "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"
252
+ }
253
+ }