Daisy
commited on
Upload folder using huggingface_hub
Browse files
config_20241022_162604/config.env
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
MIXED_PRECISION=bf16
|
2 |
+
TRAINING_NUM_PROCESSES=8
|
3 |
+
TRAINING_NUM_MACHINES=1
|
4 |
+
TRAINING_DYNAMO_BACKEND=inductor
|
config_20241022_162604/config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"--lycoris_config": "config/lycoris_config.json",
|
3 |
+
"--resume_from_checkpoint": "latest",
|
4 |
+
"--data_backend_config": "config/multidatabackend.json",
|
5 |
+
"--aspect_bucket_rounding": 2,
|
6 |
+
"--seed": 42,
|
7 |
+
"--minimum_image_size": 0,
|
8 |
+
"--disable_benchmark": false,
|
9 |
+
"--output_dir": "output/testing_dataset_20241022_162604",
|
10 |
+
"--lora_type": "lycoris",
|
11 |
+
"--max_train_steps": 1000,
|
12 |
+
"--num_train_epochs": 0,
|
13 |
+
"--checkpointing_steps": 100,
|
14 |
+
"--checkpoints_total_limit": 10,
|
15 |
+
"--tracker_project_name": "testing_dataset",
|
16 |
+
"--tracker_run_name": "testing_dataset_20241022_162604",
|
17 |
+
"--report_to": "wandb",
|
18 |
+
"--model_type": "lora",
|
19 |
+
"--pretrained_model_name_or_path": "black-forest-labs/FLUX.1-dev",
|
20 |
+
"--model_family": "flux",
|
21 |
+
"--train_batch_size": 1,
|
22 |
+
"--gradient_checkpointing": "true",
|
23 |
+
"--caption_dropout_probability": 0.05,
|
24 |
+
"--resolution_type": "pixel_area",
|
25 |
+
"--resolution": 1024,
|
26 |
+
"--validation_seed": 69,
|
27 |
+
"--validation_steps": "100",
|
28 |
+
"--validation_resolution": "1024x1024",
|
29 |
+
"--validation_guidance": "3.5",
|
30 |
+
"--validation_guidance_rescale": "0.0",
|
31 |
+
"--validation_num_inference_steps": "20",
|
32 |
+
"--validation_prompt": "a photo of a daisy",
|
33 |
+
"--mixed_precision": "bf16",
|
34 |
+
"--optimizer": "optimi-stableadamw",
|
35 |
+
"--optimizer_config": "weight_decay=1e-3",
|
36 |
+
"--learning_rate": "4e-04",
|
37 |
+
"--flux_lora_target": "all+ffs",
|
38 |
+
"--lr_scheduler": "constant",
|
39 |
+
"--lr_warmup_steps": 0,
|
40 |
+
"--user_prompt_library": "config/user_prompt_library.json",
|
41 |
+
"--hub_model_id": "testing_dataset_20241022_162604"
|
42 |
+
}
|
config_20241022_162604/lycoris_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"algo": "lokr",
|
3 |
+
"multiplier": 1,
|
4 |
+
"linear_dim": 1000000,
|
5 |
+
"linear_alpha": 1,
|
6 |
+
"factor": 16,
|
7 |
+
"init_lokr_norm": 0.001,
|
8 |
+
"apply_preset": {
|
9 |
+
"target_module": [
|
10 |
+
"FluxTransformerBlock",
|
11 |
+
"FluxSingleTransformerBlock"
|
12 |
+
],
|
13 |
+
"module_algo_map": {
|
14 |
+
"Attention": {
|
15 |
+
"factor": 16
|
16 |
+
},
|
17 |
+
"FeedForward": {
|
18 |
+
"factor": 8
|
19 |
+
}
|
20 |
+
}
|
21 |
+
}
|
22 |
+
}
|
config_20241022_162604/multidatabackend.json
ADDED
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"id": "groovy_chair-512",
|
4 |
+
"type": "local",
|
5 |
+
"instance_data_dir": "datasets/testing_dataset/groovy_chair",
|
6 |
+
"crop": false,
|
7 |
+
"crop_style": "random",
|
8 |
+
"minimum_image_size": 512,
|
9 |
+
"resolution": 512,
|
10 |
+
"resolution_type": "pixel_area",
|
11 |
+
"repeats": 0,
|
12 |
+
"metadata_backend": "discovery",
|
13 |
+
"caption_strategy": "textfile",
|
14 |
+
"cache_dir_vae": "cache//groovy_chair-vae-512"
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"id": "groovy_chair-768",
|
18 |
+
"type": "local",
|
19 |
+
"instance_data_dir": "datasets/testing_dataset/groovy_chair",
|
20 |
+
"crop": false,
|
21 |
+
"crop_style": "random",
|
22 |
+
"minimum_image_size": 768,
|
23 |
+
"resolution": 768,
|
24 |
+
"resolution_type": "pixel_area",
|
25 |
+
"repeats": 0,
|
26 |
+
"metadata_backend": "discovery",
|
27 |
+
"caption_strategy": "textfile",
|
28 |
+
"cache_dir_vae": "cache//groovy_chair-vae-768"
|
29 |
+
},
|
30 |
+
{
|
31 |
+
"id": "groovy_chair-1024",
|
32 |
+
"type": "local",
|
33 |
+
"instance_data_dir": "datasets/testing_dataset/groovy_chair",
|
34 |
+
"crop": false,
|
35 |
+
"crop_style": "random",
|
36 |
+
"minimum_image_size": 1024,
|
37 |
+
"resolution": 1024,
|
38 |
+
"resolution_type": "pixel_area",
|
39 |
+
"repeats": 0,
|
40 |
+
"metadata_backend": "discovery",
|
41 |
+
"caption_strategy": "textfile",
|
42 |
+
"cache_dir_vae": "cache//groovy_chair-vae-1024"
|
43 |
+
},
|
44 |
+
{
|
45 |
+
"id": "kronester_teapot-512",
|
46 |
+
"type": "local",
|
47 |
+
"instance_data_dir": "datasets/testing_dataset/kronester_teapot",
|
48 |
+
"crop": false,
|
49 |
+
"crop_style": "random",
|
50 |
+
"minimum_image_size": 512,
|
51 |
+
"resolution": 512,
|
52 |
+
"resolution_type": "pixel_area",
|
53 |
+
"repeats": 0,
|
54 |
+
"metadata_backend": "discovery",
|
55 |
+
"caption_strategy": "textfile",
|
56 |
+
"cache_dir_vae": "cache//kronester_teapot-vae-512"
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"id": "kronester_teapot-768",
|
60 |
+
"type": "local",
|
61 |
+
"instance_data_dir": "datasets/testing_dataset/kronester_teapot",
|
62 |
+
"crop": false,
|
63 |
+
"crop_style": "random",
|
64 |
+
"minimum_image_size": 768,
|
65 |
+
"resolution": 768,
|
66 |
+
"resolution_type": "pixel_area",
|
67 |
+
"repeats": 0,
|
68 |
+
"metadata_backend": "discovery",
|
69 |
+
"caption_strategy": "textfile",
|
70 |
+
"cache_dir_vae": "cache//kronester_teapot-vae-768"
|
71 |
+
},
|
72 |
+
{
|
73 |
+
"id": "kronester_teapot-1024",
|
74 |
+
"type": "local",
|
75 |
+
"instance_data_dir": "datasets/testing_dataset/kronester_teapot",
|
76 |
+
"crop": false,
|
77 |
+
"crop_style": "random",
|
78 |
+
"minimum_image_size": 1024,
|
79 |
+
"resolution": 1024,
|
80 |
+
"resolution_type": "pixel_area",
|
81 |
+
"repeats": 0,
|
82 |
+
"metadata_backend": "discovery",
|
83 |
+
"caption_strategy": "textfile",
|
84 |
+
"cache_dir_vae": "cache//kronester_teapot-vae-1024"
|
85 |
+
},
|
86 |
+
{
|
87 |
+
"id": "text-embed-cache",
|
88 |
+
"dataset_type": "text_embeds",
|
89 |
+
"default": true,
|
90 |
+
"type": "local",
|
91 |
+
"cache_dir": "cache//text",
|
92 |
+
"disabled": false,
|
93 |
+
"write_batch_size": 128
|
94 |
+
}
|
95 |
+
]
|
config_20241022_162604/user_prompt_library.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"groovy_chair_1": "bscgrvy chair, material closeup, white background",
|
3 |
+
"groovy_chair_2": "bscgrvy chair, front view, white background",
|
4 |
+
"groovy_chair_3": "bscgrvy chair, front angle view, facing left, white background",
|
5 |
+
"groovy_chair_4": "bscgrvy chair, front view, white background",
|
6 |
+
"kronester_teapot_1": "bsckrnstr teapot, side view, facing left, transparent background",
|
7 |
+
"kronester_teapot_2": "bsckrnstr teapot, back view, transparent background",
|
8 |
+
"kronester_teapot_3": "bsckrnstr teapot, front angle view, separated, transparent background",
|
9 |
+
"kronester_teapot_4": "bsckrnstr teapot, front view, transparent background"
|
10 |
+
}
|