File size: 11,221 Bytes
19b16c8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
{
  "run_info": {
    "created_at": "2026-07-27T16:08:25+00:00",
    "total_time": 954.1416456169998,
    "experiment_name": "deft/flux2-klein-para",
    "peft_branch": "main",
    "train_config": {
      "model_id": "black-forest-labs/FLUX.2-klein-base-4B",
      "dataset_id": "peft-internal-testing/cat-image-dataset",
      "dataset_split": "train",
      "dtype": "bfloat16",
      "resolution": 512,
      "batch_size": 2,
      "batch_size_eval": 1,
      "repeats": 1000,
      "max_steps": 750,
      "eval_steps": 100,
      "compile": false,
      "use_gc": true,
      "seed": 0,
      "grad_norm_clip": 1.0,
      "optimizer_type": "AdamW",
      "optimizer_kwargs": {
        "lr": 0.0001,
        "weight_decay": 0.0001
      },
      "lr_scheduler": null,
      "use_amp": false,
      "autocast_adapter_dtype": true,
      "instance_prompts": [
        "sks cat sitting on a chair in front of a box of chocolates",
        "sks cat playing on the Steam Deck",
        "sks cat wearing a necklace while sitting in a box on a sofa",
        "a box with four donuts in front of sks cat",
        "sks cat wearing a pink veil with flowers on it and a dagger made out of yellow cardboard",
        "sks cat between two pillows, with one pillow showing a polar bear and the other a fox",
        "sks cat with an espresso reading the newspaper",
        "a close up of a hand petting sks cat on the head",
        "sks cat opens a white door",
        "sks cat with a VIP \"all access\" pass",
        "sks cat in front of a monitor showing the video game \"RimWorld\"",
        "sks cat reads a newspaper about cannabis",
        "sks cat reading the newspaper with the title \"DIE BOX\"",
        "sks cat being fed sushi",
        "sks cat in front of a box of tomatoes",
        "a gingerbread house in front of sks cat",
        "sks cat is wearing a Wednesday Addams costume",
        "sks cat looks skeptical as he reads a magazine depicting a black cat",
        "sks cat wearing a striped scarf",
        "sleepy sks cat lying in bed covered by a blue blanket"
      ],
      "image_column": "image",
      "valid_size": 2,
      "test_size": 4,
      "num_inference_steps": 20,
      "guidance_scale": 3.5,
      "max_sequence_length": 512,
      "text_encoder_out_layers": [
        10,
        20,
        30
      ],
      "weighting_scheme": "none",
      "logit_mean": 0.0,
      "logit_std": 1.0,
      "mode_scale": 1.29,
      "dino_model_id": "facebook/dinov2-base",
      "dino_image_size": 224,
      "sample_image_prompts": [
        "a photo of sks cat",
        "a color drawing of sks cat",
        "sks cat at the beach",
        "a photo of sks dog",
        "a photo of an orange cat"
      ],
      "drift_image_prompts": [
        "a photo of cat",
        "a color drawing of cat",
        "cat sitting in a bathtub",
        "cat looks into a mirror",
        "a photo of cat next to a tree",
        "the Mona Lisa but she looks angry",
        "a dog holding a sign that says hello world",
        "a photo of the Eiffel tower at night",
        "an astronaut riding a horse",
        "3d design concept of a chair that looks like an avocado"
      ]
    },
    "peft_config": {
      "task_type": null,
      "peft_type": "DEFT",
      "auto_mapping": null,
      "peft_version": "0.19.2.dev0@UNKNOWN",
      "base_model_name_or_path": null,
      "revision": null,
      "inference_mode": false,
      "r": 32,
      "target_modules": [
        "to_out.0",
        "linear_out",
        "add_k_proj",
        "to_q",
        "to_k",
        "to_qkv_mlp_proj",
        "to_add_out",
        "add_v_proj",
        "linear_in",
        "add_q_proj",
        "to_v"
      ],
      "exclude_modules": null,
      "decomposition_method": "qr",
      "init_scale": 1.0,
      "alpha": null,
      "para": true,
      "fan_in_fan_out": false,
      "deft_dropout": 0.0,
      "init_weights": true,
      "layers_to_transform": null,
      "layers_pattern": null,
      "bias": "none",
      "modules_to_save": null
    },
    "error_msg": ""
  },
  "train_info": {
    "accelerator_memory_reserved_avg": 10991170835,
    "accelerator_memory_max": 11033116672,
    "accelerator_memory_reserved_99th": 11033116672,
    "train_time": 828.1753127479999,
    "file_size": 114043472,
    "num_trainable_params": 28508160,
    "num_total_params": 3904052736,
    "status": "success",
    "metrics": [
      {
        "step": 100,
        "valid dino_similarity": 0.699182391166687,
        "train loss": 0.7876453995704651,
        "train samples": 200,
        "train time": 86.99192197599905,
        "eval time": 16.76182595099999,
        "mem allocated avg": 8712103495.68,
        "mem reserved avg": 10794041344.0,
        "elapsed time": 110.52258126200013
      },
      {
        "step": 200,
        "valid dino_similarity": 0.6765536069869995,
        "train loss": 0.7473422884941101,
        "train samples": 400,
        "train time": 86.44068213999981,
        "eval time": 16.7955056090002,
        "mem allocated avg": 8711691724.8,
        "mem reserved avg": 11020533760.0,
        "elapsed time": 213.9153981200002
      },
      {
        "step": 300,
        "valid dino_similarity": 0.7430849075317383,
        "train loss": 0.7645154595375061,
        "train samples": 600,
        "train time": 86.73411779100093,
        "eval time": 16.9052034260003,
        "mem allocated avg": 8712074536.96,
        "mem reserved avg": 11007950848.0,
        "elapsed time": 317.71198511800003
      },
      {
        "step": 400,
        "valid dino_similarity": 0.7180512547492981,
        "train loss": 0.7505152821540833,
        "train samples": 800,
        "train time": 86.71019292899791,
        "eval time": 16.820333625999865,
        "mem allocated avg": 8711566059.52,
        "mem reserved avg": 10995367936.0,
        "elapsed time": 421.397913712
      },
      {
        "step": 500,
        "valid dino_similarity": 0.684812068939209,
        "train loss": 0.7610408067703247,
        "train samples": 1000,
        "train time": 87.39914063399738,
        "eval time": 16.81645779900009,
        "mem allocated avg": 8711923968.0,
        "mem reserved avg": 11033116672.0,
        "elapsed time": 525.7711029840002
      },
      {
        "step": 600,
        "valid dino_similarity": 0.7417672872543335,
        "train loss": 0.7375941872596741,
        "train samples": 1200,
        "train time": 87.63185768800122,
        "eval time": 16.886077923999892,
        "mem allocated avg": 8711975168.0,
        "mem reserved avg": 11033116672.0,
        "elapsed time": 630.4456413500002
      },
      {
        "step": 700,
        "valid dino_similarity": 0.6806052923202515,
        "train loss": 0.7223593592643738,
        "train samples": 1400,
        "train time": 87.14540599200245,
        "eval time": 16.797347181000077,
        "mem allocated avg": 8712026368.0,
        "mem reserved avg": 11033116672.0,
        "elapsed time": 734.5464444630002
      },
      {
        "step": 750,
        "test dino_similarity": 0.6892124017079672,
        "drift": 0.2870096117258072,
        "train loss": 0.7468426823616028,
        "train samples": 1500
      }
    ]
  },
  "meta_info": {
    "model_info": {
      "sha": "a3b4f4849157f664bdbc776fd7453c2783562f4d",
      "created_at": "2026-01-14T13:42:28+00:00"
    },
    "dataset_info": {
      "sha": "37df3244ae3aa36e85178b6cf946338137fc3068",
      "created_at": "2026-03-09T15:31:26+00:00"
    },
    "package_info": {
      "transformers-version": "5.13.1",
      "transformers-commit-hash": null,
      "peft-version": "0.19.2.dev0",
      "peft-commit-hash": "194cb8feb21c6623f61f30305e20fdbe2b842c10",
      "datasets-version": "4.2.0",
      "datasets-commit-hash": null,
      "diffusers-version": "0.38.0",
      "diffusers-commit-hash": null,
      "torch-version": "2.13.0+cu130",
      "torch-commit-hash": null
    },
    "system_info": {
      "system": "Linux",
      "release": "6.17.0-1019-aws",
      "version": "#19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026",
      "machine": "x86_64",
      "processor": "x86_64",
      "accelerator": "NVIDIA L40S"
    },
    "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 90.7.1  (built against CUDA 12.8)\n    - Built with CuDNN 92.0\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"
  }
}