forked from lodestone-rock/flow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtraining_config_lumina.json
More file actions
78 lines (78 loc) · 2.83 KB
/
training_config_lumina.json
File metadata and controls
78 lines (78 loc) · 2.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"training": {
"master_seed": 0,
"cache_minibatch": 8,
"train_minibatch": 8,
"offload_param_count": 5000000000,
"lr": 4e-05,
"weight_decay": 0.0,
"warmup_steps": 1,
"change_layer_every": 10000000,
"trained_blocks": 26,
"save_every": 50,
"save_folder": "testing",
"wandb_key": null,
"wandb_project": null,
"wandb_run": "chroma",
"wandb_entity": null,
"hf_repo_id": null,
"hf_token": null
},
"inference": {
"inference_every": 50,
"inference_folder": "lumina_inference_output",
"steps": 20,
"cfg": 5,
"prompts": [
"You are an assistant designed to generate high-quality images with the highest degree of image-text alignment based on textual prompts. <Prompt Start> a cute cat sat on a mat while receiving a head pat from his owner called Matt",
"You are an assistant designed to generate high-quality images with the highest degree of image-text alignment based on textual prompts. <Prompt Start> baked potato, on the space floating orbiting around the earth"
],
"first_n_steps_wo_cfg": 0,
"image_dim": [
1024,
1024
],
"gemma_max_length": 256
},
"extra_inference_config":[
{
"inference_every": 50,
"inference_folder": "lumina_inference_output",
"steps": 20,
"cfg": 6,
"prompts": [
"You are an assistant designed to generate high-quality images with the highest degree of image-text alignment based on textual prompts. <Prompt Start> a cute cat sat on a mat while receiving a head pat from his owner called Matt",
"You are an assistant designed to generate high-quality images with the highest degree of image-text alignment based on textual prompts. <Prompt Start> baked potato, on the space floating orbiting around the earth"
],
"first_n_steps_wo_cfg": 0,
"image_dim": [
1024,
1024
],
"gemma_max_length": 256
}
],
"dataloader": {
"batch_size": 1024,
"jsonl_metadata_path": "test_training_data.jsonl",
"image_folder_path": "furry_50k_4o/images",
"base_resolution": [
512
],
"shuffle_tags": true,
"tag_drop_percentage": 0.0,
"uncond_percentage": 0.0,
"resolution_step": 64,
"num_workers": 2,
"prefetch_factor": 2,
"ratio_cutoff": 2.0,
"thread_per_worker": 4
},
"model": {
"lumina_path": "models/lumina.sft",
"vae_path": "models/flux/ae.safetensors",
"gemma_path": "models/gemma-2-2b",
"gemma_to_8bit": true,
"gemma_max_length": 256
}
}