Sri2901 commited on
Commit
6efc68f
·
verified ·
1 Parent(s): 2725324

all files first commit

Browse files
Files changed (36) hide show
  1. .job_config.json +111 -0
  2. config.yaml +109 -0
  3. cosmos_4_v2_shift.safetensors +3 -0
  4. cosmos_4_v2_shift_000000500.safetensors +3 -0
  5. cosmos_4_v2_shift_000001000.safetensors +3 -0
  6. cosmos_4_v2_shift_000001500.safetensors +3 -0
  7. cosmos_4_v2_shift_000002000.safetensors +3 -0
  8. cosmos_4_v2_shift_000002500.safetensors +3 -0
  9. cosmos_4_v2_shift_000003000.safetensors +3 -0
  10. cosmos_4_v2_shift_000003500.safetensors +3 -0
  11. cosmos_4_v2_shift_000004000.safetensors +3 -0
  12. cosmos_4_v2_shift_000004500.safetensors +3 -0
  13. log.txt +0 -0
  14. optimizer.pt +3 -0
  15. samples/1749699934013__000000000_0.jpg +0 -0
  16. samples/1749699951197__000000000_1.jpg +0 -0
  17. samples/1749701405423__000000500_0.jpg +0 -0
  18. samples/1749701422863__000000500_1.jpg +0 -0
  19. samples/1749702878649__000001000_0.jpg +0 -0
  20. samples/1749702896096__000001000_1.jpg +0 -0
  21. samples/1749704351665__000001500_0.jpg +0 -0
  22. samples/1749704369135__000001500_1.jpg +0 -0
  23. samples/1749705823884__000002000_0.jpg +0 -0
  24. samples/1749705841320__000002000_1.jpg +0 -0
  25. samples/1749707302332__000002500_0.jpg +0 -0
  26. samples/1749707319855__000002500_1.jpg +0 -0
  27. samples/1749708779969__000003000_0.jpg +0 -0
  28. samples/1749708797467__000003000_1.jpg +0 -0
  29. samples/1749710256918__000003500_0.jpg +0 -0
  30. samples/1749710274444__000003500_1.jpg +0 -0
  31. samples/1749711729483__000004000_0.jpg +0 -0
  32. samples/1749711746916__000004000_1.jpg +0 -0
  33. samples/1749713208887__000004500_0.jpg +0 -0
  34. samples/1749713226392__000004500_1.jpg +0 -0
  35. samples/1749714678142__000005000_0.jpg +0 -0
  36. samples/1749714695635__000005000_1.jpg +0 -0
.job_config.json ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "job": "extension",
3
+ "config": {
4
+ "name": "cosmos_4_v2_shift",
5
+ "process": [
6
+ {
7
+ "type": "ui_trainer",
8
+ "training_folder": "/workspace/ai-toolkit/output",
9
+ "sqlite_db_path": "/workspace/ai-toolkit/aitk_db.db",
10
+ "device": "cuda",
11
+ "trigger_word": "cosmos, women, young women",
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": 500,
28
+ "max_step_saves_to_keep": 10,
29
+ "save_format": "diffusers",
30
+ "push_to_hub": false
31
+ },
32
+ "datasets": [
33
+ {
34
+ "folder_path": "/workspace/ai-toolkit/datasets/cosmos_3",
35
+ "mask_path": null,
36
+ "mask_min_value": 0.1,
37
+ "default_caption": "",
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
+ 1280,
48
+ 1536
49
+ ],
50
+ "controls": []
51
+ }
52
+ ],
53
+ "train": {
54
+ "batch_size": 1,
55
+ "bypass_guidance_embedding": false,
56
+ "steps": 5000,
57
+ "gradient_accumulation": 1,
58
+ "train_unet": true,
59
+ "train_text_encoder": false,
60
+ "gradient_checkpointing": true,
61
+ "noise_scheduler": "flowmatch",
62
+ "optimizer": "adamw8bit",
63
+ "timestep_type": "shift",
64
+ "content_or_style": "balanced",
65
+ "optimizer_params": {
66
+ "weight_decay": 0.0001
67
+ },
68
+ "unload_text_encoder": false,
69
+ "lr": 0.0004,
70
+ "ema_config": {
71
+ "use_ema": false,
72
+ "ema_decay": 0.99
73
+ },
74
+ "dtype": "bf16",
75
+ "diff_output_preservation": false,
76
+ "diff_output_preservation_multiplier": 1,
77
+ "diff_output_preservation_class": "person"
78
+ },
79
+ "model": {
80
+ "name_or_path": "black-forest-labs/FLUX.1-dev",
81
+ "quantize": false,
82
+ "quantize_te": true,
83
+ "arch": "flux",
84
+ "low_vram": false,
85
+ "model_kwargs": {}
86
+ },
87
+ "sample": {
88
+ "sampler": "flowmatch",
89
+ "sample_every": 500,
90
+ "width": 1024,
91
+ "height": 1024,
92
+ "prompts": [
93
+ "A photo-realistic portrait of a young woman with a neutral expression, showcasing her natural beauty. she has dark hair styled in a sleek updo, and her eyes are accentuated with shimmering gold eyeshadow. her skin is smooth and defined, with a subtle shine that catches the light. she is wearing a white lace top that accentuates her bare shoulders and collarbone. her lips are slightly parted, and she has a subtle mole on her cheek. her eyebrows are perfectly groomed and filled in with natural light, creating a flawless look. the background is a plain, light grey, providing a subtle contrast to the woman's natural features. the lighting is soft and even, highlighting her features and creating a sense of serenity",
94
+ "A photo-realistic shoot from a side angle about a young woman in a bikini posing confidently against a column in a tropical setting. the image also shows lush greenery and a pool in the background. on the middle of the image, a 20-year-old woman with light skin and brown hair appears to be standing with her arms at her sides, looking directly at the camera with a confident expression. she has long, wavy brown hair and is wearing a small, rust-colored bikini with thin straps tied at the sides, accentuating her curves. her body is slim and toned, with large breasts and a toned stomach. she is also wearing a gold chain necklace around her neck, adding a touch of elegance to her overall look."
95
+ ],
96
+ "neg": "",
97
+ "seed": 42,
98
+ "walk_seed": true,
99
+ "guidance_scale": 3.5,
100
+ "sample_steps": 30,
101
+ "num_frames": 1,
102
+ "fps": 1
103
+ }
104
+ }
105
+ ]
106
+ },
107
+ "meta": {
108
+ "name": "[name]",
109
+ "version": "1.0"
110
+ }
111
+ }
config.yaml ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ job: extension
2
+ config:
3
+ name: cosmos_4_v2_shift
4
+ process:
5
+ - type: ui_trainer
6
+ training_folder: /workspace/ai-toolkit/output
7
+ sqlite_db_path: /workspace/ai-toolkit/aitk_db.db
8
+ device: cuda
9
+ trigger_word: cosmos, women, young women
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: 500
24
+ max_step_saves_to_keep: 10
25
+ save_format: diffusers
26
+ push_to_hub: false
27
+ datasets:
28
+ - folder_path: /workspace/ai-toolkit/datasets/cosmos_3
29
+ mask_path: null
30
+ mask_min_value: 0.1
31
+ default_caption: ''
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
+ - 1280
42
+ - 1536
43
+ controls: []
44
+ train:
45
+ batch_size: 1
46
+ bypass_guidance_embedding: false
47
+ steps: 5000
48
+ gradient_accumulation: 1
49
+ train_unet: true
50
+ train_text_encoder: false
51
+ gradient_checkpointing: true
52
+ noise_scheduler: flowmatch
53
+ optimizer: adamw8bit
54
+ timestep_type: shift
55
+ content_or_style: balanced
56
+ optimizer_params:
57
+ weight_decay: 0.0001
58
+ unload_text_encoder: false
59
+ lr: 0.0004
60
+ ema_config:
61
+ use_ema: false
62
+ ema_decay: 0.99
63
+ dtype: bf16
64
+ diff_output_preservation: false
65
+ diff_output_preservation_multiplier: 1
66
+ diff_output_preservation_class: person
67
+ model:
68
+ name_or_path: black-forest-labs/FLUX.1-dev
69
+ quantize: false
70
+ quantize_te: true
71
+ arch: flux
72
+ low_vram: false
73
+ model_kwargs: {}
74
+ sample:
75
+ sampler: flowmatch
76
+ sample_every: 500
77
+ width: 1024
78
+ height: 1024
79
+ prompts:
80
+ - A photo-realistic portrait of a young woman with a neutral expression, showcasing
81
+ her natural beauty. she has dark hair styled in a sleek updo, and her eyes
82
+ are accentuated with shimmering gold eyeshadow. her skin is smooth and defined,
83
+ with a subtle shine that catches the light. she is wearing a white lace top
84
+ that accentuates her bare shoulders and collarbone. her lips are slightly
85
+ parted, and she has a subtle mole on her cheek. her eyebrows are perfectly
86
+ groomed and filled in with natural light, creating a flawless look. the background
87
+ is a plain, light grey, providing a subtle contrast to the woman's natural
88
+ features. the lighting is soft and even, highlighting her features and creating
89
+ a sense of serenity
90
+ - A photo-realistic shoot from a side angle about a young woman in a bikini
91
+ posing confidently against a column in a tropical setting. the image also
92
+ shows lush greenery and a pool in the background. on the middle of the image,
93
+ a 20-year-old woman with light skin and brown hair appears to be standing
94
+ with her arms at her sides, looking directly at the camera with a confident
95
+ expression. she has long, wavy brown hair and is wearing a small, rust-colored
96
+ bikini with thin straps tied at the sides, accentuating her curves. her body
97
+ is slim and toned, with large breasts and a toned stomach. she is also wearing
98
+ a gold chain necklace around her neck, adding a touch of elegance to her overall
99
+ look.
100
+ neg: ''
101
+ seed: 42
102
+ walk_seed: true
103
+ guidance_scale: 3.5
104
+ sample_steps: 30
105
+ num_frames: 1
106
+ fps: 1
107
+ meta:
108
+ name: cosmos_4_v2_shift
109
+ version: '1.0'
cosmos_4_v2_shift.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c7dfeb8a9b1a2a1fd06a235b86b35e849e229f21ac1bba6dbee067e10df4da79
3
+ size 343806480
cosmos_4_v2_shift_000000500.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2ae198416b37e3f00b1146e56e346863b19dd9938e4f9d0fccdd46040eac75f
3
+ size 343806480
cosmos_4_v2_shift_000001000.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:01c00c297fa4542bae8dfe399a4db462ccf4e3f58eb53c695ead346a03d75a6d
3
+ size 343806480
cosmos_4_v2_shift_000001500.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8298e3697707efd2fb14a2f4056f18c59fea15ec32f5cf36af94d84b12ada2ad
3
+ size 343806480
cosmos_4_v2_shift_000002000.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82aca3fd876066b64bcd0af84368c280a931a424a440243bed9b47c882a0d0f5
3
+ size 343806480
cosmos_4_v2_shift_000002500.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce9ecf4412f551d4a1adc391ff24551ffa5441d5af6ef5a55452aa08ed616a53
3
+ size 343806480
cosmos_4_v2_shift_000003000.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d02371ce1a1b21335f64ee03cd602714648bfc8b55dd40542e8a1bd20cb23792
3
+ size 343806480
cosmos_4_v2_shift_000003500.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:288dfe23f31e761274d3bb55cb35052d52a0d42bf52faf3d74a1777098f19166
3
+ size 343806480
cosmos_4_v2_shift_000004000.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4efacfe7edd1045bef3af14afbf2b75f28e81dd35fa5b885dc6689fd8ed1407
3
+ size 343806480
cosmos_4_v2_shift_000004500.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7cff60807ea98a3fd79178a0b60b7baae4b2fdc96fe1f6457d2e5f69c86b359
3
+ size 343806480
log.txt ADDED
The diff for this file is too large to render. See raw diff
 
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f66b066b9165bf0a69485d8133180054047f4addfb3c526fdad6781c8eecc07d
3
+ size 350203012
samples/1749699934013__000000000_0.jpg ADDED
samples/1749699951197__000000000_1.jpg ADDED
samples/1749701405423__000000500_0.jpg ADDED
samples/1749701422863__000000500_1.jpg ADDED
samples/1749702878649__000001000_0.jpg ADDED
samples/1749702896096__000001000_1.jpg ADDED
samples/1749704351665__000001500_0.jpg ADDED
samples/1749704369135__000001500_1.jpg ADDED
samples/1749705823884__000002000_0.jpg ADDED
samples/1749705841320__000002000_1.jpg ADDED
samples/1749707302332__000002500_0.jpg ADDED
samples/1749707319855__000002500_1.jpg ADDED
samples/1749708779969__000003000_0.jpg ADDED
samples/1749708797467__000003000_1.jpg ADDED
samples/1749710256918__000003500_0.jpg ADDED
samples/1749710274444__000003500_1.jpg ADDED
samples/1749711729483__000004000_0.jpg ADDED
samples/1749711746916__000004000_1.jpg ADDED
samples/1749713208887__000004500_0.jpg ADDED
samples/1749713226392__000004500_1.jpg ADDED
samples/1749714678142__000005000_0.jpg ADDED
samples/1749714695635__000005000_1.jpg ADDED