JasonXF commited on
Commit
eb730e7
Β·
verified Β·
1 Parent(s): 42baf8b

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes. Β  See raw diff
Files changed (50) hide show
  1. .gitattributes +33 -0
  2. lora_128_dim_512_H100/train.log +0 -0
  3. lora_256_dim_1024_H100/train.log +0 -0
  4. lora_256_dim_512_H100/step_vis/test_0_step_003300.png +3 -0
  5. lora_256_dim_512_H100/step_vis/test_0_step_006600_sample02.png +3 -0
  6. lora_256_dim_512_H100/step_vis/test_0_step_009900_sample00.png +3 -0
  7. lora_256_dim_512_H100/step_vis/test_0_step_009900_sample04.png +3 -0
  8. lora_256_dim_512_H100/step_vis/test_1_step_013200.png +3 -0
  9. lora_256_dim_512_H100/step_vis/test_1_step_019799_sample03.png +3 -0
  10. lora_256_dim_512_H100/step_vis/test_2_step_003300_sample04.png +3 -0
  11. lora_256_dim_512_H100/step_vis/test_2_step_006600_sample00.png +3 -0
  12. lora_256_dim_512_H100/step_vis/test_2_step_013200_sample00.png +3 -0
  13. lora_256_dim_512_H100/step_vis/test_2_step_013200_sample04.png +3 -0
  14. lora_256_dim_512_H100/step_vis/test_3_step_000000.png +3 -0
  15. lora_256_dim_512_H100/step_vis/test_3_step_003300_sample02.png +3 -0
  16. lora_256_dim_512_H100/step_vis/test_3_step_013200_sample00.png +3 -0
  17. lora_256_dim_512_H100/step_vis/test_3_step_013200_sample01.png +3 -0
  18. lora_256_dim_512_H100/step_vis/test_3_step_019799_sample03.png +3 -0
  19. lora_256_dim_512_H100/step_vis/test_4_step_000000_sample04.png +3 -0
  20. lora_256_dim_512_H100/step_vis/test_4_step_019799_sample01.png +3 -0
  21. lora_256_dim_512_H100/step_vis/test_5_step_000000_sample03.png +3 -0
  22. lora_256_dim_512_H100/step_vis/test_5_step_003300_sample00.png +3 -0
  23. lora_256_dim_512_H100/step_vis/test_5_step_016500_sample03.png +3 -0
  24. lora_256_dim_512_H100/step_vis/train_0_step_000000_sample03.png +3 -0
  25. lora_256_dim_512_H100/step_vis/train_0_step_006600_sample01.png +3 -0
  26. lora_256_dim_512_H100/step_vis/train_0_step_009900_sample02.png +3 -0
  27. lora_256_dim_512_H100/step_vis/train_0_step_009900_sample03.png +3 -0
  28. lora_256_dim_512_H100/step_vis/train_0_step_019799_sample00.png +3 -0
  29. lora_256_dim_512_H100/step_vis/train_0_step_019799_sample01.png +3 -0
  30. lora_256_dim_512_H100/step_vis/train_1_step_000000_sample03.png +3 -0
  31. lora_256_dim_512_H100/step_vis/train_1_step_019799.png +3 -0
  32. lora_256_dim_512_H100/step_vis/val_0_step_013200_sample03.png +3 -0
  33. lora_256_dim_512_H100/step_vis/val_0_step_019799_sample04.png +3 -0
  34. lora_256_dim_512_H100/step_vis/val_1_step_000000_sample03.png +3 -0
  35. lora_256_dim_512_H100/step_vis/val_1_step_003300_sample03.png +3 -0
  36. lora_256_dim_512_H100/step_vis/val_1_step_019799_sample04.png +3 -0
  37. lora_256_dim_512_H100/train.log +0 -0
  38. lora_512_dim_512_H100_a/train.log +0 -0
  39. lora_512_dim_768_H100_b/train.log +0 -0
  40. lora_baseline_h100/tmux_run.log +108 -0
  41. lora_baseline_h100/train.log +1022 -0
  42. lora_rank_128_mlp_1k_h100/train.log +0 -0
  43. test_single_gpu_20260415_162558.log +93 -0
  44. test_single_gpu_20260415_165338.log +58 -0
  45. test_single_gpu_20260415_165414.log +93 -0
  46. test_single_gpu_20260415_165844.log +175 -0
  47. training log/trainlog(lora128dim512) +0 -0
  48. training log/trainlog(lora256dim384) +0 -0
  49. training log/trainlog(lora256dim512) +0 -0
  50. training log/trainlog(lora256dim768) +0 -0
.gitattributes CHANGED
@@ -33,3 +33,36 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ lora_256_dim_512_H100/step_vis/test_1_step_019799_sample03.png filter=lfs diff=lfs merge=lfs -text
37
+ lora_256_dim_512_H100/step_vis/test_5_step_003300_sample00.png filter=lfs diff=lfs merge=lfs -text
38
+ lora_256_dim_512_H100/step_vis/test_3_step_000000.png filter=lfs diff=lfs merge=lfs -text
39
+ lora_256_dim_512_H100/step_vis/train_0_step_009900_sample02.png filter=lfs diff=lfs merge=lfs -text
40
+ lora_256_dim_512_H100/step_vis/test_4_step_019799_sample01.png filter=lfs diff=lfs merge=lfs -text
41
+ lora_256_dim_512_H100/step_vis/train_0_step_019799_sample01.png filter=lfs diff=lfs merge=lfs -text
42
+ lora_256_dim_512_H100/step_vis/test_3_step_013200_sample01.png filter=lfs diff=lfs merge=lfs -text
43
+ lora_256_dim_512_H100/step_vis/test_1_step_013200.png filter=lfs diff=lfs merge=lfs -text
44
+ lora_256_dim_512_H100/step_vis/train_0_step_000000_sample03.png filter=lfs diff=lfs merge=lfs -text
45
+ lora_256_dim_512_H100/step_vis/test_0_step_009900_sample04.png filter=lfs diff=lfs merge=lfs -text
46
+ lora_256_dim_512_H100/step_vis/val_1_step_000000_sample03.png filter=lfs diff=lfs merge=lfs -text
47
+ lora_256_dim_512_H100/step_vis/test_5_step_016500_sample03.png filter=lfs diff=lfs merge=lfs -text
48
+ lora_256_dim_512_H100/step_vis/train_0_step_019799_sample00.png filter=lfs diff=lfs merge=lfs -text
49
+ lora_256_dim_512_H100/step_vis/test_3_step_019799_sample03.png filter=lfs diff=lfs merge=lfs -text
50
+ lora_256_dim_512_H100/step_vis/test_0_step_003300.png filter=lfs diff=lfs merge=lfs -text
51
+ lora_256_dim_512_H100/step_vis/test_3_step_003300_sample02.png filter=lfs diff=lfs merge=lfs -text
52
+ lora_256_dim_512_H100/step_vis/train_1_step_019799.png filter=lfs diff=lfs merge=lfs -text
53
+ lora_256_dim_512_H100/step_vis/test_2_step_003300_sample04.png filter=lfs diff=lfs merge=lfs -text
54
+ lora_256_dim_512_H100/step_vis/train_0_step_006600_sample01.png filter=lfs diff=lfs merge=lfs -text
55
+ lora_256_dim_512_H100/step_vis/test_5_step_000000_sample03.png filter=lfs diff=lfs merge=lfs -text
56
+ lora_256_dim_512_H100/step_vis/val_1_step_019799_sample04.png filter=lfs diff=lfs merge=lfs -text
57
+ lora_256_dim_512_H100/step_vis/test_0_step_006600_sample02.png filter=lfs diff=lfs merge=lfs -text
58
+ lora_256_dim_512_H100/step_vis/test_2_step_006600_sample00.png filter=lfs diff=lfs merge=lfs -text
59
+ lora_256_dim_512_H100/step_vis/val_0_step_013200_sample03.png filter=lfs diff=lfs merge=lfs -text
60
+ lora_256_dim_512_H100/step_vis/test_0_step_009900_sample00.png filter=lfs diff=lfs merge=lfs -text
61
+ lora_256_dim_512_H100/step_vis/train_0_step_009900_sample03.png filter=lfs diff=lfs merge=lfs -text
62
+ lora_256_dim_512_H100/step_vis/test_4_step_000000_sample04.png filter=lfs diff=lfs merge=lfs -text
63
+ lora_256_dim_512_H100/step_vis/test_2_step_013200_sample04.png filter=lfs diff=lfs merge=lfs -text
64
+ lora_256_dim_512_H100/step_vis/train_1_step_000000_sample03.png filter=lfs diff=lfs merge=lfs -text
65
+ lora_256_dim_512_H100/step_vis/test_2_step_013200_sample00.png filter=lfs diff=lfs merge=lfs -text
66
+ lora_256_dim_512_H100/step_vis/val_1_step_003300_sample03.png filter=lfs diff=lfs merge=lfs -text
67
+ lora_256_dim_512_H100/step_vis/test_3_step_013200_sample00.png filter=lfs diff=lfs merge=lfs -text
68
+ lora_256_dim_512_H100/step_vis/val_0_step_019799_sample04.png filter=lfs diff=lfs merge=lfs -text
lora_128_dim_512_H100/train.log ADDED
The diff for this file is too large to render. See raw diff
 
lora_256_dim_1024_H100/train.log ADDED
The diff for this file is too large to render. See raw diff
 
lora_256_dim_512_H100/step_vis/test_0_step_003300.png ADDED

Git LFS Details

  • SHA256: b2f4820b2d3cd883ca9549c7565513f0141541939aab85167b3fb0cd02782c00
  • Pointer size: 132 Bytes
  • Size of remote file: 1.77 MB
lora_256_dim_512_H100/step_vis/test_0_step_006600_sample02.png ADDED

Git LFS Details

  • SHA256: 992103095a63e666e449a2dc3d2b5f34e96ac62b2c64c7fe000806279b8a04b0
  • Pointer size: 132 Bytes
  • Size of remote file: 1.84 MB
lora_256_dim_512_H100/step_vis/test_0_step_009900_sample00.png ADDED

Git LFS Details

  • SHA256: e3d128f7b4532cda3023960eea4162b4084af2e2b55c9a60d2bca46099579066
  • Pointer size: 132 Bytes
  • Size of remote file: 1.7 MB
lora_256_dim_512_H100/step_vis/test_0_step_009900_sample04.png ADDED

Git LFS Details

  • SHA256: 181f78d9ae96c976865b5c213449b91f7a007828c4cb1d0f4648931aef9821ce
  • Pointer size: 132 Bytes
  • Size of remote file: 1.9 MB
lora_256_dim_512_H100/step_vis/test_1_step_013200.png ADDED

Git LFS Details

  • SHA256: a755dd6496ced393c83bdebb546be91aac0f4cc521c946e0061f110479b7a721
  • Pointer size: 132 Bytes
  • Size of remote file: 1.72 MB
lora_256_dim_512_H100/step_vis/test_1_step_019799_sample03.png ADDED

Git LFS Details

  • SHA256: 6216e4d4602059073bb5a196d9e96926471d613e246f9642b0cc1327010307a2
  • Pointer size: 132 Bytes
  • Size of remote file: 1.68 MB
lora_256_dim_512_H100/step_vis/test_2_step_003300_sample04.png ADDED

Git LFS Details

  • SHA256: 32aa9314637342b1d8e79453806ce91f77dd590b9b7c9c0b9099fb7b3f71958b
  • Pointer size: 132 Bytes
  • Size of remote file: 1.72 MB
lora_256_dim_512_H100/step_vis/test_2_step_006600_sample00.png ADDED

Git LFS Details

  • SHA256: ff5b27108a92967726ee830cb2628517d3c6351fc528b95370cf2a77c9ddcc63
  • Pointer size: 132 Bytes
  • Size of remote file: 1.81 MB
lora_256_dim_512_H100/step_vis/test_2_step_013200_sample00.png ADDED

Git LFS Details

  • SHA256: 4ba7144dfc3db9d32248a9d27d354fee08cff200d003d85b35035b6ef28ed3cb
  • Pointer size: 132 Bytes
  • Size of remote file: 1.81 MB
lora_256_dim_512_H100/step_vis/test_2_step_013200_sample04.png ADDED

Git LFS Details

  • SHA256: e7d7d40bb529139739dfc721ba67911b2e11ab5e0c19ee8dbabdec693bebe8a1
  • Pointer size: 132 Bytes
  • Size of remote file: 1.79 MB
lora_256_dim_512_H100/step_vis/test_3_step_000000.png ADDED

Git LFS Details

  • SHA256: e7f7b77c07117cabe0d0d23a2be05bf83ad958c43ef794a35cfe63be3dc555d2
  • Pointer size: 132 Bytes
  • Size of remote file: 2.09 MB
lora_256_dim_512_H100/step_vis/test_3_step_003300_sample02.png ADDED

Git LFS Details

  • SHA256: 1e85629e8ee9172998f2a3b1b9668a2f74171295c6e1d63be5a0e9421c0a7f16
  • Pointer size: 132 Bytes
  • Size of remote file: 1.87 MB
lora_256_dim_512_H100/step_vis/test_3_step_013200_sample00.png ADDED

Git LFS Details

  • SHA256: ad1538916dad6d1ca9d5b68ca347bd85f0b76039eff63df9bc64a07b80c5cc80
  • Pointer size: 132 Bytes
  • Size of remote file: 1.76 MB
lora_256_dim_512_H100/step_vis/test_3_step_013200_sample01.png ADDED

Git LFS Details

  • SHA256: b39a0ce64df695d505f92be0b65737637b44334af5a4ca1fdbbf772d09b107f5
  • Pointer size: 132 Bytes
  • Size of remote file: 1.87 MB
lora_256_dim_512_H100/step_vis/test_3_step_019799_sample03.png ADDED

Git LFS Details

  • SHA256: ccc038df1e011c24905371a7c6e4b0e1b07c5d502dcd731a7706b22b50d28849
  • Pointer size: 132 Bytes
  • Size of remote file: 2.15 MB
lora_256_dim_512_H100/step_vis/test_4_step_000000_sample04.png ADDED

Git LFS Details

  • SHA256: 07a8b9077798c7089164b34fada996cd49e7e456c4c4807f8790a5441480c1a0
  • Pointer size: 132 Bytes
  • Size of remote file: 2.76 MB
lora_256_dim_512_H100/step_vis/test_4_step_019799_sample01.png ADDED

Git LFS Details

  • SHA256: 23eb9740316f133e961537fcc62c57d022669036de4051d5c1508c5ae11a7569
  • Pointer size: 132 Bytes
  • Size of remote file: 1.91 MB
lora_256_dim_512_H100/step_vis/test_5_step_000000_sample03.png ADDED

Git LFS Details

  • SHA256: ba0c1f70bbed7520b24c88dcb693624b52cc8d80b863f4dd40966294d0ad4ef1
  • Pointer size: 132 Bytes
  • Size of remote file: 2.71 MB
lora_256_dim_512_H100/step_vis/test_5_step_003300_sample00.png ADDED

Git LFS Details

  • SHA256: 84ee85280c1c455d2fc17de67f51cc773f76f1e3f26d362342501cdfd78ef96e
  • Pointer size: 132 Bytes
  • Size of remote file: 1.93 MB
lora_256_dim_512_H100/step_vis/test_5_step_016500_sample03.png ADDED

Git LFS Details

  • SHA256: df16e5e8751b5f083464eda01ae92f276e9d69ef7a5e9e759321af07cc2bdaa0
  • Pointer size: 132 Bytes
  • Size of remote file: 1.91 MB
lora_256_dim_512_H100/step_vis/train_0_step_000000_sample03.png ADDED

Git LFS Details

  • SHA256: 66bec9d71d711a4438cca2d1c7e927a4c81f4ada96bf82ba738b779b801a5cd6
  • Pointer size: 132 Bytes
  • Size of remote file: 2.75 MB
lora_256_dim_512_H100/step_vis/train_0_step_006600_sample01.png ADDED

Git LFS Details

  • SHA256: e6dbdae84b7c89bf74896287e991d43ec1c613448fe8713c3b39133f60afc02e
  • Pointer size: 132 Bytes
  • Size of remote file: 1.77 MB
lora_256_dim_512_H100/step_vis/train_0_step_009900_sample02.png ADDED

Git LFS Details

  • SHA256: 7833772ebc303850a86e3c3080f4d49d8d8eff771a9835fa64a09cd32f3856ad
  • Pointer size: 132 Bytes
  • Size of remote file: 1.87 MB
lora_256_dim_512_H100/step_vis/train_0_step_009900_sample03.png ADDED

Git LFS Details

  • SHA256: 35382f3583044f2d1c2cc490fd25d37ca45cde0fd3a903859ed29298aac863bb
  • Pointer size: 132 Bytes
  • Size of remote file: 1.66 MB
lora_256_dim_512_H100/step_vis/train_0_step_019799_sample00.png ADDED

Git LFS Details

  • SHA256: 2079a5150feafd7442153a6ea2b3502fe400e8393104bc68c2a4ff6f7bc6bc34
  • Pointer size: 132 Bytes
  • Size of remote file: 1.72 MB
lora_256_dim_512_H100/step_vis/train_0_step_019799_sample01.png ADDED

Git LFS Details

  • SHA256: abcdd9dc154d723e6921625ab3db60f4d0f1900216eeca1aaca85c47dafc7e00
  • Pointer size: 132 Bytes
  • Size of remote file: 1.71 MB
lora_256_dim_512_H100/step_vis/train_1_step_000000_sample03.png ADDED

Git LFS Details

  • SHA256: 1624ad9172b04308344f80db6aacdc4d206e294c36678130b6707713642316b3
  • Pointer size: 132 Bytes
  • Size of remote file: 2.71 MB
lora_256_dim_512_H100/step_vis/train_1_step_019799.png ADDED

Git LFS Details

  • SHA256: e8769af1e8cc2f04fc07685164f63842012edf6a016370a4b86c8e70232ae744
  • Pointer size: 132 Bytes
  • Size of remote file: 1.82 MB
lora_256_dim_512_H100/step_vis/val_0_step_013200_sample03.png ADDED

Git LFS Details

  • SHA256: 1739dc7739f82b21d9bb0bf5d4ca7cfe52126aa35402ecfcfb75067dcaace7ae
  • Pointer size: 132 Bytes
  • Size of remote file: 1.53 MB
lora_256_dim_512_H100/step_vis/val_0_step_019799_sample04.png ADDED

Git LFS Details

  • SHA256: 34bdab3a7c64b65f177c4dd88c5ca6fcc6736405c4c79058272d4fa48322fcf7
  • Pointer size: 132 Bytes
  • Size of remote file: 1.78 MB
lora_256_dim_512_H100/step_vis/val_1_step_000000_sample03.png ADDED

Git LFS Details

  • SHA256: fa067b426669c10cab2706f68239f08389343dbc67589c164a9155623c39c6b8
  • Pointer size: 132 Bytes
  • Size of remote file: 2.77 MB
lora_256_dim_512_H100/step_vis/val_1_step_003300_sample03.png ADDED

Git LFS Details

  • SHA256: 691de381385b532b7002c495440d4cdabd592752876d40991ea8b2f4c323c996
  • Pointer size: 132 Bytes
  • Size of remote file: 1.8 MB
lora_256_dim_512_H100/step_vis/val_1_step_019799_sample04.png ADDED

Git LFS Details

  • SHA256: 093f9e396df72b0851d14ab7a6f22a4dd679fe40e67971ddf20638edb25d011a
  • Pointer size: 132 Bytes
  • Size of remote file: 1.74 MB
lora_256_dim_512_H100/train.log ADDED
The diff for this file is too large to render. See raw diff
 
lora_512_dim_512_H100_a/train.log ADDED
The diff for this file is too large to render. See raw diff
 
lora_512_dim_768_H100_b/train.log ADDED
The diff for this file is too large to render. See raw diff
 
lora_baseline_h100/tmux_run.log ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Run dir : output/lora_baseline_h100
2
+ Log file: output/lora_baseline_h100/train.log
3
+ GPU: NVIDIA GeForce RTX 5090 | VRAM: 31.4 GiB | PyTorch: 2.11.0+cu130
4
+
5
+ WARNING: WandB init failed β€” training will continue without logging.
6
+ Error: No API key configured. Use `wandb login` to log in.
7
+ Fix: check WANDB_API_KEY permissions, or run with --no-wandb to silence this.
8
+
9
+ wandb: WARNING Changes to your `wandb` environment variables will be ignored because your `wandb` session has already started. For more information on how to modify your settings with `wandb.init()` arguments, please refer to https://wandb.me/wandb-init.
10
+
11
+ Final Configuration:
12
+ Paths:
13
+ transformer_path weights/flux2_dev_fp8mixed.safetensors
14
+ vae_path weights/flux2-vae.safetensors
15
+ controlnet_path weights/FLUX.2-dev-Fun-Controlnet-Union-2602.safetensors
16
+ dataset_dir dataset
17
+ color_map_path configs/color_map.json
18
+ output_dir output/lora_baseline_h100
19
+ text_encoder_path weights/mistral_3_small_flux2_fp8.safetensors
20
+ precomputed_embeddings output/text_embeddings_global.pt
21
+ Model:
22
+ image_size 1024
23
+ num_classes 6
24
+ control_in_dim 3072
25
+ fusion_dim 768
26
+ num_fusion_blocks 3
27
+ num_heads 12
28
+ num_fourier_bands 32
29
+ boundary_threshold 0.1
30
+ Training:
31
+ num_epochs 500
32
+ batch_size 4
33
+ learning_rate 0.0006
34
+ weight_decay 0.01
35
+ max_grad_norm 1.0
36
+ grad_accum_steps 4
37
+ guidance_scale 3.5
38
+ num_workers 0
39
+ Text Encoder:
40
+ text_seq_len 512
41
+ text_dim 15360
42
+ Logging:
43
+ log_interval 10
44
+ save_every_n_epochs 5
45
+ val_every_n_epochs 1
46
+ WandB:
47
+ wandb_entity
48
+ wandb_project lora_baseline_h100
49
+ Resume:
50
+ resume_from (not set)
51
+ [MEM @ pre-flight] RAM: 11.6/188.5 GiB (6.2%) | VRAM: 0.0/31.4 GiB (0.0%)
52
+
53
+ Pre-flight checks...
54
+ βœ“ torch
55
+ βœ“ diffusers
56
+ βœ“ safetensors
57
+ βœ“ Pillow
58
+ βœ“ tifffile
59
+ βœ“ wandb
60
+ βœ“ transformers
61
+ βœ“ psutil
62
+ βœ“ GPU: NVIDIA GeForce RTX 5090 (31.4 GiB VRAM)
63
+ βœ“ transformer_path: weights/flux2_dev_fp8mixed.safetensors (35.5 GB)
64
+ βœ“ vae_path: weights/flux2-vae.safetensors (0.3 GB)
65
+ βœ“ controlnet_path: weights/FLUX.2-dev-Fun-Controlnet-Union-2602.safetensors (8.2 GB)
66
+ βœ“ text_encoder_path: weights/mistral_3_small_flux2_fp8.safetensors (18.0 GB)
67
+ βœ“ train/rgb: 400 files
68
+ βœ“ train/seg: 400 files
69
+ βœ“ train/depth: 400 files
70
+ βœ“ val/rgb: 80 files
71
+ βœ“ val/seg: 80 files
72
+ βœ“ val/depth: 80 files
73
+ βœ“ test/rgb: 30 files
74
+ βœ“ test/seg: 30 files
75
+ βœ“ test/depth: 30 files
76
+ βœ“ prompt.json found
77
+
78
+ All pre-flight checks passed.
79
+
80
+ ============================================================
81
+ [1/8] Text Embeddings
82
+ ============================================================
83
+ Loading cached embedding from output/text_embeddings_global.pt
84
+ Loaded global text embedding from output/text_embeddings_global.pt (shape: torch.Size([512, 15360]))
85
+
86
+ ============================================================
87
+ [2/8] Loading VAE
88
+ ============================================================
89
+ Done (1.6s), VRAM: 0.16 GiB
90
+ [MEM @ after VAE] RAM: 11.9/188.5 GiB (6.3%) | VRAM: 0.2/31.4 GiB (0.5%)
91
+
92
+ ============================================================
93
+ [3/8] Loading Transformer
94
+ ============================================================
95
+ Dequantizing FP8 transformer weights...
96
+ Traceback (most recent call last):
97
+ File "/home/xg_wang_group/SynthUrbanSAT/train_script.py", line 1305, in <module>
98
+ main()
99
+ File "/home/xg_wang_group/SynthUrbanSAT/train_script.py", line 771, in main
100
+ transformer = load_transformer(
101
+ ^^^^^^^^^^^^^^^^^
102
+ File "/home/xg_wang_group/SynthUrbanSAT/scripts/utility.py", line 143, in load_transformer
103
+ dequant_sd, fp8_count = dequant_fp8_state_dict(transformer_path, device=device, dtype=dtype)
104
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
105
+ File "/home/xg_wang_group/SynthUrbanSAT/scripts/utility.py", line 85, in dequant_fp8_state_dict
106
+ dequant_sd[key] = (tensor.to(torch.float32) * scale).to(dtype).to(device)
107
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108
+ torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 288.00 MiB. GPU 0 has a total capacity of 31.36 GiB of which 102.56 MiB is free. Including non-PyTorch memory, this process has 31.24 GiB memory in use. Of the allocated memory 30.65 GiB is allocated by PyTorch, and 8.62 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://docs.pytorch.org/docs/stable/notes/cuda.html#optimizing-memory-usage-with-pytorch-cuda-alloc-conf)
lora_baseline_h100/train.log ADDED
@@ -0,0 +1,1022 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Run dir : output/lora_baseline_h100
2
+ Log file: output/lora_baseline_h100/train.log
3
+ GPU: NVIDIA GeForce RTX 5090 | VRAM: 31.4 GiB | PyTorch: 2.11.0+cu130
4
+
5
+ WARNING: WandB init failed β€” training will continue without logging.
6
+ Error: No API key configured. Use `wandb login` to log in.
7
+ Fix: check WANDB_API_KEY permissions, or run with --no-wandb to silence this.
8
+
9
+ wandb: WARNING Changes to your `wandb` environment variables will be ignored because your `wandb` session has already started. For more information on how to modify your settings with `wandb.init()` arguments, please refer to https://wandb.me/wandb-init.
10
+
11
+ Final Configuration:
12
+ Paths:
13
+ transformer_path weights/flux2_dev_fp8mixed.safetensors
14
+ vae_path weights/flux2-vae.safetensors
15
+ controlnet_path weights/FLUX.2-dev-Fun-Controlnet-Union-2602.safetensors
16
+ dataset_dir dataset
17
+ color_map_path configs/color_map.json
18
+ output_dir output/lora_baseline_h100
19
+ text_encoder_path weights/mistral_3_small_flux2_fp8.safetensors
20
+ precomputed_embeddings output/text_embeddings_global.pt
21
+ Model:
22
+ image_size 1024
23
+ num_classes 6
24
+ control_in_dim 3072
25
+ fusion_dim 768
26
+ num_fusion_blocks 3
27
+ num_heads 12
28
+ num_fourier_bands 32
29
+ boundary_threshold 0.1
30
+ Training:
31
+ num_epochs 500
32
+ batch_size 4
33
+ learning_rate 0.0006
34
+ weight_decay 0.01
35
+ max_grad_norm 1.0
36
+ grad_accum_steps 4
37
+ guidance_scale 3.5
38
+ num_workers 0
39
+ Text Encoder:
40
+ text_seq_len 512
41
+ text_dim 15360
42
+ Logging:
43
+ log_interval 10
44
+ save_every_n_epochs 5
45
+ val_every_n_epochs 1
46
+ WandB:
47
+ wandb_entity
48
+ wandb_project lora_baseline_h100
49
+ Resume:
50
+ resume_from (not set)
51
+ [MEM @ pre-flight] RAM: 10.4/188.5 GiB (5.5%) | VRAM: 0.0/31.4 GiB (0.0%)
52
+
53
+ Pre-flight checks...
54
+ βœ“ torch
55
+ βœ“ diffusers
56
+ βœ“ safetensors
57
+ βœ“ Pillow
58
+ βœ“ tifffile
59
+ βœ“ wandb
60
+ βœ“ transformers
61
+ βœ“ psutil
62
+ βœ“ GPU: NVIDIA GeForce RTX 5090 (31.4 GiB VRAM)
63
+ βœ“ transformer_path: weights/flux2_dev_fp8mixed.safetensors (35.5 GB)
64
+ βœ“ vae_path: weights/flux2-vae.safetensors (0.3 GB)
65
+ βœ“ controlnet_path: weights/FLUX.2-dev-Fun-Controlnet-Union-2602.safetensors (8.2 GB)
66
+ βœ“ text_encoder_path: weights/mistral_3_small_flux2_fp8.safetensors (18.0 GB)
67
+ βœ“ train/rgb: 400 files
68
+ βœ“ train/seg: 400 files
69
+ βœ“ train/depth: 400 files
70
+ βœ“ val/rgb: 80 files
71
+ βœ“ val/seg: 80 files
72
+ βœ“ val/depth: 80 files
73
+ βœ“ test/rgb: 30 files
74
+ βœ“ test/seg: 30 files
75
+ βœ“ test/depth: 30 files
76
+ βœ“ prompt.json found
77
+
78
+ All pre-flight checks passed.
79
+
80
+ ============================================================
81
+ [1/8] Text Embeddings
82
+ ============================================================
83
+ Loading cached embedding from output/text_embeddings_global.pt
84
+ Loaded global text embedding from output/text_embeddings_global.pt (shape: torch.Size([512, 15360]))
85
+
86
+ ============================================================
87
+ [2/8] Loading VAE
88
+ ============================================================
89
+ Done (1.5s), VRAM: 0.16 GiB
90
+ [MEM @ after VAE] RAM: 10.7/188.5 GiB (5.7%) | VRAM: 0.2/31.4 GiB (0.5%)
91
+
92
+ ============================================================
93
+ [3/8] Loading Transformer
94
+ ============================================================
95
+ Dequantizing FP8 transformer weights...
96
+ Traceback (most recent call last):
97
+ File "/home/xg_wang_group/SynthUrbanSAT/train_script.py", line 1305, in <module>
98
+ main()
99
+ File "/home/xg_wang_group/SynthUrbanSAT/train_script.py", line 771, in main
100
+ transformer = load_transformer(
101
+ ^^^^^^^^^^^^^^^^^
102
+ File "/home/xg_wang_group/SynthUrbanSAT/scripts/utility.py", line 143, in load_transformer
103
+ dequant_sd, fp8_count = dequant_fp8_state_dict(transformer_path, device=device, dtype=dtype)
104
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
105
+ File "/home/xg_wang_group/SynthUrbanSAT/scripts/utility.py", line 85, in dequant_fp8_state_dict
106
+ dequant_sd[key] = (tensor.to(torch.float32) * scale).to(dtype).to(device)
107
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108
+ torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 288.00 MiB. GPU 0 has a total capacity of 31.36 GiB of which 102.56 MiB is free. Including non-PyTorch memory, this process has 31.24 GiB memory in use. Of the allocated memory 30.65 GiB is allocated by PyTorch, and 8.62 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://docs.pytorch.org/docs/stable/notes/cuda.html#optimizing-memory-usage-with-pytorch-cuda-alloc-conf)
109
+ Run dir : output/lora_baseline_h100
110
+ Log file: output/lora_baseline_h100/train.log
111
+ GPU: NVIDIA GeForce RTX 5090 | VRAM: 31.4 GiB | PyTorch: 2.11.0+cu130
112
+
113
+ WARNING: WandB init failed β€” training will continue without logging.
114
+ Error: No API key configured. Use `wandb login` to log in.
115
+ Fix: check WANDB_API_KEY permissions, or run with --no-wandb to silence this.
116
+
117
+ wandb: WARNING Changes to your `wandb` environment variables will be ignored because your `wandb` session has already started. For more information on how to modify your settings with `wandb.init()` arguments, please refer to https://wandb.me/wandb-init.
118
+
119
+ Final Configuration:
120
+ Paths:
121
+ transformer_path weights/flux2_dev_fp8mixed.safetensors
122
+ vae_path weights/flux2-vae.safetensors
123
+ controlnet_path weights/FLUX.2-dev-Fun-Controlnet-Union-2602.safetensors
124
+ dataset_dir dataset
125
+ color_map_path configs/color_map.json
126
+ output_dir output/lora_baseline_h100
127
+ text_encoder_path weights/mistral_3_small_flux2_fp8.safetensors
128
+ precomputed_embeddings output/text_embeddings_global.pt
129
+ Model:
130
+ image_size 1024
131
+ num_classes 6
132
+ control_in_dim 3072
133
+ fusion_dim 768
134
+ num_fusion_blocks 3
135
+ num_heads 12
136
+ num_fourier_bands 32
137
+ boundary_threshold 0.1
138
+ Training:
139
+ num_epochs 500
140
+ batch_size 4
141
+ learning_rate 0.0006
142
+ weight_decay 0.01
143
+ max_grad_norm 1.0
144
+ grad_accum_steps 4
145
+ guidance_scale 3.5
146
+ num_workers 0
147
+ Text Encoder:
148
+ text_seq_len 512
149
+ text_dim 15360
150
+ Logging:
151
+ log_interval 10
152
+ save_every_n_epochs 5
153
+ val_every_n_epochs 1
154
+ WandB:
155
+ wandb_entity
156
+ wandb_project lora_baseline_h100
157
+ Resume:
158
+ resume_from (not set)
159
+ [MEM @ pre-flight] RAM: 11.6/188.5 GiB (6.2%) | VRAM: 0.0/31.4 GiB (0.0%)
160
+
161
+ Pre-flight checks...
162
+ βœ“ torch
163
+ βœ“ diffusers
164
+ βœ“ safetensors
165
+ βœ“ Pillow
166
+ βœ“ tifffile
167
+ βœ“ wandb
168
+ βœ“ transformers
169
+ βœ“ psutil
170
+ βœ“ GPU: NVIDIA GeForce RTX 5090 (31.4 GiB VRAM)
171
+ βœ“ transformer_path: weights/flux2_dev_fp8mixed.safetensors (35.5 GB)
172
+ βœ“ vae_path: weights/flux2-vae.safetensors (0.3 GB)
173
+ βœ“ controlnet_path: weights/FLUX.2-dev-Fun-Controlnet-Union-2602.safetensors (8.2 GB)
174
+ βœ“ text_encoder_path: weights/mistral_3_small_flux2_fp8.safetensors (18.0 GB)
175
+ βœ“ train/rgb: 400 files
176
+ βœ“ train/seg: 400 files
177
+ βœ“ train/depth: 400 files
178
+ βœ“ val/rgb: 80 files
179
+ βœ“ val/seg: 80 files
180
+ βœ“ val/depth: 80 files
181
+ βœ“ test/rgb: 30 files
182
+ βœ“ test/seg: 30 files
183
+ βœ“ test/depth: 30 files
184
+ βœ“ prompt.json found
185
+
186
+ All pre-flight checks passed.
187
+
188
+ ============================================================
189
+ [1/8] Text Embeddings
190
+ ============================================================
191
+ Loading cached embedding from output/text_embeddings_global.pt
192
+ Loaded global text embedding from output/text_embeddings_global.pt (shape: torch.Size([512, 15360]))
193
+
194
+ ============================================================
195
+ [2/8] Loading VAE
196
+ ============================================================
197
+ Done (1.6s), VRAM: 0.16 GiB
198
+ [MEM @ after VAE] RAM: 11.9/188.5 GiB (6.3%) | VRAM: 0.2/31.4 GiB (0.5%)
199
+
200
+ ============================================================
201
+ [3/8] Loading Transformer
202
+ ============================================================
203
+ Dequantizing FP8 transformer weights...
204
+ Traceback (most recent call last):
205
+ File "/home/xg_wang_group/SynthUrbanSAT/train_script.py", line 1305, in <module>
206
+ main()
207
+ File "/home/xg_wang_group/SynthUrbanSAT/train_script.py", line 771, in main
208
+ transformer = load_transformer(
209
+ ^^^^^^^^^^^^^^^^^
210
+ File "/home/xg_wang_group/SynthUrbanSAT/scripts/utility.py", line 143, in load_transformer
211
+ dequant_sd, fp8_count = dequant_fp8_state_dict(transformer_path, device=device, dtype=dtype)
212
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
213
+ File "/home/xg_wang_group/SynthUrbanSAT/scripts/utility.py", line 85, in dequant_fp8_state_dict
214
+ dequant_sd[key] = (tensor.to(torch.float32) * scale).to(dtype).to(device)
215
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
216
+ torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 288.00 MiB. GPU 0 has a total capacity of 31.36 GiB of which 102.56 MiB is free. Including non-PyTorch memory, this process has 31.24 GiB memory in use. Of the allocated memory 30.65 GiB is allocated by PyTorch, and 8.62 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://docs.pytorch.org/docs/stable/notes/cuda.html#optimizing-memory-usage-with-pytorch-cuda-alloc-conf)
217
+ Run dir : output/lora_baseline_h100
218
+ Log file: output/lora_baseline_h100/train.log
219
+ GPU: NVIDIA H100 NVL | VRAM: 93.1 GiB | PyTorch: 2.11.0+cu130
220
+ wandb: (1) Create a W&B account
221
+ wandb: (2) Use an existing W&B account
222
+ wandb: (3) Don't visualize my results
223
+ wandb: Enter your choice: wandb: You chose 'Create a W&B account'
224
+ wandb: Create an account here: https://wandb.ai/authorize?signup=true&ref=models
225
+ wandb: After creating your account, create a new API key and store it securely.
226
+ wandb: Paste your API key and hit enter:wandb: No netrc file found, creating one.
227
+ wandb: Appending key for api.wandb.ai to your netrc file: /home/xg_wang_group/.netrc
228
+ wandb: Currently logged in as: hkujasonjiang (hku-xg-boost) to https://api.wandb.ai. Use `wandb login --relogin` to force relogin
229
+ wandb: Waiting for wandb.init()...
230
+
231
+
232
+
233
+
234
+
235
+
236
+
237
+
238
+
239
+ wandb: Run data is saved locally in /home/xg_wang_group/SynthUrbanSAT/wandb/run-20260416_114715-hu0pyawd
240
+ wandb: Run `wandb offline` to turn off syncing.
241
+ wandb: Syncing run lora_baseline_h100-train-20260416-114534
242
+ wandb: View project at https://wandb.ai/hku-xg-boost/lora_baseline_h100
243
+ wandb: View run at https://wandb.ai/hku-xg-boost/lora_baseline_h100/runs/hu0pyawd
244
+
245
+ Final Configuration:
246
+ Paths:
247
+ transformer_path weights/flux2_dev_fp8mixed.safetensors
248
+ vae_path weights/flux2-vae.safetensors
249
+ controlnet_path weights/FLUX.2-dev-Fun-Controlnet-Union-2602.safetensors
250
+ dataset_dir dataset
251
+ color_map_path configs/color_map.json
252
+ output_dir output/lora_baseline_h100
253
+ text_encoder_path weights/mistral_3_small_flux2_fp8.safetensors
254
+ precomputed_embeddings output/text_embeddings_global.pt
255
+ Model:
256
+ image_size 1024
257
+ num_classes 6
258
+ control_in_dim 3072
259
+ fusion_dim 768
260
+ num_fusion_blocks 3
261
+ num_heads 12
262
+ num_fourier_bands 32
263
+ boundary_threshold 0.1
264
+ Training:
265
+ num_epochs 500
266
+ batch_size 4
267
+ learning_rate 0.0006
268
+ weight_decay 0.01
269
+ max_grad_norm 1.0
270
+ grad_accum_steps 4
271
+ guidance_scale 3.5
272
+ num_workers 0
273
+ Text Encoder:
274
+ text_seq_len 512
275
+ text_dim 15360
276
+ Logging:
277
+ log_interval 10
278
+ save_every_n_epochs 5
279
+ val_every_n_epochs 1
280
+ WandB:
281
+ wandb_entity
282
+ wandb_project lora_baseline_h100
283
+ Resume:
284
+ resume_from (not set)
285
+ [MEM @ pre-flight] RAM: 10.1/188.5 GiB (5.3%) | VRAM: 0.0/93.1 GiB (0.0%)
286
+
287
+ Pre-flight checks...
288
+ βœ“ torch
289
+ βœ“ diffusers
290
+ βœ“ safetensors
291
+ βœ“ Pillow
292
+ βœ“ tifffile
293
+ βœ“ wandb
294
+ βœ“ transformers
295
+ βœ“ psutil
296
+ βœ“ GPU: NVIDIA H100 NVL (93.1 GiB VRAM)
297
+ βœ“ transformer_path: weights/flux2_dev_fp8mixed.safetensors (35.5 GB)
298
+ βœ“ vae_path: weights/flux2-vae.safetensors (0.3 GB)
299
+ βœ“ controlnet_path: weights/FLUX.2-dev-Fun-Controlnet-Union-2602.safetensors (8.2 GB)
300
+ βœ“ text_encoder_path: weights/mistral_3_small_flux2_fp8.safetensors (18.0 GB)
301
+ βœ“ train/rgb: 400 files
302
+ βœ“ train/seg: 400 files
303
+ βœ“ train/depth: 400 files
304
+ βœ“ val/rgb: 80 files
305
+ βœ“ val/seg: 80 files
306
+ βœ“ val/depth: 80 files
307
+ βœ“ test/rgb: 30 files
308
+ βœ“ test/seg: 30 files
309
+ βœ“ test/depth: 30 files
310
+ βœ“ prompt.json found
311
+
312
+ All pre-flight checks passed.
313
+
314
+ ============================================================
315
+ [1/8] Text Embeddings
316
+ ============================================================
317
+ Loading cached embedding from output/text_embeddings_global.pt
318
+ Loaded global text embedding from output/text_embeddings_global.pt (shape: torch.Size([512, 15360]))
319
+
320
+ ============================================================
321
+ [2/8] Loading VAE
322
+ ============================================================
323
+ Done (1.5s), VRAM: 0.16 GiB
324
+ [MEM @ after VAE] RAM: 10.4/188.5 GiB (5.5%) | VRAM: 0.2/93.1 GiB (0.2%)
325
+
326
+ ============================================================
327
+ [3/8] Loading Transformer
328
+ ============================================================
329
+ Dequantizing FP8 transformer weights...
330
+ Dequantized 128 FP8 tensors
331
+ Converting ComfyUI β†’ diffusers keys...
332
+ Converted: 331 diffusers keys
333
+ Loading ControlNet weights...
334
+ ControlNet: 76 keys
335
+ Creating Flux2ControlTransformer2DModel (control_in_dim=3072)...
336
+ Skipped 2 control_img_in keys (dim mismatch):
337
+ control_img_in.bias [6144]
338
+ control_img_in.weight [6144, 260]
339
+ Missing: 2, Unexpected: 0
340
+ Initialized control_img_in.weight [6144, 3072] on cuda
341
+ Initialized control_img_in.bias [6144] on cuda
342
+ FP8 compression: 203 frozen Linears, 67.9 β†’ 37.9 GiB (saved 30.0 GiB)
343
+ Done (57.1s), VRAM: 37.87 GiB
344
+ Gradient checkpointing: enabled
345
+ Backbone FROZEN: all transformer params set requires_grad=False
346
+ Gradients will still propagate to HDCΒ²A via control_context autograd
347
+ [MEM @ after Transformer] RAM: 11.9/188.5 GiB (6.3%) | VRAM: 37.9/93.1 GiB (40.7%)
348
+
349
+ ============================================================
350
+ [4/8] Creating HDCΒ²A Adapter
351
+ ============================================================
352
+ HDCΒ²A: 52.4M params
353
+ Control: 0.0M params
354
+ Total trainable: 52.4M params
355
+
356
+ ============================================================
357
+ [4.5/8] Applying LoRA to ControlNet Control Blocks
358
+ ============================================================
359
+ LoRA rank=32, alpha=32.0, dropout=0
360
+ LoRA control_transformer_blocks.0.attn.to_q [6144β†’6144]
361
+ LoRA control_transformer_blocks.0.attn.to_k [6144β†’6144]
362
+ LoRA control_transformer_blocks.0.attn.to_v [6144β†’6144]
363
+ LoRA control_transformer_blocks.0.attn.add_q_proj [6144β†’6144]
364
+ LoRA control_transformer_blocks.0.attn.add_k_proj [6144β†’6144]
365
+ LoRA control_transformer_blocks.0.attn.add_v_proj [6144β†’6144]
366
+ LoRA control_transformer_blocks.0.attn.to_out.0 [6144β†’6144]
367
+ LoRA control_transformer_blocks.1.attn.to_q [6144β†’6144]
368
+ LoRA control_transformer_blocks.1.attn.to_k [6144β†’6144]
369
+ LoRA control_transformer_blocks.1.attn.to_v [6144β†’6144]
370
+ LoRA control_transformer_blocks.1.attn.add_q_proj [6144β†’6144]
371
+ LoRA control_transformer_blocks.1.attn.add_k_proj [6144β†’6144]
372
+ LoRA control_transformer_blocks.1.attn.add_v_proj [6144β†’6144]
373
+ LoRA control_transformer_blocks.1.attn.to_out.0 [6144β†’6144]
374
+ LoRA control_transformer_blocks.2.attn.to_q [6144β†’6144]
375
+ LoRA control_transformer_blocks.2.attn.to_k [6144β†’6144]
376
+ LoRA control_transformer_blocks.2.attn.to_v [6144β†’6144]
377
+ LoRA control_transformer_blocks.2.attn.add_q_proj [6144β†’6144]
378
+ LoRA control_transformer_blocks.2.attn.add_k_proj [6144β†’6144]
379
+ LoRA control_transformer_blocks.2.attn.add_v_proj [6144β†’6144]
380
+ LoRA control_transformer_blocks.2.attn.to_out.0 [6144β†’6144]
381
+ LoRA control_transformer_blocks.3.attn.to_q [6144β†’6144]
382
+ LoRA control_transformer_blocks.3.attn.to_k [6144β†’6144]
383
+ LoRA control_transformer_blocks.3.attn.to_v [6144β†’6144]
384
+ LoRA control_transformer_blocks.3.attn.to_out.0 [6144β†’6144]
385
+
386
+ LoRA modules injected: 25
387
+ LoRA trainable params: 9.83M
388
+
389
+ Parameter Statistics:
390
+ HDCΒ²A Adapter: total=52.4M trainable=52.4M
391
+ ControlNet (frozen): total=4143.4M LoRA trainable=9.83M
392
+ Flux2 backbone: total=0.0M trainable=0.0M βœ“
393
+ ──────────────────────────────────────────────────
394
+ Total trainable: HDCΒ²A 52.4M + LoRA 9.83M = 62.19M
395
+
396
+ ============================================================
397
+ [5/8] Building Optimizer
398
+ ============================================================
399
+ AdamW: adapter_lr=3.00e-04, backbone_lr=0.00e+00
400
+ param_group 'adapter': 112 tensors, lr=3.00e-04
401
+ Scheduler: 400 warmup steps β†’ cosine over ~12500 steps
402
+ [6/8] Resume: skipped (no checkpoint specified)
403
+
404
+ ============================================================
405
+ [7/8] Forward Sanity Check
406
+ ============================================================
407
+ [test 1/4] Forward pass (eval mode)...
408
+ Output shape: torch.Size([1, 4096, 128])
409
+ Output stats: mean=0.0413, std=0.5156
410
+ VRAM peak (forward): 68.44 GiB
411
+ [test 2/4] Loss computation (train mode)...
412
+ Loss value: 1.335436
413
+ [test 3/4] Backward pass...
414
+ Backward completed. VRAM peak (backward): 49.21 GiB
415
+ [test 4/4] Gradient flow check...
416
+ HDCΒ²A: 112/112 params have non-zero grad
417
+ Control: 25/50 params have non-zero grad
418
+ Top grad norms (HDCΒ²A):
419
+ semantic_encoder.conv_stem.6.weight: 0.002731
420
+ depth_encoder.conv_stem.6.weight: 0.002289
421
+ W_s.weight: 0.002197
422
+ W_d.weight: 0.002029
423
+ fusion_blocks.0.ffn_sem.2.weight: 0.001831
424
+ Test result: PASSED
425
+ [MEM @ after test] RAM: 12.5/188.5 GiB (6.6%) | VRAM: 38.1/93.1 GiB (40.9%)
426
+
427
+ ============================================================
428
+ [8/8] Loading Data
429
+ ============================================================
430
+ [Data] Data augmentation: disabled
431
+ [Data] Train: 400 samples, batch_size=4
432
+ [Data] Train: using global text embeddings
433
+ [Data] Val: 80 samples, batch_size=4
434
+ [Data] Test: 30 samples, batch_size=4
435
+
436
+ ======================================================================
437
+ Starting training: 500 epochs Γ— 100 steps = 50000 total steps
438
+ batch_size=4, grad_accum=4, world_size=1, effective_bs=16
439
+ adapter_lr=3.00e-04, weight_decay=0.01
440
+ ======================================================================
441
+ [Milestone Vis] steps: [0, 5000, 10000, 15000, 20000, 25000, 29999, 34999, 39999, 44999, 49999]
442
+ [Milestone Vis] 10 grids: train_0(5), train_1(5), val_0(5), val_1(5), test_0(5), test_1(5), test_2(5), test_3(5), test_4(5), test_5(5)
443
+
444
+ --- Epoch 0/499 (0% done) ---
445
+ [MilestoneVis] train_0 step 0 βœ“
446
+ [MilestoneGrid] train_0 β†’ output/lora_baseline_h100/milestone_vis/milestone_grid_train_0.png
447
+ [MilestoneVis] train_1 step 0 βœ“
448
+ [MilestoneGrid] train_1 β†’ output/lora_baseline_h100/milestone_vis/milestone_grid_train_1.png
449
+ Traceback (most recent call last):
450
+ File "/home/xg_wang_group/SynthUrbanSAT/train_script.py", line 1305, in <module>
451
+ main()
452
+ File "/home/xg_wang_group/SynthUrbanSAT/train_script.py", line 1166, in main
453
+ train_loss, _epoch_opt_steps = train_one_epoch(
454
+ ^^^^^^^^^^^^^^^^
455
+ File "/home/xg_wang_group/SynthUrbanSAT/scripts/train.py", line 250, in train_one_epoch
456
+ step_vis_callback(global_step, batch)
457
+ File "/home/xg_wang_group/SynthUrbanSAT/train_script.py", line 1147, in _milestone_step_callback
458
+ _run_milestone_vis(_global_step)
459
+ File "/home/xg_wang_group/SynthUrbanSAT/train_script.py", line 1086, in _run_milestone_vis
460
+ gen_rgb = generate_overfit_samples(
461
+ ^^^^^^^^^^^^^^^^^^^^^^^^^
462
+ File "/home/xg_wang_group/miniconda/envs/flux_train/lib/python3.12/site-packages/torch/utils/_contextlib.py", line 124, in decorate_context
463
+ return func(*args, **kwargs)
464
+ ^^^^^^^^^^^^^^^^^^^^^
465
+ File "/home/xg_wang_group/SynthUrbanSAT/scripts/overfit.py", line 593, in generate_overfit_samples
466
+ control_context = hdc2a(seg, depth)
467
+ ^^^^^^^^^^^^^^^^^
468
+ File "/home/xg_wang_group/miniconda/envs/flux_train/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1779, in _wrapped_call_impl
469
+ return self._call_impl(*args, **kwargs)
470
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
471
+ File "/home/xg_wang_group/miniconda/envs/flux_train/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1790, in _call_impl
472
+ return forward_call(*args, **kwargs)
473
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
474
+ File "/home/xg_wang_group/SynthUrbanSAT/scripts/models.py", line 252, in forward
475
+ T_s, T_d = block(T_s, T_d)
476
+ ^^^^^^^^^^^^^^^
477
+ File "/home/xg_wang_group/miniconda/envs/flux_train/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1779, in _wrapped_call_impl
478
+ return self._call_impl(*args, **kwargs)
479
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
480
+ File "/home/xg_wang_group/miniconda/envs/flux_train/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1790, in _call_impl
481
+ return forward_call(*args, **kwargs)
482
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
483
+ File "/home/xg_wang_group/SynthUrbanSAT/scripts/models.py", line 179, in forward
484
+ k_s = self.rope(k_s)
485
+ ^^^^^^^^^^^^^^
486
+ File "/home/xg_wang_group/miniconda/envs/flux_train/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1779, in _wrapped_call_impl
487
+ return self._call_impl(*args, **kwargs)
488
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
489
+ File "/home/xg_wang_group/miniconda/envs/flux_train/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1790, in _call_impl
490
+ return forward_call(*args, **kwargs)
491
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
492
+ File "/home/xg_wang_group/SynthUrbanSAT/scripts/models.py", line 51, in forward
493
+ return (x.float() * cos + x_rotated.float() * sin).to(x.dtype)
494
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
495
+ KeyboardInterrupt
496
+ Exception ignored in atexit callback: <function _start_and_connect_service.<locals>.teardown_atexit at 0x6ffd34c7fce0>
497
+ Traceback (most recent call last):
498
+ File "/home/xg_wang_group/miniconda/envs/flux_train/lib/python3.12/site-packages/wandb/sdk/lib/service/service_connection.py", line 73, in teardown_atexit
499
+ conn.teardown(hooks.exit_code)
500
+ File "/home/xg_wang_group/miniconda/envs/flux_train/lib/python3.12/site-packages/wandb/sdk/lib/service/service_connection.py", line 355, in teardown
501
+ return self._proc.join()
502
+ ^^^^^^^^^^^^^^^^^
503
+ File "/home/xg_wang_group/miniconda/envs/flux_train/lib/python3.12/site-packages/wandb/sdk/lib/service/service_process.py", line 103, in join
504
+ return self._process.wait()
505
+ ^^^^^^^^^^^^^^^^^^^^
506
+ File "/home/xg_wang_group/miniconda/envs/flux_train/lib/python3.12/subprocess.py", line 1264, in wait
507
+ return self._wait(timeout=timeout)
508
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
509
+ File "/home/xg_wang_group/miniconda/envs/flux_train/lib/python3.12/subprocess.py", line 2053, in _wait
510
+ (pid, sts) = self._try_wait(0)
511
+ ^^^^^^^^^^^^^^^^^
512
+ File "/home/xg_wang_group/miniconda/envs/flux_train/lib/python3.12/subprocess.py", line 2011, in _try_wait
513
+ (pid, sts) = os.waitpid(self.pid, wait_flags)
514
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
515
+ KeyboardInterrupt:
516
+ Run dir : output/lora_baseline_h100
517
+ Log file: output/lora_baseline_h100/train.log
518
+ GPU: NVIDIA H100 NVL | VRAM: 93.1 GiB | PyTorch: 2.11.0+cu130
519
+ wandb: [wandb.login()] Loaded credentials for https://api.wandb.ai from /home/xg_wang_group/.netrc.
520
+ wandb: Currently logged in as: hkujasonjiang (hku-xg-boost) to https://api.wandb.ai. Use `wandb login --relogin` to force relogin
521
+ wandb: Waiting for wandb.init()...
522
+
523
+
524
+
525
+
526
+ wandb: Run data is saved locally in /home/xg_wang_group/SynthUrbanSAT/wandb/run-20260416_115235-25w3do53
527
+ wandb: Run `wandb offline` to turn off syncing.
528
+ wandb: Syncing run lora_baseline_h100-train-20260416-115235
529
+ wandb: View project at https://wandb.ai/hku-xg-boost/lora_baseline_h100
530
+ wandb: View run at https://wandb.ai/hku-xg-boost/lora_baseline_h100/runs/25w3do53
531
+
532
+ Final Configuration:
533
+ Paths:
534
+ transformer_path weights/flux2_dev_fp8mixed.safetensors
535
+ vae_path weights/flux2-vae.safetensors
536
+ controlnet_path weights/FLUX.2-dev-Fun-Controlnet-Union-2602.safetensors
537
+ dataset_dir dataset
538
+ color_map_path configs/color_map.json
539
+ output_dir output/lora_baseline_h100
540
+ text_encoder_path weights/mistral_3_small_flux2_fp8.safetensors
541
+ precomputed_embeddings output/text_embeddings_global.pt
542
+ Model:
543
+ image_size 1024
544
+ num_classes 6
545
+ control_in_dim 3072
546
+ fusion_dim 768
547
+ num_fusion_blocks 3
548
+ num_heads 12
549
+ num_fourier_bands 32
550
+ boundary_threshold 0.1
551
+ Training:
552
+ num_epochs 500
553
+ batch_size 4
554
+ learning_rate 0.0006
555
+ weight_decay 0.01
556
+ max_grad_norm 1.0
557
+ grad_accum_steps 4
558
+ guidance_scale 3.5
559
+ num_workers 0
560
+ Text Encoder:
561
+ text_seq_len 512
562
+ text_dim 15360
563
+ Logging:
564
+ log_interval 10
565
+ save_every_n_epochs 5
566
+ val_every_n_epochs 1
567
+ WandB:
568
+ wandb_entity
569
+ wandb_project lora_baseline_h100
570
+ Resume:
571
+ resume_from (not set)
572
+ [MEM @ pre-flight] RAM: 10.6/188.5 GiB (5.6%) | VRAM: 0.0/93.1 GiB (0.0%)
573
+
574
+ Pre-flight checks...
575
+ βœ“ torch
576
+ βœ“ diffusers
577
+ βœ“ safetensors
578
+ βœ“ Pillow
579
+ βœ“ tifffile
580
+ βœ“ wandb
581
+ βœ“ transformers
582
+ βœ“ psutil
583
+ βœ“ GPU: NVIDIA H100 NVL (93.1 GiB VRAM)
584
+ βœ“ transformer_path: weights/flux2_dev_fp8mixed.safetensors (35.5 GB)
585
+ βœ“ vae_path: weights/flux2-vae.safetensors (0.3 GB)
586
+ βœ“ controlnet_path: weights/FLUX.2-dev-Fun-Controlnet-Union-2602.safetensors (8.2 GB)
587
+ βœ“ text_encoder_path: weights/mistral_3_small_flux2_fp8.safetensors (18.0 GB)
588
+ βœ“ train/rgb: 400 files
589
+ βœ“ train/seg: 400 files
590
+ βœ“ train/depth: 400 files
591
+ βœ“ val/rgb: 80 files
592
+ βœ“ val/seg: 80 files
593
+ βœ“ val/depth: 80 files
594
+ βœ“ test/rgb: 30 files
595
+ βœ“ test/seg: 30 files
596
+ βœ“ test/depth: 30 files
597
+ βœ“ prompt.json found
598
+
599
+ All pre-flight checks passed.
600
+
601
+ ============================================================
602
+ [1/8] Text Embeddings
603
+ ============================================================
604
+ Loading cached embedding from output/text_embeddings_global.pt
605
+ Loaded global text embedding from output/text_embeddings_global.pt (shape: torch.Size([512, 15360]))
606
+
607
+ ============================================================
608
+ [2/8] Loading VAE
609
+ ============================================================
610
+ Done (1.5s), VRAM: 0.16 GiB
611
+ [MEM @ after VAE] RAM: 10.9/188.5 GiB (5.8%) | VRAM: 0.2/93.1 GiB (0.2%)
612
+
613
+ ============================================================
614
+ [3/8] Loading Transformer
615
+ ============================================================
616
+ Dequantizing FP8 transformer weights...
617
+ Dequantized 128 FP8 tensors
618
+ Converting ComfyUI β†’ diffusers keys...
619
+ Converted: 331 diffusers keys
620
+ Loading ControlNet weights...
621
+ ControlNet: 76 keys
622
+ Creating Flux2ControlTransformer2DModel (control_in_dim=3072)...
623
+ Skipped 2 control_img_in keys (dim mismatch):
624
+ control_img_in.bias [6144]
625
+ control_img_in.weight [6144, 260]
626
+ Missing: 2, Unexpected: 0
627
+ Initialized control_img_in.weight [6144, 3072] on cuda
628
+ Initialized control_img_in.bias [6144] on cuda
629
+ FP8 compression: 203 frozen Linears, 67.9 β†’ 37.9 GiB (saved 30.0 GiB)
630
+ Done (54.9s), VRAM: 37.87 GiB
631
+ Gradient checkpointing: enabled
632
+ Backbone FROZEN: all transformer params set requires_grad=False
633
+ Gradients will still propagate to HDCΒ²A via control_context autograd
634
+ [MEM @ after Transformer] RAM: 12.2/188.5 GiB (6.5%) | VRAM: 37.9/93.1 GiB (40.7%)
635
+
636
+ ============================================================
637
+ [4/8] Creating HDCΒ²A Adapter
638
+ ============================================================
639
+ HDCΒ²A: 52.4M params
640
+ Control: 0.0M params
641
+ Total trainable: 52.4M params
642
+
643
+ ============================================================
644
+ [4.5/8] Applying LoRA to ControlNet Control Blocks
645
+ ============================================================
646
+ LoRA rank=32, alpha=32.0, dropout=0
647
+ LoRA control_transformer_blocks.0.attn.to_q [6144β†’6144]
648
+ LoRA control_transformer_blocks.0.attn.to_k [6144β†’6144]
649
+ LoRA control_transformer_blocks.0.attn.to_v [6144β†’6144]
650
+ LoRA control_transformer_blocks.0.attn.add_q_proj [6144β†’6144]
651
+ LoRA control_transformer_blocks.0.attn.add_k_proj [6144β†’6144]
652
+ LoRA control_transformer_blocks.0.attn.add_v_proj [6144β†’6144]
653
+ LoRA control_transformer_blocks.0.attn.to_out.0 [6144β†’6144]
654
+ LoRA control_transformer_blocks.1.attn.to_q [6144β†’6144]
655
+ LoRA control_transformer_blocks.1.attn.to_k [6144β†’6144]
656
+ LoRA control_transformer_blocks.1.attn.to_v [6144β†’6144]
657
+ LoRA control_transformer_blocks.1.attn.add_q_proj [6144β†’6144]
658
+ LoRA control_transformer_blocks.1.attn.add_k_proj [6144β†’6144]
659
+ LoRA control_transformer_blocks.1.attn.add_v_proj [6144β†’6144]
660
+ LoRA control_transformer_blocks.1.attn.to_out.0 [6144β†’6144]
661
+ LoRA control_transformer_blocks.2.attn.to_q [6144β†’6144]
662
+ LoRA control_transformer_blocks.2.attn.to_k [6144β†’6144]
663
+ LoRA control_transformer_blocks.2.attn.to_v [6144β†’6144]
664
+ LoRA control_transformer_blocks.2.attn.add_q_proj [6144β†’6144]
665
+ LoRA control_transformer_blocks.2.attn.add_k_proj [6144β†’6144]
666
+ LoRA control_transformer_blocks.2.attn.add_v_proj [6144β†’6144]
667
+ LoRA control_transformer_blocks.2.attn.to_out.0 [6144β†’6144]
668
+ LoRA control_transformer_blocks.3.attn.to_q [6144β†’6144]
669
+ LoRA control_transformer_blocks.3.attn.to_k [6144β†’6144]
670
+ LoRA control_transformer_blocks.3.attn.to_v [6144β†’6144]
671
+ LoRA control_transformer_blocks.3.attn.to_out.0 [6144β†’6144]
672
+
673
+ LoRA modules injected: 25
674
+ LoRA trainable params: 9.83M
675
+
676
+ Parameter Statistics:
677
+ HDCΒ²A Adapter: total=52.4M trainable=52.4M
678
+ ControlNet (frozen): total=4143.4M LoRA trainable=9.83M
679
+ Flux2 backbone: total=0.0M trainable=0.0M βœ“
680
+ ──────────────────────────────────────────────────
681
+ Total trainable: HDCΒ²A 52.4M + LoRA 9.83M = 62.19M
682
+
683
+ ============================================================
684
+ [5/8] Building Optimizer
685
+ ============================================================
686
+ AdamW: adapter_lr=3.00e-04, backbone_lr=0.00e+00
687
+ param_group 'adapter': 112 tensors, lr=3.00e-04
688
+ Scheduler: 400 warmup steps β†’ cosine over ~12500 steps
689
+ [6/8] Resume: skipped (no checkpoint specified)
690
+
691
+ ============================================================
692
+ [7/8] Forward Sanity Check
693
+ ============================================================
694
+ [test 1/4] Forward pass (eval mode)...
695
+ Output shape: torch.Size([1, 4096, 128])
696
+ Output stats: mean=0.0413, std=0.5156
697
+ VRAM peak (forward): 68.44 GiB
698
+ [test 2/4] Loss computation (train mode)...
699
+ Loss value: 1.335436
700
+ [test 3/4] Backward pass...
701
+ Backward completed. VRAM peak (backward): 49.21 GiB
702
+ [test 4/4] Gradient flow check...
703
+ HDCΒ²A: 112/112 params have non-zero grad
704
+ Control: 25/50 params have non-zero grad
705
+ Top grad norms (HDCΒ²A):
706
+ semantic_encoder.conv_stem.6.weight: 0.002731
707
+ depth_encoder.conv_stem.6.weight: 0.002289
708
+ W_s.weight: 0.002182
709
+ W_d.weight: 0.002029
710
+ fusion_blocks.0.ffn_sem.2.weight: 0.001831
711
+ Test result: PASSED
712
+ [MEM @ after test] RAM: 12.7/188.5 GiB (6.8%) | VRAM: 38.1/93.1 GiB (40.9%)
713
+
714
+ ============================================================
715
+ [8/8] Loading Data
716
+ ============================================================
717
+ [Data] Data augmentation: disabled
718
+ [Data] Train: 400 samples, batch_size=4
719
+ [Data] Train: using global text embeddings
720
+ [Data] Val: 80 samples, batch_size=4
721
+ [Data] Test: 30 samples, batch_size=4
722
+
723
+ ======================================================================
724
+ Starting training: 500 epochs Γ— 100 steps = 50000 total steps
725
+ batch_size=4, grad_accum=4, world_size=1, effective_bs=16
726
+ adapter_lr=3.00e-04, weight_decay=0.01
727
+ ======================================================================
728
+ [Milestone Vis] steps: [0, 5000, 10000, 15000, 20000, 25000, 29999, 34999, 39999, 44999, 49999]
729
+ [Milestone Vis] 10 grids: train_0(5), train_1(5), val_0(5), val_1(5), test_0(5), test_1(5), test_2(5), test_3(5), test_4(5), test_5(5)
730
+
731
+ --- Epoch 0/499 (0% done) ---
732
+ [MilestoneVis] train_0 step 0 βœ“
733
+ [MilestoneGrid] train_0 β†’ output/lora_baseline_h100/milestone_vis/milestone_grid_train_0.png
734
+ [MilestoneVis] train_1 step 0 βœ“
735
+ [MilestoneGrid] train_1 β†’ output/lora_baseline_h100/milestone_vis/milestone_grid_train_1.png
736
+ [MilestoneVis] val_0 step 0 βœ“
737
+ [MilestoneGrid] val_0 β†’ output/lora_baseline_h100/milestone_vis/milestone_grid_val_0.png
738
+ [MilestoneVis] val_1 step 0 βœ“
739
+ [MilestoneGrid] val_1 β†’ output/lora_baseline_h100/milestone_vis/milestone_grid_val_1.png
740
+ [MilestoneVis] test_0 step 0 βœ“
741
+ [MilestoneGrid] test_0 β†’ output/lora_baseline_h100/milestone_vis/milestone_grid_test_0.png
742
+ [MilestoneVis] test_1 step 0 βœ“
743
+ [MilestoneGrid] test_1 β†’ output/lora_baseline_h100/milestone_vis/milestone_grid_test_1.png
744
+ [MilestoneVis] test_2 step 0 βœ“
745
+ [MilestoneGrid] test_2 β†’ output/lora_baseline_h100/milestone_vis/milestone_grid_test_2.png
746
+ [MilestoneVis] test_3 step 0 βœ“
747
+ [MilestoneGrid] test_3 β†’ output/lora_baseline_h100/milestone_vis/milestone_grid_test_3.png
748
+ [MilestoneVis] test_4 step 0 βœ“
749
+ [MilestoneGrid] test_4 β†’ output/lora_baseline_h100/milestone_vis/milestone_grid_test_4.png
750
+ [MilestoneVis] test_5 step 0 βœ“
751
+ [MilestoneGrid] test_5 β†’ output/lora_baseline_h100/milestone_vis/milestone_grid_test_5.png
752
+ [HF Upload WARN] upload failed: No module named 'ControlNet_training'
753
+ [Epoch 0][10/100] loss=0.941065 avg=0.924597 VRAM=38.6GiB | 0.0% done | ETA(epoch): 10631s
754
+ [Epoch 0][20/100] loss=0.800769 avg=0.912605 VRAM=38.5GiB | 0.0% done | ETA(epoch): 5255s
755
+ [Epoch 0][30/100] loss=0.999155 avg=0.911449 VRAM=38.6GiB | 0.1% done | ETA(epoch): 3384s
756
+ [Epoch 0][40/100] loss=0.830989 avg=0.906137 VRAM=38.5GiB | 0.1% done | ETA(epoch): 2374s
757
+ [Epoch 0][50/100] loss=0.775814 avg=0.907010 VRAM=38.6GiB | 0.1% done | ETA(epoch): 1716s
758
+ [Epoch 0][60/100] loss=0.878590 avg=0.908445 VRAM=38.5GiB | 0.1% done | ETA(epoch): 1232s
759
+ [Epoch 0][70/100] loss=1.031628 avg=0.911537 VRAM=38.6GiB | 0.1% done | ETA(epoch): 849s
760
+ [Epoch 0][80/100] loss=0.866052 avg=0.914041 VRAM=38.5GiB | 0.2% done | ETA(epoch): 528s
761
+ [Epoch 0][90/100] loss=0.915645 avg=0.913495 VRAM=38.6GiB | 0.2% done | ETA(epoch): 250s
762
+ [Epoch 0][100/100] loss=0.869309 avg=0.913075 VRAM=38.5GiB | 0.2% done | ETA(epoch): 0s
763
+ Train loss: 0.913075 (2379.3s) ETA: 19824min
764
+ Val loss: 0.938541 [t_0.0-0.2=1.1016 t_0.2-0.4=1.0422 t_0.4-0.6=0.8825 t_0.6-0.8=0.7715 t_0.8-1.0=0.9322]
765
+ Checkpoint saved: output/lora_baseline_h100/checkpoint_epoch_0000 (BEST)
766
+ [MEM @ epoch 0 end] RAM: 15.4/188.5 GiB (8.2%) | VRAM: 38.3/93.1 GiB (41.1%)
767
+
768
+ --- Epoch 1/499 (0% done) ---
769
+ [Epoch 1][10/100] loss=0.809276 avg=0.905533 VRAM=38.6GiB | 0.2% done | ETA(epoch): 1193s
770
+ [Epoch 1][20/100] loss=0.830221 avg=0.909845 VRAM=38.5GiB | 0.2% done | ETA(epoch): 1062s
771
+ [Epoch 1][30/100] loss=0.944313 avg=0.909747 VRAM=38.6GiB | 0.3% done | ETA(epoch): 929s
772
+ [Epoch 1][40/100] loss=0.910843 avg=0.912359 VRAM=38.5GiB | 0.3% done | ETA(epoch): 796s
773
+ [Epoch 1][50/100] loss=0.963525 avg=0.911716 VRAM=38.6GiB | 0.3% done | ETA(epoch): 664s
774
+ [Epoch 1][60/100] loss=0.984976 avg=0.909685 VRAM=38.5GiB | 0.3% done | ETA(epoch): 531s
775
+ [Epoch 1][70/100] loss=0.803163 avg=0.910757 VRAM=38.6GiB | 0.3% done | ETA(epoch): 398s
776
+ [Epoch 1][80/100] loss=0.954126 avg=0.915441 VRAM=38.5GiB | 0.4% done | ETA(epoch): 266s
777
+ [Epoch 1][90/100] loss=0.985108 avg=0.914229 VRAM=38.6GiB | 0.4% done | ETA(epoch): 133s
778
+ [Epoch 1][100/100] loss=1.071944 avg=0.915659 VRAM=38.5GiB | 0.4% done | ETA(epoch): 0s
779
+ Train loss: 0.915659 (1327.6s) ETA: 15810min
780
+ Val loss: 0.930462 [t_0.0-0.2=1.0887 t_0.2-0.4=1.0227 t_0.4-0.6=0.8967 t_0.6-0.8=0.7742 t_0.8-1.0=0.9710]
781
+ Checkpoint saved: output/lora_baseline_h100/checkpoint_epoch_0001 (BEST)
782
+ [MEM @ epoch 1 end] RAM: 15.5/188.5 GiB (8.2%) | VRAM: 38.3/93.1 GiB (41.1%)
783
+
784
+ --- Epoch 2/499 (0% done) ---
785
+ [Epoch 2][10/100] loss=0.896954 avg=0.922830 VRAM=38.6GiB | 0.4% done | ETA(epoch): 1194s
786
+ [Epoch 2][20/100] loss=0.879038 avg=0.923363 VRAM=38.5GiB | 0.4% done | ETA(epoch): 1061s
787
+ [Epoch 2][30/100] loss=0.824969 avg=0.915989 VRAM=38.6GiB | 0.5% done | ETA(epoch): 929s
788
+ [Epoch 2][40/100] loss=0.882990 avg=0.917364 VRAM=38.5GiB | 0.5% done | ETA(epoch): 796s
789
+ [Epoch 2][50/100] loss=1.054123 avg=0.913184 VRAM=38.6GiB | 0.5% done | ETA(epoch): 663s
790
+ [Epoch 2][60/100] loss=0.863263 avg=0.912003 VRAM=38.5GiB | 0.5% done | ETA(epoch): 531s
791
+ [Epoch 2][70/100] loss=0.982849 avg=0.912602 VRAM=38.6GiB | 0.5% done | ETA(epoch): 398s
792
+ [Epoch 2][80/100] loss=0.842028 avg=0.913022 VRAM=38.5GiB | 0.6% done | ETA(epoch): 265s
793
+ [Epoch 2][90/100] loss=0.888870 avg=0.917269 VRAM=38.6GiB | 0.6% done | ETA(epoch): 133s
794
+ [Epoch 2][100/100] loss=0.917875 avg=0.915649 VRAM=38.5GiB | 0.6% done | ETA(epoch): 0s
795
+ Train loss: 0.915649 (1330.5s) ETA: 14464min
796
+ Val loss: 0.932581 [t_0.0-0.2=1.1004 t_0.2-0.4=1.0259 t_0.4-0.6=0.8721 t_0.6-0.8=0.7633 t_0.8-1.0=0.9520]
797
+ Checkpoint saved: output/lora_baseline_h100/checkpoint_epoch_0002
798
+ [MEM @ epoch 2 end] RAM: 15.5/188.5 GiB (8.2%) | VRAM: 38.3/93.1 GiB (41.1%)
799
+
800
+ --- Epoch 3/499 (1% done) ---
801
+ [Epoch 3][10/100] loss=0.798546 avg=0.892938 VRAM=38.6GiB | 0.6% done | ETA(epoch): 1192s
802
+ [Epoch 3][20/100] loss=0.986750 avg=0.928209 VRAM=38.5GiB | 0.6% done | ETA(epoch): 1061s
803
+ [Epoch 3][30/100] loss=0.774730 avg=0.905527 VRAM=38.6GiB | 0.7% done | ETA(epoch): 928s
804
+ [Epoch 3][40/100] loss=1.007182 avg=0.905173 VRAM=38.5GiB | 0.7% done | ETA(epoch): 796s
805
+ [Epoch 3][50/100] loss=0.976228 avg=0.912917 VRAM=38.6GiB | 0.7% done | ETA(epoch): 663s
806
+ [Epoch 3][60/100] loss=0.981444 avg=0.913284 VRAM=38.5GiB | 0.7% done | ETA(epoch): 530s
807
+ [Epoch 3][70/100] loss=0.820385 avg=0.909043 VRAM=38.6GiB | 0.7% done | ETA(epoch): 398s
808
+ [Epoch 3][80/100] loss=0.814420 avg=0.905657 VRAM=38.5GiB | 0.8% done | ETA(epoch): 265s
809
+ [Epoch 3][90/100] loss=0.834756 avg=0.908909 VRAM=38.6GiB | 0.8% done | ETA(epoch): 133s
810
+ [Epoch 3][100/100] loss=1.017020 avg=0.909447 VRAM=38.5GiB | 0.8% done | ETA(epoch): 0s
811
+ Train loss: 0.909447 (1326.2s) ETA: 13770min
812
+ Val loss: 0.954529 [t_0.0-0.2=1.0967 t_0.2-0.4=1.0011 t_0.4-0.6=0.8903 t_0.6-0.8=0.7404 t_0.8-1.0=0.9429]
813
+ Checkpoint saved: output/lora_baseline_h100/checkpoint_epoch_0003
814
+ Deleted old checkpoint: checkpoint_epoch_0000
815
+ [MEM @ epoch 3 end] RAM: 15.4/188.5 GiB (8.2%) | VRAM: 38.3/93.1 GiB (41.1%)
816
+
817
+ --- Epoch 4/499 (1% done) ---
818
+ [Epoch 4][10/100] loss=0.863603 avg=0.873102 VRAM=38.6GiB | 0.8% done | ETA(epoch): 1193s
819
+ [Epoch 4][20/100] loss=0.797668 avg=0.897814 VRAM=38.5GiB | 0.8% done | ETA(epoch): 1061s
820
+ [Epoch 4][30/100] loss=0.956929 avg=0.897195 VRAM=38.6GiB | 0.9% done | ETA(epoch): 929s
821
+ [Epoch 4][40/100] loss=0.987086 avg=0.901464 VRAM=38.5GiB | 0.9% done | ETA(epoch): 796s
822
+ [Epoch 4][50/100] loss=0.827385 avg=0.904161 VRAM=38.6GiB | 0.9% done | ETA(epoch): 668s
823
+ [Epoch 4][60/100] loss=0.785728 avg=0.902909 VRAM=38.5GiB | 0.9% done | ETA(epoch): 534s
824
+ [Epoch 4][70/100] loss=0.924116 avg=0.904073 VRAM=38.6GiB | 0.9% done | ETA(epoch): 400s
825
+ [Epoch 4][80/100] loss=0.803847 avg=0.898653 VRAM=38.5GiB | 1.0% done | ETA(epoch): 267s
826
+ [Epoch 4][90/100] loss=0.906517 avg=0.897017 VRAM=38.6GiB | 1.0% done | ETA(epoch): 133s
827
+ [Epoch 4][100/100] loss=0.838926 avg=0.895190 VRAM=38.5GiB | 1.0% done | ETA(epoch): 0s
828
+ Train loss: 0.895190 (1332.2s) ETA: 13354min
829
+ Val loss: 0.938578 [t_0.0-0.2=1.0855 t_0.2-0.4=1.0255 t_0.4-0.6=0.8686 t_0.6-0.8=0.7556 t_0.8-1.0=0.9351]
830
+ Checkpoint saved: output/lora_baseline_h100/checkpoint_epoch_0004
831
+ [MEM @ epoch 4 end] RAM: 15.5/188.5 GiB (8.2%) | VRAM: 38.3/93.1 GiB (41.1%)
832
+
833
+ --- Epoch 5/499 (1% done) ---
834
+ [Epoch 5][10/100] loss=0.880699 avg=0.898051 VRAM=38.6GiB | 1.0% done | ETA(epoch): 1192s
835
+ [Epoch 5][20/100] loss=1.052332 avg=0.889742 VRAM=38.5GiB | 1.0% done | ETA(epoch): 1060s
836
+ [Epoch 5][30/100] loss=0.902173 avg=0.890994 VRAM=38.6GiB | 1.1% done | ETA(epoch): 928s
837
+ [Epoch 5][40/100] loss=0.933784 avg=0.893495 VRAM=38.5GiB | 1.1% done | ETA(epoch): 801s
838
+ [Epoch 5][50/100] loss=0.851236 avg=0.892024 VRAM=38.6GiB | 1.1% done | ETA(epoch): 667s
839
+ [Epoch 5][60/100] loss=0.827588 avg=0.896425 VRAM=38.5GiB | 1.1% done | ETA(epoch): 533s
840
+ [Epoch 5][70/100] loss=0.910750 avg=0.897489 VRAM=38.6GiB | 1.1% done | ETA(epoch): 399s
841
+ [Epoch 5][80/100] loss=0.850334 avg=0.894766 VRAM=38.5GiB | 1.2% done | ETA(epoch): 266s
842
+ [Epoch 5][90/100] loss=0.902218 avg=0.895331 VRAM=38.6GiB | 1.2% done | ETA(epoch): 133s
843
+ [Epoch 5][100/100] loss=0.984387 avg=0.894165 VRAM=38.5GiB | 1.2% done | ETA(epoch): 0s
844
+ Train loss: 0.894165 (1330.1s) ETA: 13066min
845
+ Val loss: 0.915973 [t_0.0-0.2=1.0750 t_0.2-0.4=1.0342 t_0.4-0.6=0.8432 t_0.6-0.8=0.7724 t_0.8-1.0=0.9757]
846
+ Checkpoint saved: output/lora_baseline_h100/checkpoint_epoch_0005 (BEST)
847
+ Deleted old checkpoint: checkpoint_epoch_0001
848
+ Deleted old checkpoint: checkpoint_epoch_0002
849
+ [MEM @ epoch 5 end] RAM: 15.3/188.5 GiB (8.1%) | VRAM: 38.3/93.1 GiB (41.1%)
850
+
851
+ --- Epoch 6/499 (1% done) ---
852
+ [Epoch 6][10/100] loss=0.998760 avg=0.877657 VRAM=38.6GiB | 1.2% done | ETA(epoch): 1194s
853
+ [Epoch 6][20/100] loss=0.828451 avg=0.886384 VRAM=38.5GiB | 1.2% done | ETA(epoch): 1063s
854
+ [Epoch 6][30/100] loss=0.846599 avg=0.895307 VRAM=38.6GiB | 1.3% done | ETA(epoch): 930s
855
+ [Epoch 6][40/100] loss=0.897369 avg=0.900879 VRAM=38.5GiB | 1.3% done | ETA(epoch): 797s
856
+ [Epoch 6][50/100] loss=0.937362 avg=0.898990 VRAM=38.6GiB | 1.3% done | ETA(epoch): 664s
857
+ [Epoch 6][60/100] loss=0.871279 avg=0.899144 VRAM=38.5GiB | 1.3% done | ETA(epoch): 531s
858
+ [Epoch 6][70/100] loss=0.882198 avg=0.899551 VRAM=38.6GiB | 1.3% done | ETA(epoch): 398s
859
+ [Epoch 6][80/100] loss=0.924926 avg=0.897149 VRAM=38.5GiB | 1.4% done | ETA(epoch): 265s
860
+ [Epoch 6][90/100] loss=0.879220 avg=0.898957 VRAM=38.6GiB | 1.4% done | ETA(epoch): 133s
861
+ [Epoch 6][100/100] loss=0.926145 avg=0.902229 VRAM=38.5GiB | 1.4% done | ETA(epoch): 0s
862
+ Train loss: 0.902229 (1327.3s) ETA: 12851min
863
+ Val loss: 0.919442 [t_0.0-0.2=1.1017 t_0.2-0.4=1.0331 t_0.4-0.6=0.8386 t_0.6-0.8=0.7633 t_0.8-1.0=0.8907]
864
+ Checkpoint saved: output/lora_baseline_h100/checkpoint_epoch_0006
865
+ Deleted old checkpoint: checkpoint_epoch_0003
866
+ [MEM @ epoch 6 end] RAM: 15.6/188.5 GiB (8.3%) | VRAM: 38.3/93.1 GiB (41.1%)
867
+
868
+ --- Epoch 7/499 (1% done) ---
869
+ [Epoch 7][10/100] loss=0.861784 avg=0.881602 VRAM=38.6GiB | 1.4% done | ETA(epoch): 1192s
870
+ [Epoch 7][20/100] loss=0.919683 avg=0.878720 VRAM=38.5GiB | 1.4% done | ETA(epoch): 1061s
871
+ [Epoch 7][30/100] loss=0.962979 avg=0.882661 VRAM=38.6GiB | 1.5% done | ETA(epoch): 928s
872
+ [Epoch 7][40/100] loss=0.930568 avg=0.884640 VRAM=38.5GiB | 1.5% done | ETA(epoch): 796s
873
+ [Epoch 7][50/100] loss=0.974388 avg=0.884026 VRAM=38.6GiB | 1.5% done | ETA(epoch): 663s
874
+ [Epoch 7][60/100] loss=0.899950 avg=0.882088 VRAM=38.5GiB | 1.5% done | ETA(epoch): 530s
875
+ [Epoch 7][70/100] loss=0.949109 avg=0.885325 VRAM=38.6GiB | 1.5% done | ETA(epoch): 398s
876
+ [Epoch 7][80/100] loss=0.953958 avg=0.885340 VRAM=38.5GiB | 1.6% done | ETA(epoch): 265s
877
+ [Epoch 7][90/100] loss=0.912331 avg=0.888319 VRAM=38.6GiB | 1.6% done | ETA(epoch): 133s
878
+ [Epoch 7][100/100] loss=0.892251 avg=0.891891 VRAM=38.5GiB | 1.6% done | ETA(epoch): 0s
879
+ Train loss: 0.891891 (1326.3s) ETA: 12683min
880
+ Val loss: 0.948828 [t_0.0-0.2=1.0931 t_0.2-0.4=1.0054 t_0.4-0.6=0.8854 t_0.6-0.8=0.7767 t_0.8-1.0=0.9222]
881
+ Checkpoint saved: output/lora_baseline_h100/checkpoint_epoch_0007
882
+ Deleted old checkpoint: checkpoint_epoch_0004
883
+ [MEM @ epoch 7 end] RAM: 15.4/188.5 GiB (8.2%) | VRAM: 38.3/93.1 GiB (41.1%)
884
+
885
+ --- Epoch 8/499 (2% done) ---
886
+ [Epoch 8][10/100] loss=0.793007 avg=0.882597 VRAM=38.6GiB | 1.6% done | ETA(epoch): 1194s
887
+ [Epoch 8][20/100] loss=0.778859 avg=0.884551 VRAM=38.5GiB | 1.6% done | ETA(epoch): 1061s
888
+ [Epoch 8][30/100] loss=0.949995 avg=0.887610 VRAM=38.6GiB | 1.7% done | ETA(epoch): 928s
889
+ [Epoch 8][40/100] loss=0.959300 avg=0.894274 VRAM=38.5GiB | 1.7% done | ETA(epoch): 796s
890
+ [Epoch 8][50/100] loss=0.950433 avg=0.897313 VRAM=38.6GiB | 1.7% done | ETA(epoch): 663s
891
+ [Epoch 8][60/100] loss=0.888023 avg=0.898194 VRAM=38.5GiB | 1.7% done | ETA(epoch): 531s
892
+ [Epoch 8][70/100] loss=0.898501 avg=0.898381 VRAM=38.6GiB | 1.7% done | ETA(epoch): 398s
893
+ [Epoch 8][80/100] loss=0.839228 avg=0.900195 VRAM=38.5GiB | 1.8% done | ETA(epoch): 266s
894
+ [Epoch 8][90/100] loss=0.945698 avg=0.898329 VRAM=38.6GiB | 1.8% done | ETA(epoch): 133s
895
+ [Epoch 8][100/100] loss=0.846462 avg=0.896364 VRAM=38.5GiB | 1.8% done | ETA(epoch): 0s
896
+ Train loss: 0.896364 (1328.6s) ETA: 12549min
897
+ Val loss: 0.929101 [t_0.0-0.2=1.0751 t_0.2-0.4=1.0113 t_0.4-0.6=0.8559 t_0.6-0.8=0.7663 t_0.8-1.0=0.9477]
898
+ Checkpoint saved: output/lora_baseline_h100/checkpoint_epoch_0008
899
+ [MEM @ epoch 8 end] RAM: 15.5/188.5 GiB (8.2%) | VRAM: 38.3/93.1 GiB (41.1%)
900
+
901
+ --- Epoch 9/499 (2% done) ---
902
+ [Epoch 9][10/100] loss=0.811317 avg=0.850544 VRAM=38.6GiB | 1.8% done | ETA(epoch): 1192s
903
+ [Epoch 9][20/100] loss=0.878190 avg=0.864503 VRAM=38.5GiB | 1.8% done | ETA(epoch): 1060s
904
+ [Epoch 9][30/100] loss=0.816290 avg=0.875198 VRAM=38.6GiB | 1.9% done | ETA(epoch): 928s
905
+ [Epoch 9][40/100] loss=0.899423 avg=0.874578 VRAM=38.5GiB | 1.9% done | ETA(epoch): 795s
906
+ [Epoch 9][50/100] loss=0.765660 avg=0.879674 VRAM=38.6GiB | 1.9% done | ETA(epoch): 663s
907
+ [Epoch 9][60/100] loss=1.041576 avg=0.888781 VRAM=38.5GiB | 1.9% done | ETA(epoch): 534s
908
+ [Epoch 9][70/100] loss=0.967851 avg=0.896216 VRAM=38.6GiB | 1.9% done | ETA(epoch): 400s
909
+ [Epoch 9][80/100] loss=0.869709 avg=0.898694 VRAM=38.5GiB | 2.0% done | ETA(epoch): 267s
910
+ [Epoch 9][90/100] loss=0.913030 avg=0.894023 VRAM=38.6GiB | 2.0% done | ETA(epoch): 133s
911
+ [Epoch 9][100/100] loss=0.905419 avg=0.890292 VRAM=38.5GiB | 2.0% done | ETA(epoch): 0s
912
+ Train loss: 0.890292 (1332.6s) ETA: 12440min
913
+ Val loss: 0.907056 [t_0.0-0.2=1.0759 t_0.2-0.4=1.0022 t_0.4-0.6=0.8641 t_0.6-0.8=0.7658 t_0.8-1.0=0.8648]
914
+ Checkpoint saved: output/lora_baseline_h100/checkpoint_epoch_0009 (BEST)
915
+ Deleted old checkpoint: checkpoint_epoch_0005
916
+ Deleted old checkpoint: checkpoint_epoch_0006
917
+ [MEM @ epoch 9 end] RAM: 15.4/188.5 GiB (8.2%) | VRAM: 38.3/93.1 GiB (41.1%)
918
+
919
+ --- Epoch 10/499 (2% done) ---
920
+ [Epoch 10][10/100] loss=0.799796 avg=0.875355 VRAM=38.6GiB | 2.0% done | ETA(epoch): 1193s
921
+ [Epoch 10][20/100] loss=0.885095 avg=0.887158 VRAM=38.5GiB | 2.0% done | ETA(epoch): 1061s
922
+ [Epoch 10][30/100] loss=0.908264 avg=0.882971 VRAM=38.6GiB | 2.1% done | ETA(epoch): 928s
923
+ [Epoch 10][40/100] loss=0.998384 avg=0.885364 VRAM=38.5GiB | 2.1% done | ETA(epoch): 795s
924
+ [Epoch 10][50/100] loss=0.967074 avg=0.892462 VRAM=38.6GiB | 2.1% done | ETA(epoch): 665s
925
+ [Epoch 10][60/100] loss=0.807719 avg=0.891286 VRAM=38.5GiB | 2.1% done | ETA(epoch): 532s
926
+ [Epoch 10][70/100] loss=0.930732 avg=0.894307 VRAM=38.6GiB | 2.1% done | ETA(epoch): 399s
927
+ [Epoch 10][80/100] loss=0.934865 avg=0.891560 VRAM=38.5GiB | 2.2% done | ETA(epoch): 266s
928
+ [Epoch 10][90/100] loss=0.879800 avg=0.896282 VRAM=38.6GiB | 2.2% done | ETA(epoch): 133s
929
+ [Epoch 10][100/100] loss=0.951419 avg=0.893173 VRAM=38.5GiB | 2.2% done | ETA(epoch): 0s
930
+ Train loss: 0.893173 (1328.5s) ETA: 12343min
931
+ Val loss: 0.915998 [t_0.0-0.2=1.0966 t_0.2-0.4=1.0120 t_0.4-0.6=0.8423 t_0.6-0.8=0.7475 t_0.8-1.0=0.9145]
932
+ Checkpoint saved: output/lora_baseline_h100/checkpoint_epoch_0010
933
+ Deleted old checkpoint: checkpoint_epoch_0007
934
+ [MEM @ epoch 10 end] RAM: 15.4/188.5 GiB (8.2%) | VRAM: 38.3/93.1 GiB (41.1%)
935
+
936
+ --- Epoch 11/499 (2% done) ---
937
+ [Epoch 11][10/100] loss=0.898770 avg=0.840691 VRAM=38.6GiB | 2.2% done | ETA(epoch): 1192s
938
+ [Epoch 11][20/100] loss=0.902107 avg=0.868226 VRAM=38.5GiB | 2.2% done | ETA(epoch): 1061s
939
+ [Epoch 11][30/100] loss=0.899334 avg=0.886091 VRAM=38.6GiB | 2.3% done | ETA(epoch): 929s
940
+ [Epoch 11][40/100] loss=0.836345 avg=0.883065 VRAM=38.5GiB | 2.3% done | ETA(epoch): 796s
941
+ [Epoch 11][50/100] loss=0.838135 avg=0.884279 VRAM=38.6GiB | 2.3% done | ETA(epoch): 663s
942
+ [Epoch 11][60/100] loss=0.886633 avg=0.885590 VRAM=38.5GiB | 2.3% done | ETA(epoch): 531s
943
+ [Epoch 11][70/100] loss=0.935280 avg=0.888742 VRAM=38.6GiB | 2.3% done | ETA(epoch): 398s
944
+ [Epoch 11][80/100] loss=0.892184 avg=0.887628 VRAM=38.5GiB | 2.4% done | ETA(epoch): 265s
945
+ [Epoch 11][90/100] loss=0.885992 avg=0.887280 VRAM=38.6GiB | 2.4% done | ETA(epoch): 133s
946
+ [Epoch 11][100/100] loss=0.856227 avg=0.888817 VRAM=38.5GiB | 2.4% done | ETA(epoch): 0s
947
+ Train loss: 0.888817 (1326.6s) ETA: 12257min
948
+ Val loss: 0.924249 [t_0.0-0.2=1.0761 t_0.2-0.4=1.0630 t_0.4-0.6=0.8336 t_0.6-0.8=0.7874 t_0.8-1.0=0.8219]
949
+ Checkpoint saved: output/lora_baseline_h100/checkpoint_epoch_0011
950
+ Deleted old checkpoint: checkpoint_epoch_0008
951
+ [MEM @ epoch 11 end] RAM: 15.5/188.5 GiB (8.2%) | VRAM: 38.3/93.1 GiB (41.1%)
952
+
953
+ --- Epoch 12/499 (2% done) ---
954
+ [Epoch 12][10/100] loss=0.879421 avg=0.851119 VRAM=38.6GiB | 2.4% done | ETA(epoch): 1193s
955
+ [Epoch 12][20/100] loss=0.906359 avg=0.879505 VRAM=38.5GiB | 2.4% done | ETA(epoch): 1061s
956
+ [Epoch 12][30/100] loss=0.807515 avg=0.879843 VRAM=38.6GiB | 2.5% done | ETA(epoch): 929s
957
+ [Epoch 12][40/100] loss=0.951137 avg=0.893757 VRAM=38.5GiB | 2.5% done | ETA(epoch): 796s
958
+ [Epoch 12][50/100] loss=1.001705 avg=0.896496 VRAM=38.6GiB | 2.5% done | ETA(epoch): 663s
959
+ [Epoch 12][60/100] loss=0.866891 avg=0.892637 VRAM=38.5GiB | 2.5% done | ETA(epoch): 530s
960
+ [Epoch 12][70/100] loss=0.944366 avg=0.892345 VRAM=38.6GiB | 2.5% done | ETA(epoch): 398s
961
+ [Epoch 12][80/100] loss=0.969197 avg=0.891150 VRAM=38.5GiB | 2.6% done | ETA(epoch): 265s
962
+ [Epoch 12][90/100] loss=0.948820 avg=0.894898 VRAM=38.6GiB | 2.6% done | ETA(epoch): 133s
963
+ [Epoch 12][100/100] loss=0.967688 avg=0.894570 VRAM=38.5GiB | 2.6% done | ETA(epoch): 0s
964
+ Train loss: 0.894570 (1325.8s) ETA: 12181min
965
+ Val loss: 0.910472 [t_0.0-0.2=1.0759 t_0.2-0.4=0.9960 t_0.4-0.6=0.8730 t_0.6-0.8=0.7371 t_0.8-1.0=0.8862]
966
+ Checkpoint saved: output/lora_baseline_h100/checkpoint_epoch_0012
967
+ [MEM @ epoch 12 end] RAM: 15.5/188.5 GiB (8.2%) | VRAM: 38.3/93.1 GiB (41.1%)
968
+
969
+ --- Epoch 13/499 (3% done) ---
970
+ [Epoch 13][10/100] loss=0.870758 avg=0.880895 VRAM=38.6GiB | 2.6% done | ETA(epoch): 1193s
971
+ [Epoch 13][20/100] loss=0.939617 avg=0.881841 VRAM=38.5GiB | 2.6% done | ETA(epoch): 1061s
972
+ [Epoch 13][30/100] loss=0.893678 avg=0.891095 VRAM=38.6GiB | 2.7% done | ETA(epoch): 929s
973
+ [Epoch 13][40/100] loss=0.894570 avg=0.884680 VRAM=38.5GiB | 2.7% done | ETA(epoch): 796s
974
+ [Epoch 13][50/100] loss=0.818397 avg=0.888858 VRAM=38.6GiB | 2.7% done | ETA(epoch): 663s
975
+ [Epoch 13][60/100] loss=1.002739 avg=0.890945 VRAM=38.5GiB | 2.7% done | ETA(epoch): 531s
976
+ [Epoch 13][70/100] loss=0.937253 avg=0.890811 VRAM=38.6GiB | 2.7% done | ETA(epoch): 398s
977
+ [Epoch 13][80/100] loss=0.975271 avg=0.894329 VRAM=38.5GiB | 2.8% done | ETA(epoch): 265s
978
+ [Epoch 13][90/100] loss=0.830887 avg=0.896053 VRAM=38.6GiB | 2.8% done | ETA(epoch): 133s
979
+ [Epoch 13][100/100] loss=0.878928 avg=0.899050 VRAM=38.5GiB | 2.8% done | ETA(epoch): 0s
980
+ Train loss: 0.899050 (1329.5s) ETA: 12113min
981
+ Val loss: 0.918244 [t_0.0-0.2=1.0871 t_0.2-0.4=1.0228 t_0.4-0.6=0.8267 t_0.6-0.8=0.7782 t_0.8-1.0=0.8386]
982
+ Checkpoint saved: output/lora_baseline_h100/checkpoint_epoch_0013
983
+ Deleted old checkpoint: checkpoint_epoch_0010
984
+ [MEM @ epoch 13 end] RAM: 15.5/188.5 GiB (8.2%) | VRAM: 38.3/93.1 GiB (41.1%)
985
+
986
+ --- Epoch 14/499 (3% done) ---
987
+ [Epoch 14][10/100] loss=0.840193 avg=0.838119 VRAM=38.6GiB | 2.8% done | ETA(epoch): 1194s
988
+ [Epoch 14][20/100] loss=0.881363 avg=0.867359 VRAM=38.5GiB | 2.8% done | ETA(epoch): 1061s
989
+ [Epoch 14][30/100] loss=0.820786 avg=0.866717 VRAM=38.6GiB | 2.9% done | ETA(epoch): 928s
990
+ [Epoch 14][40/100] loss=0.826457 avg=0.876714 VRAM=38.5GiB | 2.9% done | ETA(epoch): 795s
991
+ [Epoch 14][50/100] loss=0.859007 avg=0.880535 VRAM=38.6GiB | 2.9% done | ETA(epoch): 663s
992
+ [Epoch 14][60/100] loss=0.897344 avg=0.887403 VRAM=38.5GiB | 2.9% done | ETA(epoch): 530s
993
+ [Epoch 14][70/100] loss=0.832865 avg=0.890516 VRAM=38.6GiB | 2.9% done | ETA(epoch): 399s
994
+ [Epoch 14][80/100] loss=0.913491 avg=0.890590 VRAM=38.5GiB | 3.0% done | ETA(epoch): 266s
995
+ [Epoch 14][90/100] loss=0.801384 avg=0.887471 VRAM=38.6GiB | 3.0% done | ETA(epoch): 133s
996
+ [Epoch 14][100/100] loss=0.826606 avg=0.887343 VRAM=38.5GiB | 3.0% done | ETA(epoch): 0s
997
+ Train loss: 0.887343 (1329.0s) ETA: 12052min
998
+ Val loss: 0.898047 [t_0.0-0.2=1.0879 t_0.2-0.4=1.0043 t_0.4-0.6=0.8682 t_0.6-0.8=0.7621 t_0.8-1.0=0.8571]
999
+ Checkpoint saved: output/lora_baseline_h100/checkpoint_epoch_0014 (BEST)
1000
+ Deleted old checkpoint: checkpoint_epoch_0009
1001
+ Deleted old checkpoint: checkpoint_epoch_0011
1002
+ [MEM @ epoch 14 end] RAM: 15.4/188.5 GiB (8.2%) | VRAM: 38.3/93.1 GiB (41.1%)
1003
+
1004
+ --- Epoch 15/499 (3% done) ---
1005
+ [Epoch 15][10/100] loss=0.850908 avg=0.911571 VRAM=38.6GiB | 3.0% done | ETA(epoch): 1192s
1006
+ [Epoch 15][20/100] loss=0.755047 avg=0.896789 VRAM=38.5GiB | 3.0% done | ETA(epoch): 1060s
1007
+ [Epoch 15][30/100] loss=0.975014 avg=0.897212 VRAM=38.6GiB | 3.1% done | ETA(epoch): 928s
1008
+ [Epoch 15][40/100] loss=0.812536 avg=0.906780 VRAM=38.5GiB | 3.1% done | ETA(epoch): 796s
1009
+ [Epoch 15][50/100] loss=1.010267 avg=0.906544 VRAM=38.6GiB | 3.1% done | ETA(epoch): 666s
1010
+ [Epoch 15][60/100] loss=0.968819 avg=0.905216 VRAM=38.5GiB | 3.1% done | ETA(epoch): 532s
1011
+ [Epoch 15][70/100] loss=0.905952 avg=0.905869 VRAM=38.6GiB | 3.1% done | ETA(epoch): 399s
1012
+ [Epoch 15][80/100] loss=0.867547 avg=0.906110 VRAM=38.5GiB | 3.2% done | ETA(epoch): 266s
1013
+ [Epoch 15][90/100] loss=0.861936 avg=0.904166 VRAM=38.6GiB | 3.2% done | ETA(epoch): 133s
1014
+ [Epoch 15][100/100] loss=0.910464 avg=0.902628 VRAM=38.5GiB | 3.2% done | ETA(epoch): 0s
1015
+ Train loss: 0.902628 (1329.2s) ETA: 11995min
1016
+ Val loss: 0.952279 [t_0.0-0.2=1.0810 t_0.2-0.4=1.0246 t_0.4-0.6=0.8802 t_0.6-0.8=0.7419 t_0.8-1.0=0.9100]
1017
+ Checkpoint saved: output/lora_baseline_h100/checkpoint_epoch_0015
1018
+ Deleted old checkpoint: checkpoint_epoch_0012
1019
+ [MEM @ epoch 15 end] RAM: 15.4/188.5 GiB (8.2%) | VRAM: 38.3/93.1 GiB (41.1%)
1020
+
1021
+ --- Epoch 16/499 (3% done) ---
1022
+ [Epoch 16][10/100] loss=0.763465 avg=0.871007 VRAM=38.6GiB | 3.2% done | ETA(epoch): 1193s
lora_rank_128_mlp_1k_h100/train.log ADDED
The diff for this file is too large to render. See raw diff
 
test_single_gpu_20260415_162558.log ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Run dir : output/_smoke_test_1gpu
2
+ Log file: output/_smoke_test_1gpu/train.log
3
+ GPU: NVIDIA GeForce RTX 5090 | VRAM: 31.4 GiB | PyTorch: 2.11.0+cu130
4
+
5
+ Final Configuration:
6
+ Paths:
7
+ transformer_path weights/flux2_dev_fp8mixed.safetensors
8
+ vae_path weights/flux2-vae.safetensors
9
+ controlnet_path weights/FLUX.2-dev-Fun-Controlnet-Union-2602.safetensors
10
+ dataset_dir dataset
11
+ color_map_path configs/color_map.json
12
+ output_dir output/_smoke_test_1gpu
13
+ text_encoder_path weights/mistral_3_small_flux2_fp8.safetensors
14
+ precomputed_embeddings output/text_embeddings_global.pt
15
+ Model:
16
+ image_size 1024
17
+ num_classes 6
18
+ control_in_dim 3072
19
+ fusion_dim 768
20
+ num_fusion_blocks 3
21
+ num_heads 12
22
+ num_fourier_bands 32
23
+ boundary_threshold 0.1
24
+ Training:
25
+ num_epochs 1
26
+ batch_size 4
27
+ learning_rate 0.0003
28
+ weight_decay 0.01
29
+ max_grad_norm 1.0
30
+ grad_accum_steps 4
31
+ guidance_scale 3.5
32
+ num_workers 0
33
+ Text Encoder:
34
+ text_seq_len 512
35
+ text_dim 15360
36
+ Logging:
37
+ log_interval 1
38
+ save_every_n_epochs 5
39
+ val_every_n_epochs 1
40
+ WandB:
41
+ wandb_entity
42
+ wandb_project _smoke_test_1gpu
43
+ Resume:
44
+ resume_from (not set)
45
+ [MEM @ pre-flight] RAM: 11.8/188.5 GiB (6.3%) | VRAM: 0.0/31.4 GiB (0.0%)
46
+
47
+ ============================================================
48
+ [1/8] Text Embeddings
49
+ ============================================================
50
+ Composed prompt (575 chars):
51
+ Aerial top-down satellite view of American urban area, Google Earth style, 8k resolution, photorealistic satellite imagery, natural daylight, buildings: detaile...
52
+
53
+ === Precomputing Global Text Embedding ===
54
+ Prompt: Aerial top-down satellite view of American urban area, Google Earth style, 8k resolution, photorealistic satellite image...
55
+ Loading safetensors: weights/mistral_3_small_flux2_fp8.safetensors
56
+ Building tokenizer from embedded tekken_model ...
57
+ Detected: 30 layers, hidden=5120, heads=32, kv_heads=8, ffn=32768, vocab=131072
58
+ Initialising MistralModel (30 layers)...
59
+ Dequantizing FP8 weights β†’ bf16 ...
60
+ Traceback (most recent call last):
61
+ File "/home/xg_wang_group/SynthUrbanSAT/train_script.py", line 1297, in <module>
62
+ main()
63
+ File "/home/xg_wang_group/SynthUrbanSAT/train_script.py", line 731, in main
64
+ precompute_single_prompt_embeddings(
65
+ File "/home/xg_wang_group/SynthUrbanSAT/scripts/text_encoder.py", line 449, in precompute_single_prompt_embeddings
66
+ text_encoder, tokenizer = load_text_encoder(model_path, device, dtype)
67
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
68
+ File "/home/xg_wang_group/SynthUrbanSAT/scripts/text_encoder.py", line 115, in load_text_encoder
69
+ return _load_from_safetensors(model_path, device, dtype)
70
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
71
+ File "/home/xg_wang_group/SynthUrbanSAT/scripts/text_encoder.py", line 213, in _load_from_safetensors
72
+ text_encoder = text_encoder.to(device=device, dtype=dtype).eval()
73
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
74
+ File "/home/xg_wang_group/miniconda/envs/flux_train/lib/python3.12/site-packages/transformers/modeling_utils.py", line 3574, in to
75
+ return super().to(*args, **kwargs)
76
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
77
+ File "/home/xg_wang_group/miniconda/envs/flux_train/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1384, in to
78
+ return self._apply(convert)
79
+ ^^^^^^^^^^^^^^^^^^^^
80
+ File "/home/xg_wang_group/miniconda/envs/flux_train/lib/python3.12/site-packages/torch/nn/modules/module.py", line 934, in _apply
81
+ module._apply(fn)
82
+ File "/home/xg_wang_group/miniconda/envs/flux_train/lib/python3.12/site-packages/torch/nn/modules/module.py", line 934, in _apply
83
+ module._apply(fn)
84
+ File "/home/xg_wang_group/miniconda/envs/flux_train/lib/python3.12/site-packages/torch/nn/modules/module.py", line 934, in _apply
85
+ module._apply(fn)
86
+ [Previous line repeated 1 more time]
87
+ File "/home/xg_wang_group/miniconda/envs/flux_train/lib/python3.12/site-packages/torch/nn/modules/module.py", line 965, in _apply
88
+ param_applied = fn(param)
89
+ ^^^^^^^^^
90
+ File "/home/xg_wang_group/miniconda/envs/flux_train/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1370, in convert
91
+ return t.to(
92
+ ^^^^^
93
+ torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 320.00 MiB. GPU 0 has a total capacity of 31.36 GiB of which 208.56 MiB is free. Including non-PyTorch memory, this process has 31.13 GiB memory in use. Of the allocated memory 30.65 GiB is allocated by PyTorch, and 1.45 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://docs.pytorch.org/docs/stable/notes/cuda.html#optimizing-memory-usage-with-pytorch-cuda-alloc-conf)
test_single_gpu_20260415_165338.log ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Run dir : output/_smoke_test_1gpu
2
+ Log file: output/_smoke_test_1gpu/train.log
3
+ GPU: NVIDIA GeForce RTX 5090 | VRAM: 31.4 GiB | PyTorch: 2.11.0+cu130
4
+
5
+ Final Configuration:
6
+ Paths:
7
+ transformer_path weights/flux2_dev_fp8mixed.safetensors
8
+ vae_path weights/flux2-vae.safetensors
9
+ controlnet_path weights/FLUX.2-dev-Fun-Controlnet-Union-2602.safetensors
10
+ dataset_dir dataset
11
+ color_map_path configs/color_map.json
12
+ output_dir output/_smoke_test_1gpu
13
+ text_encoder_path weights/mistral_3_small_flux2_fp8.safetensors
14
+ precomputed_embeddings output/text_embeddings_global.pt
15
+ Model:
16
+ image_size 1024
17
+ num_classes 6
18
+ control_in_dim 3072
19
+ fusion_dim 768
20
+ num_fusion_blocks 3
21
+ num_heads 12
22
+ num_fourier_bands 32
23
+ boundary_threshold 0.1
24
+ Training:
25
+ num_epochs 1
26
+ batch_size 4
27
+ learning_rate 0.0003
28
+ weight_decay 0.01
29
+ max_grad_norm 1.0
30
+ grad_accum_steps 4
31
+ guidance_scale 3.5
32
+ num_workers 0
33
+ Text Encoder:
34
+ text_seq_len 512
35
+ text_dim 15360
36
+ Logging:
37
+ log_interval 1
38
+ save_every_n_epochs 5
39
+ val_every_n_epochs 1
40
+ WandB:
41
+ wandb_entity
42
+ wandb_project _smoke_test_1gpu
43
+ Resume:
44
+ resume_from (not set)
45
+ [MEM @ pre-flight] RAM: 10.7/188.5 GiB (5.7%) | VRAM: 0.0/31.4 GiB (0.0%)
46
+
47
+ ============================================================
48
+ [1/8] Text Embeddings
49
+ ============================================================
50
+ Composed prompt (575 chars):
51
+ Aerial top-down satellite view of American urban area, Google Earth style, 8k resolution, photorealistic satellite imagery, natural daylight, buildings: detaile...
52
+
53
+ === Precomputing Global Text Embedding ===
54
+ Prompt: Aerial top-down satellite view of American urban area, Google Earth style, 8k resolution, photorealistic satellite image...
55
+ Loading safetensors: weights/mistral_3_small_flux2_fp8.safetensors
56
+ Building tokenizer from embedded tekken_model ...
57
+ Detected: 30 layers, hidden=5120, heads=32, kv_heads=8, ffn=32768, vocab=131072
58
+ Initialising MistralModel (30 layers)...
test_single_gpu_20260415_165414.log ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Run dir : output/_smoke_test_1gpu
2
+ Log file: output/_smoke_test_1gpu/train.log
3
+ GPU: NVIDIA GeForce RTX 5090 | VRAM: 31.4 GiB | PyTorch: 2.11.0+cu130
4
+
5
+ Final Configuration:
6
+ Paths:
7
+ transformer_path weights/flux2_dev_fp8mixed.safetensors
8
+ vae_path weights/flux2-vae.safetensors
9
+ controlnet_path weights/FLUX.2-dev-Fun-Controlnet-Union-2602.safetensors
10
+ dataset_dir dataset
11
+ color_map_path configs/color_map.json
12
+ output_dir output/_smoke_test_1gpu
13
+ text_encoder_path weights/mistral_3_small_flux2_fp8.safetensors
14
+ precomputed_embeddings output/text_embeddings_global.pt
15
+ Model:
16
+ image_size 1024
17
+ num_classes 6
18
+ control_in_dim 3072
19
+ fusion_dim 768
20
+ num_fusion_blocks 3
21
+ num_heads 12
22
+ num_fourier_bands 32
23
+ boundary_threshold 0.1
24
+ Training:
25
+ num_epochs 1
26
+ batch_size 4
27
+ learning_rate 0.0003
28
+ weight_decay 0.01
29
+ max_grad_norm 1.0
30
+ grad_accum_steps 4
31
+ guidance_scale 3.5
32
+ num_workers 0
33
+ Text Encoder:
34
+ text_seq_len 512
35
+ text_dim 15360
36
+ Logging:
37
+ log_interval 1
38
+ save_every_n_epochs 5
39
+ val_every_n_epochs 1
40
+ WandB:
41
+ wandb_entity
42
+ wandb_project _smoke_test_1gpu
43
+ Resume:
44
+ resume_from (not set)
45
+ [MEM @ pre-flight] RAM: 21.6/188.5 GiB (11.5%) | VRAM: 0.0/31.4 GiB (0.0%)
46
+
47
+ ============================================================
48
+ [1/8] Text Embeddings
49
+ ============================================================
50
+ Composed prompt (575 chars):
51
+ Aerial top-down satellite view of American urban area, Google Earth style, 8k resolution, photorealistic satellite imagery, natural daylight, buildings: detaile...
52
+
53
+ === Precomputing Global Text Embedding ===
54
+ Prompt: Aerial top-down satellite view of American urban area, Google Earth style, 8k resolution, photorealistic satellite image...
55
+ Loading safetensors: weights/mistral_3_small_flux2_fp8.safetensors
56
+ Building tokenizer from embedded tekken_model ...
57
+ Detected: 30 layers, hidden=5120, heads=32, kv_heads=8, ffn=32768, vocab=131072
58
+ Initialising MistralModel (30 layers)...
59
+ Dequantizing FP8 weights β†’ bf16 ...
60
+ Traceback (most recent call last):
61
+ File "/home/xg_wang_group/SynthUrbanSAT/train_script.py", line 1297, in <module>
62
+ main()
63
+ File "/home/xg_wang_group/SynthUrbanSAT/train_script.py", line 731, in main
64
+ precompute_single_prompt_embeddings(
65
+ File "/home/xg_wang_group/SynthUrbanSAT/scripts/text_encoder.py", line 449, in precompute_single_prompt_embeddings
66
+ text_encoder, tokenizer = load_text_encoder(model_path, device, dtype)
67
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
68
+ File "/home/xg_wang_group/SynthUrbanSAT/scripts/text_encoder.py", line 115, in load_text_encoder
69
+ return _load_from_safetensors(model_path, device, dtype)
70
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
71
+ File "/home/xg_wang_group/SynthUrbanSAT/scripts/text_encoder.py", line 213, in _load_from_safetensors
72
+ text_encoder = text_encoder.to(device=device, dtype=dtype).eval()
73
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
74
+ File "/home/xg_wang_group/miniconda/envs/flux_train/lib/python3.12/site-packages/transformers/modeling_utils.py", line 3574, in to
75
+ return super().to(*args, **kwargs)
76
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
77
+ File "/home/xg_wang_group/miniconda/envs/flux_train/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1384, in to
78
+ return self._apply(convert)
79
+ ^^^^^^^^^^^^^^^^^^^^
80
+ File "/home/xg_wang_group/miniconda/envs/flux_train/lib/python3.12/site-packages/torch/nn/modules/module.py", line 934, in _apply
81
+ module._apply(fn)
82
+ File "/home/xg_wang_group/miniconda/envs/flux_train/lib/python3.12/site-packages/torch/nn/modules/module.py", line 934, in _apply
83
+ module._apply(fn)
84
+ File "/home/xg_wang_group/miniconda/envs/flux_train/lib/python3.12/site-packages/torch/nn/modules/module.py", line 934, in _apply
85
+ module._apply(fn)
86
+ [Previous line repeated 1 more time]
87
+ File "/home/xg_wang_group/miniconda/envs/flux_train/lib/python3.12/site-packages/torch/nn/modules/module.py", line 965, in _apply
88
+ param_applied = fn(param)
89
+ ^^^^^^^^^
90
+ File "/home/xg_wang_group/miniconda/envs/flux_train/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1370, in convert
91
+ return t.to(
92
+ ^^^^^
93
+ torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 320.00 MiB. GPU 0 has a total capacity of 31.36 GiB of which 208.56 MiB is free. Including non-PyTorch memory, this process has 31.13 GiB memory in use. Of the allocated memory 30.65 GiB is allocated by PyTorch, and 1.45 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://docs.pytorch.org/docs/stable/notes/cuda.html#optimizing-memory-usage-with-pytorch-cuda-alloc-conf)
test_single_gpu_20260415_165844.log ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Run dir : output/_smoke_test_1gpu
2
+ Log file: output/_smoke_test_1gpu/train.log
3
+ GPU: NVIDIA H100 NVL | VRAM: 93.1 GiB | PyTorch: 2.11.0+cu130
4
+
5
+ Final Configuration:
6
+ Paths:
7
+ transformer_path weights/flux2_dev_fp8mixed.safetensors
8
+ vae_path weights/flux2-vae.safetensors
9
+ controlnet_path weights/FLUX.2-dev-Fun-Controlnet-Union-2602.safetensors
10
+ dataset_dir dataset
11
+ color_map_path configs/color_map.json
12
+ output_dir output/_smoke_test_1gpu
13
+ text_encoder_path weights/mistral_3_small_flux2_fp8.safetensors
14
+ precomputed_embeddings output/text_embeddings_global.pt
15
+ Model:
16
+ image_size 1024
17
+ num_classes 6
18
+ control_in_dim 3072
19
+ fusion_dim 768
20
+ num_fusion_blocks 3
21
+ num_heads 12
22
+ num_fourier_bands 32
23
+ boundary_threshold 0.1
24
+ Training:
25
+ num_epochs 1
26
+ batch_size 4
27
+ learning_rate 0.0003
28
+ weight_decay 0.01
29
+ max_grad_norm 1.0
30
+ grad_accum_steps 4
31
+ guidance_scale 3.5
32
+ num_workers 0
33
+ Text Encoder:
34
+ text_seq_len 512
35
+ text_dim 15360
36
+ Logging:
37
+ log_interval 1
38
+ save_every_n_epochs 5
39
+ val_every_n_epochs 1
40
+ WandB:
41
+ wandb_entity
42
+ wandb_project _smoke_test_1gpu
43
+ Resume:
44
+ resume_from (not set)
45
+ [MEM @ pre-flight] RAM: 20.7/188.5 GiB (11.0%) | VRAM: 0.0/93.1 GiB (0.0%)
46
+
47
+ ============================================================
48
+ [1/8] Text Embeddings
49
+ ============================================================
50
+ Composed prompt (575 chars):
51
+ Aerial top-down satellite view of American urban area, Google Earth style, 8k resolution, photorealistic satellite imagery, natural daylight, buildings: detaile...
52
+
53
+ === Precomputing Global Text Embedding ===
54
+ Prompt: Aerial top-down satellite view of American urban area, Google Earth style, 8k resolution, photorealistic satellite image...
55
+ Loading safetensors: weights/mistral_3_small_flux2_fp8.safetensors
56
+ Building tokenizer from embedded tekken_model ...
57
+ Detected: 30 layers, hidden=5120, heads=32, kv_heads=8, ffn=32768, vocab=131072
58
+ Initialising MistralModel (30 layers)...
59
+ Dequantizing FP8 weights β†’ bf16 ...
60
+ Text encoder: 17.3B params, VRAM: 34.69 GB
61
+ Embedding shape: torch.Size([512, 15360])
62
+ Saved global embedding β†’ output/text_embeddings_global.pt
63
+ Text encoder unloaded. VRAM: 34.7 GB
64
+ === Global Text Embedding Done ===
65
+
66
+ Loaded global text embedding from output/text_embeddings_global.pt (shape: torch.Size([512, 15360]))
67
+
68
+ ============================================================
69
+ [2/8] Loading VAE
70
+ ============================================================
71
+ Done (1.1s), VRAM: 0.19 GiB
72
+ [MEM @ after VAE] RAM: 17.6/188.5 GiB (9.3%) | VRAM: 0.2/93.1 GiB (0.2%)
73
+
74
+ ============================================================
75
+ [3/8] Loading Transformer
76
+ ============================================================
77
+ Dequantizing FP8 transformer weights...
78
+ Dequantized 128 FP8 tensors
79
+ Converting ComfyUI β†’ diffusers keys...
80
+ Converted: 331 diffusers keys
81
+ Loading ControlNet weights...
82
+ ControlNet: 76 keys
83
+ Creating Flux2ControlTransformer2DModel (control_in_dim=3072)...
84
+ Skipped 2 control_img_in keys (dim mismatch):
85
+ control_img_in.bias [6144]
86
+ control_img_in.weight [6144, 260]
87
+ Missing: 2, Unexpected: 0
88
+ Initialized control_img_in.weight [6144, 3072] on cuda
89
+ Initialized control_img_in.bias [6144] on cuda
90
+ FP8 compression: 203 frozen Linears, 67.9 β†’ 37.9 GiB (saved 30.0 GiB)
91
+ Done (59.7s), VRAM: 37.90 GiB
92
+ Gradient checkpointing: enabled
93
+ Backbone FROZEN: all transformer params set requires_grad=False
94
+ Gradients will still propagate to HDCΒ²A via control_context autograd
95
+ [MEM @ after Transformer] RAM: 17.8/188.5 GiB (9.5%) | VRAM: 37.9/93.1 GiB (40.7%)
96
+
97
+ ============================================================
98
+ [4/8] Creating HDCΒ²A Adapter
99
+ ============================================================
100
+ HDCΒ²A: 52.4M params
101
+ Control: 0.0M params
102
+ Total trainable: 52.4M params
103
+
104
+ ============================================================
105
+ [4.5/8] Applying LoRA to ControlNet Control Blocks
106
+ ============================================================
107
+ LoRA rank=32, alpha=32.0, dropout=0
108
+ LoRA control_transformer_blocks.0.attn.to_q [6144β†’6144]
109
+ LoRA control_transformer_blocks.0.attn.to_k [6144β†’6144]
110
+ LoRA control_transformer_blocks.0.attn.to_v [6144β†’6144]
111
+ LoRA control_transformer_blocks.0.attn.add_q_proj [6144β†’6144]
112
+ LoRA control_transformer_blocks.0.attn.add_k_proj [6144β†’6144]
113
+ LoRA control_transformer_blocks.0.attn.add_v_proj [6144β†’6144]
114
+ LoRA control_transformer_blocks.0.attn.to_out.0 [6144β†’6144]
115
+ LoRA control_transformer_blocks.1.attn.to_q [6144β†’6144]
116
+ LoRA control_transformer_blocks.1.attn.to_k [6144β†’6144]
117
+ LoRA control_transformer_blocks.1.attn.to_v [6144β†’6144]
118
+ LoRA control_transformer_blocks.1.attn.add_q_proj [6144β†’6144]
119
+ LoRA control_transformer_blocks.1.attn.add_k_proj [6144β†’6144]
120
+ LoRA control_transformer_blocks.1.attn.add_v_proj [6144β†’6144]
121
+ LoRA control_transformer_blocks.1.attn.to_out.0 [6144β†’6144]
122
+ LoRA control_transformer_blocks.2.attn.to_q [6144β†’6144]
123
+ LoRA control_transformer_blocks.2.attn.to_k [6144β†’6144]
124
+ LoRA control_transformer_blocks.2.attn.to_v [6144β†’6144]
125
+ LoRA control_transformer_blocks.2.attn.add_q_proj [6144β†’6144]
126
+ LoRA control_transformer_blocks.2.attn.add_k_proj [6144β†’6144]
127
+ LoRA control_transformer_blocks.2.attn.add_v_proj [6144β†’6144]
128
+ LoRA control_transformer_blocks.2.attn.to_out.0 [6144β†’6144]
129
+ LoRA control_transformer_blocks.3.attn.to_q [6144β†’6144]
130
+ LoRA control_transformer_blocks.3.attn.to_k [6144β†’6144]
131
+ LoRA control_transformer_blocks.3.attn.to_v [6144β†’6144]
132
+ LoRA control_transformer_blocks.3.attn.to_out.0 [6144β†’6144]
133
+
134
+ LoRA modules injected: 25
135
+ LoRA trainable params: 9.83M
136
+
137
+ Parameter Statistics:
138
+ HDCΒ²A Adapter: total=52.4M trainable=52.4M
139
+ ControlNet (frozen): total=4143.4M LoRA trainable=9.83M
140
+ Flux2 backbone: total=0.0M trainable=0.0M βœ“
141
+ ──────────────────────────────────────────────────
142
+ Total trainable: HDCΒ²A 52.4M + LoRA 9.83M = 62.19M
143
+
144
+ ============================================================
145
+ [5/8] Building Optimizer
146
+ ============================================================
147
+ AdamW: adapter_lr=3.00e-04, backbone_lr=0.00e+00
148
+ param_group 'adapter': 112 tensors, lr=3.00e-04
149
+ Scheduler: 400 warmup steps β†’ cosine over ~25 steps
150
+ [6/8] Resume: skipped (no checkpoint specified)
151
+
152
+ ============================================================
153
+ [7/8] Forward Sanity Check
154
+ ============================================================
155
+ [test 1/4] Forward pass (eval mode)...
156
+ Output shape: torch.Size([1, 4096, 128])
157
+ Output stats: mean=0.0481, std=0.5195
158
+ VRAM peak (forward): 68.47 GiB
159
+ [test 2/4] Loss computation (train mode)...
160
+ Loss value: 1.376319
161
+ [test 3/4] Backward pass...
162
+ Backward completed. VRAM peak (backward): 49.21 GiB
163
+ [test 4/4] Gradient flow check...
164
+ HDCΒ²A: 112/112 params have non-zero grad
165
+ Control: 25/50 params have non-zero grad
166
+ Top grad norms (HDCΒ²A):
167
+ semantic_encoder.conv_stem.6.weight: 0.002655
168
+ depth_encoder.conv_stem.6.weight: 0.002594
169
+ W_d.weight: 0.002533
170
+ W_s.weight: 0.002380
171
+ fusion_blocks.0.ffn_dep.2.weight: 0.002014
172
+ Test result: PASSED
173
+ [MEM @ after test] RAM: 17.9/188.5 GiB (9.5%) | VRAM: 38.1/93.1 GiB (40.9%)
174
+
175
+ *** --test passed: all models loaded, forward test OK. Exiting. ***
training log/trainlog(lora128dim512) ADDED
The diff for this file is too large to render. See raw diff
 
training log/trainlog(lora256dim384) ADDED
The diff for this file is too large to render. See raw diff
 
training log/trainlog(lora256dim512) ADDED
The diff for this file is too large to render. See raw diff
 
training log/trainlog(lora256dim768) ADDED
The diff for this file is too large to render. See raw diff