lin7zhi commited on
Commit
dd0b3b9
·
verified ·
1 Parent(s): 1b79bff

Upload folder using huggingface_hub

Browse files
Files changed (47) hide show
  1. .gitattributes +4 -0
  2. .gitkeep +0 -0
  3. xgb/.job_config.json +133 -0
  4. xgb/config.yaml +125 -0
  5. xgb/log.txt +0 -0
  6. xgb/optimizer.pt +3 -0
  7. xgb/pid.txt +1 -0
  8. xgb/samples/1764458957009__000000000_0.jpg +0 -0
  9. xgb/samples/1764458964544__000000000_1.jpg +0 -0
  10. xgb/samples/1764458971915__000000000_2.jpg +0 -0
  11. xgb/samples/1764459421586__000000250_0.jpg +0 -0
  12. xgb/samples/1764459429112__000000250_1.jpg +0 -0
  13. xgb/samples/1764459436499__000000250_2.jpg +0 -0
  14. xgb/samples/1764459885090__000000500_0.jpg +0 -0
  15. xgb/samples/1764459892611__000000500_1.jpg +0 -0
  16. xgb/samples/1764459899984__000000500_2.jpg +0 -0
  17. xgb/samples/1764460353940__000000750_0.jpg +0 -0
  18. xgb/samples/1764460361489__000000750_1.jpg +0 -0
  19. xgb/samples/1764460368909__000000750_2.jpg +0 -0
  20. xgb/samples/1764460817908__000001000_0.jpg +0 -0
  21. xgb/samples/1764460825433__000001000_1.jpg +0 -0
  22. xgb/samples/1764460832809__000001000_2.jpg +0 -0
  23. xgb/samples/1764461283790__000001250_0.jpg +0 -0
  24. xgb/samples/1764461291315__000001250_1.jpg +0 -0
  25. xgb/samples/1764461298736__000001250_2.jpg +0 -0
  26. xgb/samples/1764461744498__000001500_0.jpg +0 -0
  27. xgb/samples/1764461752018__000001500_1.jpg +3 -0
  28. xgb/samples/1764461759389__000001500_2.jpg +0 -0
  29. xgb/samples/1764462204150__000001750_0.jpg +0 -0
  30. xgb/samples/1764462211682__000001750_1.jpg +0 -0
  31. xgb/samples/1764462219072__000001750_2.jpg +0 -0
  32. xgb/samples/1764462682692__000002000_0.jpg +0 -0
  33. xgb/samples/1764462690198__000002000_1.jpg +0 -0
  34. xgb/samples/1764462697555__000002000_2.jpg +0 -0
  35. xgb/samples/1764463144614__000002250_0.jpg +0 -0
  36. xgb/samples/1764463152130__000002250_1.jpg +3 -0
  37. xgb/samples/1764463159518__000002250_2.jpg +0 -0
  38. xgb/samples/1764463611798__000002500_0.jpg +0 -0
  39. xgb/samples/1764463619358__000002500_1.jpg +3 -0
  40. xgb/samples/1764463626749__000002500_2.jpg +0 -0
  41. xgb/samples/1764464058434__000002750_0.jpg +0 -0
  42. xgb/samples/1764464065957__000002750_1.jpg +3 -0
  43. xgb/samples/1764464073331__000002750_2.jpg +0 -0
  44. xgb/xgb_000002000.safetensors +3 -0
  45. xgb/xgb_000002250.safetensors +3 -0
  46. xgb/xgb_000002500.safetensors +3 -0
  47. xgb/xgb_000002750.safetensors +3 -0
.gitattributes CHANGED
@@ -37,3 +37,7 @@ samples/1764461752018__000001500_1.jpg filter=lfs diff=lfs merge=lfs -text
37
  samples/1764463152130__000002250_1.jpg filter=lfs diff=lfs merge=lfs -text
38
  samples/1764463619358__000002500_1.jpg filter=lfs diff=lfs merge=lfs -text
39
  samples/1764464065957__000002750_1.jpg filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
37
  samples/1764463152130__000002250_1.jpg filter=lfs diff=lfs merge=lfs -text
38
  samples/1764463619358__000002500_1.jpg filter=lfs diff=lfs merge=lfs -text
39
  samples/1764464065957__000002750_1.jpg filter=lfs diff=lfs merge=lfs -text
40
+ xgb/samples/1764461752018__000001500_1.jpg filter=lfs diff=lfs merge=lfs -text
41
+ xgb/samples/1764463152130__000002250_1.jpg filter=lfs diff=lfs merge=lfs -text
42
+ xgb/samples/1764463619358__000002500_1.jpg filter=lfs diff=lfs merge=lfs -text
43
+ xgb/samples/1764464065957__000002750_1.jpg filter=lfs diff=lfs merge=lfs -text
.gitkeep ADDED
File without changes
xgb/.job_config.json ADDED
@@ -0,0 +1,133 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "job": "extension",
3
+ "config": {
4
+ "name": "xgb",
5
+ "process": [
6
+ {
7
+ "type": "diffusion_trainer",
8
+ "training_folder": "/workspace/ai-toolkit/output",
9
+ "sqlite_db_path": "/workspace/ai-toolkit/aitk_db.db",
10
+ "device": "cuda",
11
+ "trigger_word": "xgb",
12
+ "performance_log_every": 10,
13
+ "network": {
14
+ "type": "lora",
15
+ "linear": 32,
16
+ "linear_alpha": 32,
17
+ "conv": 16,
18
+ "conv_alpha": 16,
19
+ "lokr_full_rank": true,
20
+ "lokr_factor": -1,
21
+ "network_kwargs": {
22
+ "ignore_if_contains": []
23
+ }
24
+ },
25
+ "save": {
26
+ "dtype": "bf16",
27
+ "save_every": 250,
28
+ "max_step_saves_to_keep": 4,
29
+ "save_format": "diffusers",
30
+ "push_to_hub": false
31
+ },
32
+ "datasets": [
33
+ {
34
+ "folder_path": "/workspace/ai-toolkit/datasets/xgb",
35
+ "mask_path": null,
36
+ "mask_min_value": 0.1,
37
+ "default_caption": "xgb",
38
+ "caption_ext": "txt",
39
+ "caption_dropout_rate": 0.05,
40
+ "cache_latents_to_disk": false,
41
+ "is_reg": false,
42
+ "network_weight": 1,
43
+ "resolution": [
44
+ 512,
45
+ 768,
46
+ 1024
47
+ ],
48
+ "controls": [],
49
+ "shrink_video_to_frames": true,
50
+ "num_frames": 1,
51
+ "do_i2v": true,
52
+ "flip_x": false,
53
+ "flip_y": false
54
+ }
55
+ ],
56
+ "train": {
57
+ "batch_size": 1,
58
+ "bypass_guidance_embedding": false,
59
+ "steps": 3000,
60
+ "gradient_accumulation": 1,
61
+ "train_unet": true,
62
+ "train_text_encoder": false,
63
+ "gradient_checkpointing": true,
64
+ "noise_scheduler": "flowmatch",
65
+ "optimizer": "adamw8bit",
66
+ "timestep_type": "weighted",
67
+ "content_or_style": "balanced",
68
+ "optimizer_params": {
69
+ "weight_decay": 0.0001
70
+ },
71
+ "unload_text_encoder": false,
72
+ "cache_text_embeddings": false,
73
+ "lr": 0.0001,
74
+ "ema_config": {
75
+ "use_ema": false,
76
+ "ema_decay": 0.99
77
+ },
78
+ "skip_first_sample": false,
79
+ "force_first_sample": false,
80
+ "disable_sampling": false,
81
+ "dtype": "bf16",
82
+ "diff_output_preservation": false,
83
+ "diff_output_preservation_multiplier": 1,
84
+ "diff_output_preservation_class": "person",
85
+ "switch_boundary_every": 1,
86
+ "loss_type": "mse"
87
+ },
88
+ "model": {
89
+ "name_or_path": "/workspace/Z-Image-Turbo",
90
+ "quantize": true,
91
+ "qtype": "qfloat8",
92
+ "quantize_te": true,
93
+ "qtype_te": "qfloat8",
94
+ "arch": "zimage:turbo",
95
+ "low_vram": false,
96
+ "model_kwargs": {},
97
+ "layer_offloading": false,
98
+ "layer_offloading_text_encoder_percent": 1,
99
+ "layer_offloading_transformer_percent": 1,
100
+ "assistant_lora_path": "/workspace/Z-Image-Turbo/zimage_turbo_training_adapter_v1.safetensors"
101
+ },
102
+ "sample": {
103
+ "sampler": "flowmatch",
104
+ "sample_every": 250,
105
+ "width": 1024,
106
+ "height": 1024,
107
+ "samples": [
108
+ {
109
+ "prompt": "一个黑色短发的女孩对着镜头眨眼(Wink),头顶推着一副墨镜。她穿着黑色的长袖上衣或外套,一只手托着下巴。脖子上戴着一条精致的圆环项链,表情俏皮可爱,白色背景。 xgb"
110
+ },
111
+ {
112
+ "prompt": "一个紫色波波头(Bob)短发的女孩,做出俏皮的姿势,双手握拳像猫爪一样。她穿着浅蓝色的针织两件套(背心和开衫)搭配牛仔短裤,看起来充满活力,白色背景。 xgb"
113
+ },
114
+ {
115
+ "prompt": "一个银白色短发的女子,气质像洋娃娃般精致。她穿着白色的蕾丝露肩连衣裙,脖子上戴着白色的蕾丝项圈(Choker)。她身体微微前倾,眼神清澈,风格梦幻优雅,白色背景。 xgb"
116
+ }
117
+ ],
118
+ "neg": "",
119
+ "seed": 42,
120
+ "walk_seed": true,
121
+ "guidance_scale": 1,
122
+ "sample_steps": 8,
123
+ "num_frames": 1,
124
+ "fps": 1
125
+ }
126
+ }
127
+ ]
128
+ },
129
+ "meta": {
130
+ "name": "[name]",
131
+ "version": "1.0"
132
+ }
133
+ }
xgb/config.yaml ADDED
@@ -0,0 +1,125 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ job: extension
2
+ config:
3
+ name: xgb
4
+ process:
5
+ - type: diffusion_trainer
6
+ training_folder: /workspace/ai-toolkit/output
7
+ sqlite_db_path: /workspace/ai-toolkit/aitk_db.db
8
+ device: cuda
9
+ trigger_word: xgb
10
+ performance_log_every: 10
11
+ network:
12
+ type: lora
13
+ linear: 32
14
+ linear_alpha: 32
15
+ conv: 16
16
+ conv_alpha: 16
17
+ lokr_full_rank: true
18
+ lokr_factor: -1
19
+ network_kwargs:
20
+ ignore_if_contains: []
21
+ save:
22
+ dtype: bf16
23
+ save_every: 250
24
+ max_step_saves_to_keep: 4
25
+ save_format: diffusers
26
+ push_to_hub: false
27
+ datasets:
28
+ - folder_path: /workspace/ai-toolkit/datasets/xgb
29
+ mask_path: null
30
+ mask_min_value: 0.1
31
+ default_caption: xgb
32
+ caption_ext: txt
33
+ caption_dropout_rate: 0.05
34
+ cache_latents_to_disk: false
35
+ is_reg: false
36
+ network_weight: 1
37
+ resolution:
38
+ - 512
39
+ - 768
40
+ - 1024
41
+ controls: []
42
+ shrink_video_to_frames: true
43
+ num_frames: 1
44
+ do_i2v: true
45
+ flip_x: false
46
+ flip_y: false
47
+ train:
48
+ batch_size: 1
49
+ bypass_guidance_embedding: false
50
+ steps: 3000
51
+ gradient_accumulation: 1
52
+ train_unet: true
53
+ train_text_encoder: false
54
+ gradient_checkpointing: true
55
+ noise_scheduler: flowmatch
56
+ optimizer: adamw8bit
57
+ timestep_type: weighted
58
+ content_or_style: balanced
59
+ optimizer_params:
60
+ weight_decay: 0.0001
61
+ unload_text_encoder: false
62
+ cache_text_embeddings: false
63
+ lr: 0.0001
64
+ ema_config:
65
+ use_ema: false
66
+ ema_decay: 0.99
67
+ skip_first_sample: false
68
+ force_first_sample: false
69
+ disable_sampling: false
70
+ dtype: bf16
71
+ diff_output_preservation: false
72
+ diff_output_preservation_multiplier: 1
73
+ diff_output_preservation_class: person
74
+ switch_boundary_every: 1
75
+ loss_type: mse
76
+ model:
77
+ name_or_path: /workspace/Z-Image-Turbo
78
+ quantize: true
79
+ qtype: qfloat8
80
+ quantize_te: true
81
+ qtype_te: qfloat8
82
+ arch: zimage:turbo
83
+ low_vram: false
84
+ model_kwargs: {}
85
+ layer_offloading: false
86
+ layer_offloading_text_encoder_percent: 1
87
+ layer_offloading_transformer_percent: 1
88
+ assistant_lora_path: /workspace/Z-Image-Turbo/zimage_turbo_training_adapter_v1.safetensors
89
+ sample:
90
+ sampler: flowmatch
91
+ sample_every: 250
92
+ width: 1024
93
+ height: 1024
94
+ samples:
95
+ - prompt: "\u4E00\u4E2A\u9ED1\u8272\u77ED\u53D1\u7684\u5973\u5B69\u5BF9\u7740\
96
+ \u955C\u5934\u7728\u773C\uFF08Wink\uFF09\uFF0C\u5934\u9876\u63A8\u7740\u4E00\
97
+ \u526F\u58A8\u955C\u3002\u5979\u7A7F\u7740\u9ED1\u8272\u7684\u957F\u8896\
98
+ \u4E0A\u8863\u6216\u5916\u5957\uFF0C\u4E00\u53EA\u624B\u6258\u7740\u4E0B\
99
+ \u5DF4\u3002\u8116\u5B50\u4E0A\u6234\u7740\u4E00\u6761\u7CBE\u81F4\u7684\
100
+ \u5706\u73AF\u9879\u94FE\uFF0C\u8868\u60C5\u4FCF\u76AE\u53EF\u7231\uFF0C\
101
+ \u767D\u8272\u80CC\u666F\u3002 xgb"
102
+ - prompt: "\u4E00\u4E2A\u7D2B\u8272\u6CE2\u6CE2\u5934\uFF08Bob\uFF09\u77ED\u53D1\
103
+ \u7684\u5973\u5B69\uFF0C\u505A\u51FA\u4FCF\u76AE\u7684\u59FF\u52BF\uFF0C\
104
+ \u53CC\u624B\u63E1\u62F3\u50CF\u732B\u722A\u4E00\u6837\u3002\u5979\u7A7F\
105
+ \u7740\u6D45\u84DD\u8272\u7684\u9488\u7EC7\u4E24\u4EF6\u5957\uFF08\u80CC\
106
+ \u5FC3\u548C\u5F00\u886B\uFF09\u642D\u914D\u725B\u4ED4\u77ED\u88E4\uFF0C\
107
+ \u770B\u8D77\u6765\u5145\u6EE1\u6D3B\u529B\uFF0C\u767D\u8272\u80CC\u666F\
108
+ \u3002 xgb"
109
+ - prompt: "\u4E00\u4E2A\u94F6\u767D\u8272\u77ED\u53D1\u7684\u5973\u5B50\uFF0C\
110
+ \u6C14\u8D28\u50CF\u6D0B\u5A03\u5A03\u822C\u7CBE\u81F4\u3002\u5979\u7A7F\
111
+ \u7740\u767D\u8272\u7684\u857E\u4E1D\u9732\u80A9\u8FDE\u8863\u88D9\uFF0C\
112
+ \u8116\u5B50\u4E0A\u6234\u7740\u767D\u8272\u7684\u857E\u4E1D\u9879\u5708\
113
+ \uFF08Choker\uFF09\u3002\u5979\u8EAB\u4F53\u5FAE\u5FAE\u524D\u503E\uFF0C\
114
+ \u773C\u795E\u6E05\u6F88\uFF0C\u98CE\u683C\u68A6\u5E7B\u4F18\u96C5\uFF0C\
115
+ \u767D\u8272\u80CC\u666F\u3002 xgb"
116
+ neg: ''
117
+ seed: 42
118
+ walk_seed: true
119
+ guidance_scale: 1
120
+ sample_steps: 8
121
+ num_frames: 1
122
+ fps: 1
123
+ meta:
124
+ name: xgb
125
+ version: '1.0'
xgb/log.txt ADDED
The diff for this file is too large to render. See raw diff
 
xgb/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e82fae7305259320db1f5686007ea58358a86f685abe852cc02690bf941bb81
3
+ size 173288293
xgb/pid.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ 62656
xgb/samples/1764458957009__000000000_0.jpg ADDED
xgb/samples/1764458964544__000000000_1.jpg ADDED
xgb/samples/1764458971915__000000000_2.jpg ADDED
xgb/samples/1764459421586__000000250_0.jpg ADDED
xgb/samples/1764459429112__000000250_1.jpg ADDED
xgb/samples/1764459436499__000000250_2.jpg ADDED
xgb/samples/1764459885090__000000500_0.jpg ADDED
xgb/samples/1764459892611__000000500_1.jpg ADDED
xgb/samples/1764459899984__000000500_2.jpg ADDED
xgb/samples/1764460353940__000000750_0.jpg ADDED
xgb/samples/1764460361489__000000750_1.jpg ADDED
xgb/samples/1764460368909__000000750_2.jpg ADDED
xgb/samples/1764460817908__000001000_0.jpg ADDED
xgb/samples/1764460825433__000001000_1.jpg ADDED
xgb/samples/1764460832809__000001000_2.jpg ADDED
xgb/samples/1764461283790__000001250_0.jpg ADDED
xgb/samples/1764461291315__000001250_1.jpg ADDED
xgb/samples/1764461298736__000001250_2.jpg ADDED
xgb/samples/1764461744498__000001500_0.jpg ADDED
xgb/samples/1764461752018__000001500_1.jpg ADDED

Git LFS Details

  • SHA256: deb172df2a5ab4cbda8195ff25cdcafb1123462d8b06820a07b770bc992ae385
  • Pointer size: 131 Bytes
  • Size of remote file: 103 kB
xgb/samples/1764461759389__000001500_2.jpg ADDED
xgb/samples/1764462204150__000001750_0.jpg ADDED
xgb/samples/1764462211682__000001750_1.jpg ADDED
xgb/samples/1764462219072__000001750_2.jpg ADDED
xgb/samples/1764462682692__000002000_0.jpg ADDED
xgb/samples/1764462690198__000002000_1.jpg ADDED
xgb/samples/1764462697555__000002000_2.jpg ADDED
xgb/samples/1764463144614__000002250_0.jpg ADDED
xgb/samples/1764463152130__000002250_1.jpg ADDED

Git LFS Details

  • SHA256: 71b77f0477cdcc89398ec517ff4224f96342a6a65e5f90239248a9094b911c9d
  • Pointer size: 131 Bytes
  • Size of remote file: 113 kB
xgb/samples/1764463159518__000002250_2.jpg ADDED
xgb/samples/1764463611798__000002500_0.jpg ADDED
xgb/samples/1764463619358__000002500_1.jpg ADDED

Git LFS Details

  • SHA256: d8eee09efb07f241af4972c84a59431cbdc27b9aa30dd4d035082788dc4cc9ff
  • Pointer size: 131 Bytes
  • Size of remote file: 124 kB
xgb/samples/1764463626749__000002500_2.jpg ADDED
xgb/samples/1764464058434__000002750_0.jpg ADDED
xgb/samples/1764464065957__000002750_1.jpg ADDED

Git LFS Details

  • SHA256: 3b3bbdeb8443ca6244c0e1d6e53660d505d7e2ea1a33a6cb0b792a88aeb5c9f8
  • Pointer size: 131 Bytes
  • Size of remote file: 106 kB
xgb/samples/1764464073331__000002750_2.jpg ADDED
xgb/xgb_000002000.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1eee9c0b887eb1968531da39d568812fee88ac7b0e2d28895f3a38acffcf8875
3
+ size 170128248
xgb/xgb_000002250.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8c82ba1a77587ed31919f63f1ed55dbd57d8e46045bb43a485d4cad1ea87382
3
+ size 170128248
xgb/xgb_000002500.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bfebb6aac0de4264e03ee3eec789f2a8dd50994b41e225f0a297feb7840973fc
3
+ size 170128248
xgb/xgb_000002750.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbe82b6afdbf417a761e41fe9ce9ae78b020fae787004b9038d1f360f5ecd474
3
+ size 170128248