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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"run_info": {
|
| 3 |
+
"created_at": "2026-09-23T05:57:00+00:00",
|
| 4 |
+
"total_time": 1240.230982551,
|
| 5 |
+
"experiment_name": "lora/flux2-klein-bd-lora",
|
| 6 |
+
"peft_branch": "add-velora-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": "LORA",
|
| 93 |
+
"auto_mapping": null,
|
| 94 |
+
"peft_version": "0.21.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_out.0",
|
| 102 |
+
"add_k_proj",
|
| 103 |
+
"add_q_proj",
|
| 104 |
+
"to_qkv_mlp_proj",
|
| 105 |
+
"to_v",
|
| 106 |
+
"to_add_out",
|
| 107 |
+
"to_k",
|
| 108 |
+
"linear_in",
|
| 109 |
+
"add_v_proj",
|
| 110 |
+
"linear_out"
|
| 111 |
+
],
|
| 112 |
+
"exclude_modules": null,
|
| 113 |
+
"lora_alpha": 64.0,
|
| 114 |
+
"lora_dropout": 0.0,
|
| 115 |
+
"fan_in_fan_out": false,
|
| 116 |
+
"bias": "none",
|
| 117 |
+
"use_rslora": true,
|
| 118 |
+
"modules_to_save": null,
|
| 119 |
+
"init_lora_weights": true,
|
| 120 |
+
"layers_to_transform": null,
|
| 121 |
+
"layers_pattern": null,
|
| 122 |
+
"rank_pattern": {},
|
| 123 |
+
"alpha_pattern": {},
|
| 124 |
+
"megatron_config": null,
|
| 125 |
+
"megatron_core": "megatron.core",
|
| 126 |
+
"trainable_token_indices": null,
|
| 127 |
+
"loftq_config": {},
|
| 128 |
+
"eva_config": null,
|
| 129 |
+
"corda_config": null,
|
| 130 |
+
"lora_ga_config": null,
|
| 131 |
+
"use_dora": false,
|
| 132 |
+
"velora_config": null,
|
| 133 |
+
"alora_invocation_tokens": null,
|
| 134 |
+
"use_qalora": false,
|
| 135 |
+
"qalora_group_size": 16,
|
| 136 |
+
"monteclora_config": null,
|
| 137 |
+
"layer_replication": null,
|
| 138 |
+
"lora_bias": false,
|
| 139 |
+
"target_parameters": null,
|
| 140 |
+
"use_bdlora": {
|
| 141 |
+
"target_modules_bd_a": [
|
| 142 |
+
"to_out.0",
|
| 143 |
+
"to_add_out",
|
| 144 |
+
"linear_out"
|
| 145 |
+
],
|
| 146 |
+
"target_modules_bd_b": [
|
| 147 |
+
"to_q",
|
| 148 |
+
"to_k",
|
| 149 |
+
"to_v",
|
| 150 |
+
"add_q_proj",
|
| 151 |
+
"add_k_proj",
|
| 152 |
+
"add_v_proj",
|
| 153 |
+
"to_qkv_mlp_proj",
|
| 154 |
+
"linear_in"
|
| 155 |
+
],
|
| 156 |
+
"nblocks": 4,
|
| 157 |
+
"match_strict": true
|
| 158 |
+
},
|
| 159 |
+
"arrow_config": null,
|
| 160 |
+
"kasa_config": null,
|
| 161 |
+
"ensure_weight_tying": false
|
| 162 |
+
},
|
| 163 |
+
"error_msg": ""
|
| 164 |
+
},
|
| 165 |
+
"train_info": {
|
| 166 |
+
"accelerator_memory_reserved_avg": 10650173920,
|
| 167 |
+
"accelerator_memory_max": 10653532160,
|
| 168 |
+
"accelerator_memory_reserved_99th": 10653532160,
|
| 169 |
+
"train_time": 1120.52381402,
|
| 170 |
+
"file_size": 61954088,
|
| 171 |
+
"num_trainable_params": 15482880,
|
| 172 |
+
"num_total_params": 3891027456,
|
| 173 |
+
"status": "success",
|
| 174 |
+
"metrics": [
|
| 175 |
+
{
|
| 176 |
+
"step": 100,
|
| 177 |
+
"valid dino_similarity": 0.7050119042396545,
|
| 178 |
+
"train loss": 0.7691347599029541,
|
| 179 |
+
"train samples": 200,
|
| 180 |
+
"train time": 128.2062132649995,
|
| 181 |
+
"eval time": 16.597815059000027,
|
| 182 |
+
"mem allocated avg": 8544077056.0,
|
| 183 |
+
"mem reserved avg": 10628345364.48,
|
| 184 |
+
"elapsed time": 158.47253163200003
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"step": 200,
|
| 188 |
+
"valid dino_similarity": 0.6718961596488953,
|
| 189 |
+
"train loss": 0.7455795407295227,
|
| 190 |
+
"train samples": 400,
|
| 191 |
+
"train time": 129.8638488709999,
|
| 192 |
+
"eval time": 16.544831747000046,
|
| 193 |
+
"mem allocated avg": 8544129280.0,
|
| 194 |
+
"mem reserved avg": 10653532160.0,
|
| 195 |
+
"elapsed time": 304.896686562
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"step": 300,
|
| 199 |
+
"valid dino_similarity": 0.7377882599830627,
|
| 200 |
+
"train loss": 0.7554926872253418,
|
| 201 |
+
"train samples": 600,
|
| 202 |
+
"train time": 121.22376901600046,
|
| 203 |
+
"eval time": 14.52924724400009,
|
| 204 |
+
"mem allocated avg": 8544180480.0,
|
| 205 |
+
"mem reserved avg": 10653532160.0,
|
| 206 |
+
"elapsed time": 440.664417273
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"step": 400,
|
| 210 |
+
"valid dino_similarity": 0.7137324213981628,
|
| 211 |
+
"train loss": 0.7301943302154541,
|
| 212 |
+
"train samples": 800,
|
| 213 |
+
"train time": 114.16743211599965,
|
| 214 |
+
"eval time": 14.519135002999974,
|
| 215 |
+
"mem allocated avg": 8544231680.0,
|
| 216 |
+
"mem reserved avg": 10653532160.0,
|
| 217 |
+
"elapsed time": 569.364791868
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"step": 500,
|
| 221 |
+
"valid dino_similarity": 0.6168019771575928,
|
| 222 |
+
"train loss": 0.7144880294799805,
|
| 223 |
+
"train samples": 1000,
|
| 224 |
+
"train time": 114.07314916600001,
|
| 225 |
+
"eval time": 14.514123906000009,
|
| 226 |
+
"mem allocated avg": 8544282880.0,
|
| 227 |
+
"mem reserved avg": 10653532160.0,
|
| 228 |
+
"elapsed time": 697.966371394
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"step": 600,
|
| 232 |
+
"valid dino_similarity": 0.6896436214447021,
|
| 233 |
+
"train loss": 0.7216061353683472,
|
| 234 |
+
"train samples": 1200,
|
| 235 |
+
"train time": 114.17259728500039,
|
| 236 |
+
"eval time": 14.51267797200012,
|
| 237 |
+
"mem allocated avg": 8544334080.0,
|
| 238 |
+
"mem reserved avg": 10653532160.0,
|
| 239 |
+
"elapsed time": 826.6651924340001
|
| 240 |
+
},
|
| 241 |
+
{
|
| 242 |
+
"step": 700,
|
| 243 |
+
"valid dino_similarity": 0.7561829090118408,
|
| 244 |
+
"train loss": 0.6925580501556396,
|
| 245 |
+
"train samples": 1400,
|
| 246 |
+
"train time": 114.16383885300024,
|
| 247 |
+
"eval time": 14.516270162999945,
|
| 248 |
+
"mem allocated avg": 8544385280.0,
|
| 249 |
+
"mem reserved avg": 10653532160.0,
|
| 250 |
+
"elapsed time": 955.3587929180001
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"step": 750,
|
| 254 |
+
"test dino_similarity": 0.6092074513435364,
|
| 255 |
+
"drift": 0.3103690445423126,
|
| 256 |
+
"train loss": 0.7067310810089111,
|
| 257 |
+
"train samples": 1500
|
| 258 |
+
}
|
| 259 |
+
]
|
| 260 |
+
},
|
| 261 |
+
"meta_info": {
|
| 262 |
+
"model_info": {
|
| 263 |
+
"sha": "a3b4f4849157f664bdbc776fd7453c2783562f4d",
|
| 264 |
+
"created_at": "2026-01-14T13:42:28+00:00"
|
| 265 |
+
},
|
| 266 |
+
"dataset_info": {
|
| 267 |
+
"sha": "37df3244ae3aa36e85178b6cf946338137fc3068",
|
| 268 |
+
"created_at": "2026-03-09T15:31:26+00:00"
|
| 269 |
+
},
|
| 270 |
+
"package_info": {
|
| 271 |
+
"transformers-version": "5.16.0",
|
| 272 |
+
"transformers-commit-hash": null,
|
| 273 |
+
"peft-version": "0.21.1.dev0",
|
| 274 |
+
"peft-commit-hash": "8956ffe2600979db5967d760be59724b741050f1",
|
| 275 |
+
"datasets-version": "5.0.1",
|
| 276 |
+
"datasets-commit-hash": null,
|
| 277 |
+
"diffusers-version": "0.40.0",
|
| 278 |
+
"diffusers-commit-hash": null,
|
| 279 |
+
"torch-version": "2.13.0+cu130",
|
| 280 |
+
"torch-commit-hash": null
|
| 281 |
+
},
|
| 282 |
+
"system_info": {
|
| 283 |
+
"system": "Linux",
|
| 284 |
+
"release": "7.0.0-31-generic",
|
| 285 |
+
"version": "#31~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Aug 10 09:38:02 UTC 2",
|
| 286 |
+
"machine": "x86_64",
|
| 287 |
+
"processor": "x86_64",
|
| 288 |
+
"accelerator": "NVIDIA GeForce RTX 5070 Ti"
|
| 289 |
+
},
|
| 290 |
+
"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"
|
| 291 |
+
}
|
| 292 |
+
}
|
imagegen/lora--flux2-klein-bd-lora--r64-rslora.json
ADDED
|
@@ -0,0 +1,292 @@
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"run_info": {
|
| 3 |
+
"created_at": "2026-09-23T10:39:43+00:00",
|
| 4 |
+
"total_time": 1320.3747036039967,
|
| 5 |
+
"experiment_name": "lora/flux2-klein-bd-lora",
|
| 6 |
+
"peft_branch": "add-velora-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": "LORA",
|
| 93 |
+
"auto_mapping": null,
|
| 94 |
+
"peft_version": "0.21.1.dev0@UNKNOWN",
|
| 95 |
+
"base_model_name_or_path": null,
|
| 96 |
+
"revision": null,
|
| 97 |
+
"inference_mode": false,
|
| 98 |
+
"r": 64,
|
| 99 |
+
"target_modules": [
|
| 100 |
+
"linear_in",
|
| 101 |
+
"add_q_proj",
|
| 102 |
+
"to_v",
|
| 103 |
+
"add_v_proj",
|
| 104 |
+
"to_k",
|
| 105 |
+
"to_add_out",
|
| 106 |
+
"add_k_proj",
|
| 107 |
+
"to_qkv_mlp_proj",
|
| 108 |
+
"to_q",
|
| 109 |
+
"to_out.0",
|
| 110 |
+
"linear_out"
|
| 111 |
+
],
|
| 112 |
+
"exclude_modules": null,
|
| 113 |
+
"lora_alpha": 64.0,
|
| 114 |
+
"lora_dropout": 0.0,
|
| 115 |
+
"fan_in_fan_out": false,
|
| 116 |
+
"bias": "none",
|
| 117 |
+
"use_rslora": true,
|
| 118 |
+
"modules_to_save": null,
|
| 119 |
+
"init_lora_weights": true,
|
| 120 |
+
"layers_to_transform": null,
|
| 121 |
+
"layers_pattern": null,
|
| 122 |
+
"rank_pattern": {},
|
| 123 |
+
"alpha_pattern": {},
|
| 124 |
+
"megatron_config": null,
|
| 125 |
+
"megatron_core": "megatron.core",
|
| 126 |
+
"trainable_token_indices": null,
|
| 127 |
+
"loftq_config": {},
|
| 128 |
+
"eva_config": null,
|
| 129 |
+
"corda_config": null,
|
| 130 |
+
"lora_ga_config": null,
|
| 131 |
+
"use_dora": false,
|
| 132 |
+
"velora_config": null,
|
| 133 |
+
"alora_invocation_tokens": null,
|
| 134 |
+
"use_qalora": false,
|
| 135 |
+
"qalora_group_size": 16,
|
| 136 |
+
"monteclora_config": null,
|
| 137 |
+
"layer_replication": null,
|
| 138 |
+
"lora_bias": false,
|
| 139 |
+
"target_parameters": null,
|
| 140 |
+
"use_bdlora": {
|
| 141 |
+
"target_modules_bd_a": [
|
| 142 |
+
"to_out.0",
|
| 143 |
+
"to_add_out",
|
| 144 |
+
"linear_out"
|
| 145 |
+
],
|
| 146 |
+
"target_modules_bd_b": [
|
| 147 |
+
"to_q",
|
| 148 |
+
"to_k",
|
| 149 |
+
"to_v",
|
| 150 |
+
"add_q_proj",
|
| 151 |
+
"add_k_proj",
|
| 152 |
+
"add_v_proj",
|
| 153 |
+
"to_qkv_mlp_proj",
|
| 154 |
+
"linear_in"
|
| 155 |
+
],
|
| 156 |
+
"nblocks": 4,
|
| 157 |
+
"match_strict": true
|
| 158 |
+
},
|
| 159 |
+
"arrow_config": null,
|
| 160 |
+
"kasa_config": null,
|
| 161 |
+
"ensure_weight_tying": false
|
| 162 |
+
},
|
| 163 |
+
"error_msg": ""
|
| 164 |
+
},
|
| 165 |
+
"train_info": {
|
| 166 |
+
"accelerator_memory_reserved_avg": 10898440366,
|
| 167 |
+
"accelerator_memory_max": 11096031232,
|
| 168 |
+
"accelerator_memory_reserved_99th": 11096031232,
|
| 169 |
+
"train_time": 1197.268813518007,
|
| 170 |
+
"file_size": 123885752,
|
| 171 |
+
"num_trainable_params": 30965760,
|
| 172 |
+
"num_total_params": 3906510336,
|
| 173 |
+
"status": "success",
|
| 174 |
+
"metrics": [
|
| 175 |
+
{
|
| 176 |
+
"step": 100,
|
| 177 |
+
"valid dino_similarity": 0.6838533878326416,
|
| 178 |
+
"train loss": 0.7752571105957031,
|
| 179 |
+
"train samples": 200,
|
| 180 |
+
"train time": 126.54055679099838,
|
| 181 |
+
"eval time": 15.720488437000313,
|
| 182 |
+
"mem allocated avg": 8823004170.24,
|
| 183 |
+
"mem reserved avg": 11092591902.72,
|
| 184 |
+
"elapsed time": 182.68277181300073
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"step": 200,
|
| 188 |
+
"valid dino_similarity": 0.4776051640510559,
|
| 189 |
+
"train loss": 0.7381388545036316,
|
| 190 |
+
"train samples": 400,
|
| 191 |
+
"train time": 123.8770195240104,
|
| 192 |
+
"eval time": 16.228175808999367,
|
| 193 |
+
"mem allocated avg": 8823050496.0,
|
| 194 |
+
"mem reserved avg": 10863247360.0,
|
| 195 |
+
"elapsed time": 322.80376226299995
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"step": 300,
|
| 199 |
+
"valid dino_similarity": 0.7205060720443726,
|
| 200 |
+
"train loss": 0.758135199546814,
|
| 201 |
+
"train samples": 600,
|
| 202 |
+
"train time": 127.58556946400131,
|
| 203 |
+
"eval time": 16.046643931997096,
|
| 204 |
+
"mem allocated avg": 8823101696.0,
|
| 205 |
+
"mem reserved avg": 10869538816.0,
|
| 206 |
+
"elapsed time": 466.4509247640017
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"step": 400,
|
| 210 |
+
"valid dino_similarity": 0.8088279962539673,
|
| 211 |
+
"train loss": 0.7142875790596008,
|
| 212 |
+
"train samples": 800,
|
| 213 |
+
"train time": 124.98465481098538,
|
| 214 |
+
"eval time": 16.08241876000102,
|
| 215 |
+
"mem allocated avg": 8823152896.0,
|
| 216 |
+
"mem reserved avg": 10869538816.0,
|
| 217 |
+
"elapsed time": 607.5338256860014
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"step": 500,
|
| 221 |
+
"valid dino_similarity": 0.7234516739845276,
|
| 222 |
+
"train loss": 0.7151382565498352,
|
| 223 |
+
"train samples": 1000,
|
| 224 |
+
"train time": 127.64397584200924,
|
| 225 |
+
"eval time": 16.26906651599711,
|
| 226 |
+
"mem allocated avg": 8823204096.0,
|
| 227 |
+
"mem reserved avg": 10869538816.0,
|
| 228 |
+
"elapsed time": 751.4626401720016
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"step": 600,
|
| 232 |
+
"valid dino_similarity": 0.6911174654960632,
|
| 233 |
+
"train loss": 0.6936430931091309,
|
| 234 |
+
"train samples": 1200,
|
| 235 |
+
"train time": 123.97614053799771,
|
| 236 |
+
"eval time": 15.165005142000155,
|
| 237 |
+
"mem allocated avg": 8823255296.0,
|
| 238 |
+
"mem reserved avg": 10869538816.0,
|
| 239 |
+
"elapsed time": 890.619513564001
|
| 240 |
+
},
|
| 241 |
+
{
|
| 242 |
+
"step": 700,
|
| 243 |
+
"valid dino_similarity": 0.6885030269622803,
|
| 244 |
+
"train loss": 0.6838070750236511,
|
| 245 |
+
"train samples": 1400,
|
| 246 |
+
"train time": 119.279812004017,
|
| 247 |
+
"eval time": 15.12181354600034,
|
| 248 |
+
"mem allocated avg": 8823306496.0,
|
| 249 |
+
"mem reserved avg": 10869538816.0,
|
| 250 |
+
"elapsed time": 1025.0361471880024
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"step": 750,
|
| 254 |
+
"test dino_similarity": 0.6964144110679626,
|
| 255 |
+
"drift": 0.28718101978302,
|
| 256 |
+
"train loss": 0.6529881954193115,
|
| 257 |
+
"train samples": 1500
|
| 258 |
+
}
|
| 259 |
+
]
|
| 260 |
+
},
|
| 261 |
+
"meta_info": {
|
| 262 |
+
"model_info": {
|
| 263 |
+
"sha": "a3b4f4849157f664bdbc776fd7453c2783562f4d",
|
| 264 |
+
"created_at": "2026-01-14T13:42:28+00:00"
|
| 265 |
+
},
|
| 266 |
+
"dataset_info": {
|
| 267 |
+
"sha": "37df3244ae3aa36e85178b6cf946338137fc3068",
|
| 268 |
+
"created_at": "2026-03-09T15:31:26+00:00"
|
| 269 |
+
},
|
| 270 |
+
"package_info": {
|
| 271 |
+
"transformers-version": "5.16.0",
|
| 272 |
+
"transformers-commit-hash": null,
|
| 273 |
+
"peft-version": "0.21.1.dev0",
|
| 274 |
+
"peft-commit-hash": "8956ffe2600979db5967d760be59724b741050f1",
|
| 275 |
+
"datasets-version": "5.0.1",
|
| 276 |
+
"datasets-commit-hash": null,
|
| 277 |
+
"diffusers-version": "0.40.0",
|
| 278 |
+
"diffusers-commit-hash": null,
|
| 279 |
+
"torch-version": "2.13.0+cu130",
|
| 280 |
+
"torch-commit-hash": null
|
| 281 |
+
},
|
| 282 |
+
"system_info": {
|
| 283 |
+
"system": "Linux",
|
| 284 |
+
"release": "7.0.0-31-generic",
|
| 285 |
+
"version": "#31~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Aug 10 09:38:02 UTC 2",
|
| 286 |
+
"machine": "x86_64",
|
| 287 |
+
"processor": "x86_64",
|
| 288 |
+
"accelerator": "NVIDIA GeForce RTX 5070 Ti"
|
| 289 |
+
},
|
| 290 |
+
"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"
|
| 291 |
+
}
|
| 292 |
+
}
|
imagegen/lora--flux2-klein-bd-lora--r64.json
ADDED
|
@@ -0,0 +1,292 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"run_info": {
|
| 3 |
+
"created_at": "2026-09-22T20:13:49+00:00",
|
| 4 |
+
"total_time": 1214.473422469,
|
| 5 |
+
"experiment_name": "lora/flux2-klein-bd-lora",
|
| 6 |
+
"peft_branch": "add-velora-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": "LORA",
|
| 93 |
+
"auto_mapping": null,
|
| 94 |
+
"peft_version": "0.21.1.dev0@UNKNOWN",
|
| 95 |
+
"base_model_name_or_path": null,
|
| 96 |
+
"revision": null,
|
| 97 |
+
"inference_mode": false,
|
| 98 |
+
"r": 64,
|
| 99 |
+
"target_modules": [
|
| 100 |
+
"add_k_proj",
|
| 101 |
+
"add_q_proj",
|
| 102 |
+
"to_qkv_mlp_proj",
|
| 103 |
+
"add_v_proj",
|
| 104 |
+
"linear_out",
|
| 105 |
+
"linear_in",
|
| 106 |
+
"to_add_out",
|
| 107 |
+
"to_k",
|
| 108 |
+
"to_out.0",
|
| 109 |
+
"to_v",
|
| 110 |
+
"to_q"
|
| 111 |
+
],
|
| 112 |
+
"exclude_modules": null,
|
| 113 |
+
"lora_alpha": 64,
|
| 114 |
+
"lora_dropout": 0.0,
|
| 115 |
+
"fan_in_fan_out": false,
|
| 116 |
+
"bias": "none",
|
| 117 |
+
"use_rslora": false,
|
| 118 |
+
"modules_to_save": null,
|
| 119 |
+
"init_lora_weights": true,
|
| 120 |
+
"layers_to_transform": null,
|
| 121 |
+
"layers_pattern": null,
|
| 122 |
+
"rank_pattern": {},
|
| 123 |
+
"alpha_pattern": {},
|
| 124 |
+
"megatron_config": null,
|
| 125 |
+
"megatron_core": "megatron.core",
|
| 126 |
+
"trainable_token_indices": null,
|
| 127 |
+
"loftq_config": {},
|
| 128 |
+
"eva_config": null,
|
| 129 |
+
"corda_config": null,
|
| 130 |
+
"lora_ga_config": null,
|
| 131 |
+
"use_dora": false,
|
| 132 |
+
"velora_config": null,
|
| 133 |
+
"alora_invocation_tokens": null,
|
| 134 |
+
"use_qalora": false,
|
| 135 |
+
"qalora_group_size": 16,
|
| 136 |
+
"monteclora_config": null,
|
| 137 |
+
"layer_replication": null,
|
| 138 |
+
"lora_bias": false,
|
| 139 |
+
"target_parameters": null,
|
| 140 |
+
"use_bdlora": {
|
| 141 |
+
"target_modules_bd_a": [
|
| 142 |
+
"to_out.0",
|
| 143 |
+
"to_add_out",
|
| 144 |
+
"linear_out"
|
| 145 |
+
],
|
| 146 |
+
"target_modules_bd_b": [
|
| 147 |
+
"to_q",
|
| 148 |
+
"to_k",
|
| 149 |
+
"to_v",
|
| 150 |
+
"add_q_proj",
|
| 151 |
+
"add_k_proj",
|
| 152 |
+
"add_v_proj",
|
| 153 |
+
"to_qkv_mlp_proj",
|
| 154 |
+
"linear_in"
|
| 155 |
+
],
|
| 156 |
+
"nblocks": 4,
|
| 157 |
+
"match_strict": true
|
| 158 |
+
},
|
| 159 |
+
"arrow_config": null,
|
| 160 |
+
"kasa_config": null,
|
| 161 |
+
"ensure_weight_tying": false
|
| 162 |
+
},
|
| 163 |
+
"error_msg": ""
|
| 164 |
+
},
|
| 165 |
+
"train_info": {
|
| 166 |
+
"accelerator_memory_reserved_avg": 10898440366,
|
| 167 |
+
"accelerator_memory_max": 11096031232,
|
| 168 |
+
"accelerator_memory_reserved_99th": 11096031232,
|
| 169 |
+
"train_time": 1099.351314207,
|
| 170 |
+
"file_size": 123885752,
|
| 171 |
+
"num_trainable_params": 30965760,
|
| 172 |
+
"num_total_params": 3906510336,
|
| 173 |
+
"status": "success",
|
| 174 |
+
"metrics": [
|
| 175 |
+
{
|
| 176 |
+
"step": 100,
|
| 177 |
+
"valid dino_similarity": 0.6538704633712769,
|
| 178 |
+
"train loss": 0.7798693776130676,
|
| 179 |
+
"train samples": 200,
|
| 180 |
+
"train time": 117.57215687300027,
|
| 181 |
+
"eval time": 14.676490711000042,
|
| 182 |
+
"mem allocated avg": 8823004170.24,
|
| 183 |
+
"mem reserved avg": 11092591902.72,
|
| 184 |
+
"elapsed time": 145.25860700700014
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"step": 200,
|
| 188 |
+
"valid dino_similarity": 0.7436508536338806,
|
| 189 |
+
"train loss": 0.7505261898040771,
|
| 190 |
+
"train samples": 400,
|
| 191 |
+
"train time": 115.25963488099956,
|
| 192 |
+
"eval time": 14.747034195999959,
|
| 193 |
+
"mem allocated avg": 8823050496.0,
|
| 194 |
+
"mem reserved avg": 10863247360.0,
|
| 195 |
+
"elapsed time": 275.283822441
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"step": 300,
|
| 199 |
+
"valid dino_similarity": 0.7302769422531128,
|
| 200 |
+
"train loss": 0.7769213914871216,
|
| 201 |
+
"train samples": 600,
|
| 202 |
+
"train time": 115.42314803200134,
|
| 203 |
+
"eval time": 14.648817999999665,
|
| 204 |
+
"mem allocated avg": 8823101696.0,
|
| 205 |
+
"mem reserved avg": 10869538816.0,
|
| 206 |
+
"elapsed time": 405.37388577100023
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"step": 400,
|
| 210 |
+
"valid dino_similarity": 0.7779433727264404,
|
| 211 |
+
"train loss": 0.7398035526275635,
|
| 212 |
+
"train samples": 800,
|
| 213 |
+
"train time": 115.3520579829983,
|
| 214 |
+
"eval time": 14.627588062000086,
|
| 215 |
+
"mem allocated avg": 8823152896.0,
|
| 216 |
+
"mem reserved avg": 10869538816.0,
|
| 217 |
+
"elapsed time": 535.3714352610002
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"step": 500,
|
| 221 |
+
"valid dino_similarity": 0.7606746554374695,
|
| 222 |
+
"train loss": 0.748808741569519,
|
| 223 |
+
"train samples": 1000,
|
| 224 |
+
"train time": 115.30180531900032,
|
| 225 |
+
"eval time": 14.638552777999848,
|
| 226 |
+
"mem allocated avg": 8823204096.0,
|
| 227 |
+
"mem reserved avg": 10869538816.0,
|
| 228 |
+
"elapsed time": 665.330039967
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"step": 600,
|
| 232 |
+
"valid dino_similarity": 0.7196746468544006,
|
| 233 |
+
"train loss": 0.7377213835716248,
|
| 234 |
+
"train samples": 1200,
|
| 235 |
+
"train time": 115.2457208819992,
|
| 236 |
+
"eval time": 14.62542058300005,
|
| 237 |
+
"mem allocated avg": 8823255296.0,
|
| 238 |
+
"mem reserved avg": 10869538816.0,
|
| 239 |
+
"elapsed time": 795.2193855970002
|
| 240 |
+
},
|
| 241 |
+
{
|
| 242 |
+
"step": 700,
|
| 243 |
+
"valid dino_similarity": 0.6960782408714294,
|
| 244 |
+
"train loss": 0.7419256567955017,
|
| 245 |
+
"train samples": 1400,
|
| 246 |
+
"train time": 115.49817383199934,
|
| 247 |
+
"eval time": 14.615155666000192,
|
| 248 |
+
"mem allocated avg": 8823306496.0,
|
| 249 |
+
"mem reserved avg": 10869538816.0,
|
| 250 |
+
"elapsed time": 925.3508916510002
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"step": 750,
|
| 254 |
+
"test dino_similarity": 0.6820347706476847,
|
| 255 |
+
"drift": 0.26428140699863434,
|
| 256 |
+
"train loss": 0.714695930480957,
|
| 257 |
+
"train samples": 1500
|
| 258 |
+
}
|
| 259 |
+
]
|
| 260 |
+
},
|
| 261 |
+
"meta_info": {
|
| 262 |
+
"model_info": {
|
| 263 |
+
"sha": "a3b4f4849157f664bdbc776fd7453c2783562f4d",
|
| 264 |
+
"created_at": "2026-01-14T13:42:28+00:00"
|
| 265 |
+
},
|
| 266 |
+
"dataset_info": {
|
| 267 |
+
"sha": "37df3244ae3aa36e85178b6cf946338137fc3068",
|
| 268 |
+
"created_at": "2026-03-09T15:31:26+00:00"
|
| 269 |
+
},
|
| 270 |
+
"package_info": {
|
| 271 |
+
"transformers-version": "5.16.0",
|
| 272 |
+
"transformers-commit-hash": null,
|
| 273 |
+
"peft-version": "0.21.1.dev0",
|
| 274 |
+
"peft-commit-hash": "8956ffe2600979db5967d760be59724b741050f1",
|
| 275 |
+
"datasets-version": "5.0.1",
|
| 276 |
+
"datasets-commit-hash": null,
|
| 277 |
+
"diffusers-version": "0.40.0",
|
| 278 |
+
"diffusers-commit-hash": null,
|
| 279 |
+
"torch-version": "2.13.0+cu130",
|
| 280 |
+
"torch-commit-hash": null
|
| 281 |
+
},
|
| 282 |
+
"system_info": {
|
| 283 |
+
"system": "Linux",
|
| 284 |
+
"release": "7.0.0-31-generic",
|
| 285 |
+
"version": "#31~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Aug 10 09:38:02 UTC 2",
|
| 286 |
+
"machine": "x86_64",
|
| 287 |
+
"processor": "x86_64",
|
| 288 |
+
"accelerator": "NVIDIA GeForce RTX 5070 Ti"
|
| 289 |
+
},
|
| 290 |
+
"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"
|
| 291 |
+
}
|
| 292 |
+
}
|