Veldrovive commited on
Commit
e72e695
1 Parent(s): 928b84b

Upload decoder/2.4B_fp16/decoder_config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. decoder/2.4B_fp16/decoder_config.json +126 -0
decoder/2.4B_fp16/decoder_config.json ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "seed": 1,
3
+
4
+ "decoder": {
5
+ "unets": [
6
+ {
7
+ "dim": 512,
8
+ "cond_dim": 512,
9
+ "image_embed_dim": 768,
10
+ "text_embed_dim": 768,
11
+ "cond_on_text_encodings": false,
12
+ "channels": 3,
13
+ "dim_mults": [1, 2, 3, 4],
14
+ "self_attn": [false, true, true, true],
15
+ "num_resnet_blocks": 4,
16
+ "attn_heads": 8,
17
+ "attn_dim_head": 64,
18
+ "sparse_attn": false,
19
+ "memory_efficient": true
20
+ }
21
+ ],
22
+ "image_sizes": [64],
23
+ "channels": 3,
24
+ "timesteps": 1000,
25
+ "loss_type": "l2",
26
+ "beta_schedule": ["cosine"],
27
+ "learned_variance": false
28
+ },
29
+ "data": {
30
+ "webdataset_base_url": "pipe:aws s3 cp --quiet s3://s-datasets/laion-aesthetic/data/laion2B-en-aesthetic/{}.tar -",
31
+ "img_embeddings_url": "s3://s-datasets/laion-aesthetic/ordered_embeddings/",
32
+ "num_workers": 6,
33
+ "batch_size": 48,
34
+ "start_shard": 0,
35
+ "end_shard": 5247,
36
+ "shard_width": 5,
37
+ "index_width": 4,
38
+ "splits": {
39
+ "train": 0.75,
40
+ "val": 0.15,
41
+ "test": 0.1
42
+ },
43
+ "shuffle_train": false,
44
+ "resample_train": true,
45
+ "preprocessing": {
46
+ "RandomResizedCrop": {
47
+ "size": [224, 224],
48
+ "scale": [0.75, 1.0],
49
+ "ratio": [1.0, 1.0]
50
+ },
51
+ "ToTensor": true
52
+ }
53
+ },
54
+ "train": {
55
+ "epochs": 1000,
56
+ "lr":1.2e-4,
57
+ "wd": 0.0,
58
+ "warmup_steps": 1000,
59
+ "max_grad_norm": 0.5,
60
+ "save_every_n_samples": 545400,
61
+ "n_sample_images": 10,
62
+ "device": "cuda:0",
63
+ "epoch_samples": 2100000,
64
+ "validation_samples": 100000,
65
+ "use_ema": true,
66
+ "ema_beta": 0.99,
67
+ "save_all": false,
68
+ "save_latest": true,
69
+ "save_best": true,
70
+ "unet_training_mask": [true],
71
+ "find_unused_parameters": false
72
+ },
73
+ "evaluate": {
74
+ "n_evaluation_samples": 10,
75
+ "FID": {
76
+ "feature": 64
77
+ },
78
+ "LPIPS": {
79
+ "net_type": "vgg",
80
+ "reduction": "mean"
81
+ }
82
+ },
83
+ "tracker": {
84
+ "data_path": "/fsx/aidan/new/multinode/experiments/deepspeed_fp16/.tracker-data",
85
+ "overwrite_data_path": true,
86
+
87
+ "log": {
88
+ "log_type": "console",
89
+
90
+ "wandb_entity": "Veldrovive",
91
+ "wandb_project": "dalle2_train_decoder",
92
+ "wandb_run_name": "2.4B deepspeed fp16",
93
+
94
+ "auto_resume": true,
95
+ "verbose": true
96
+ },
97
+
98
+ "load": {
99
+ "load_from": "local",
100
+ "only_auto_resume": true,
101
+ "file_path": "/fsx/aidan/new/multinode/experiments/deepspeed_fp16/models/checkpoints/latest.pth"
102
+ },
103
+
104
+ "save": [{
105
+ "save_to": "huggingface",
106
+ "huggingface_repo": "laion/DALLE2-PyTorch",
107
+
108
+ "save_meta_to": "decoder/2.4B_fp16/",
109
+ "save_latest_to": "decoder/2.4B_fp16/latest.pth",
110
+
111
+ "save_type": "model"
112
+ },{
113
+ "save_to": "huggingface",
114
+ "huggingface_repo": "laion/DALLE2-PyTorch",
115
+
116
+ "save_latest_to": "decoder/2.4B_fp16/checkpoints/latest.pth",
117
+
118
+ "save_type": "checkpoint"
119
+ },{
120
+ "save_to": "local",
121
+ "save_latest_to": "/fsx/aidan/new/multinode/experiments/deepspeed_fp16/models/checkpoints/latest.pth",
122
+
123
+ "save_type": "checkpoint"
124
+ }]
125
+ }
126
+ }