bavlyyoussef commited on
Commit
1962487
·
verified ·
1 Parent(s): 280c61c

Update unet/adapter_config.json

Browse files
Files changed (1) hide show
  1. unet/adapter_config.json +22 -43
unet/adapter_config.json CHANGED
@@ -1,45 +1,24 @@
1
  {
2
- "alpha_pattern": {},
3
- "auto_mapping": {
4
- "base_model_class": "UNet2DConditionModel",
5
- "parent_library": "diffusers.models.unets.unet_2d_condition"
6
- },
7
- "base_model_name_or_path": null,
8
- "bias": "none",
9
- "corda_config": null,
10
- "eva_config": null,
11
- "exclude_modules": null,
12
- "fan_in_fan_out": false,
13
- "inference_mode": true,
14
- "init_lora_weights": true,
15
- "layer_replication": null,
16
- "layers_pattern": null,
17
- "layers_to_transform": null,
18
- "loftq_config": {},
19
- "lora_alpha": 96,
20
- "lora_bias": false,
21
- "lora_dropout": 0.025,
22
- "megatron_config": null,
23
- "megatron_core": "megatron.core",
24
- "modules_to_save": null,
25
- "peft_type": "LORA",
26
- "qalora_group_size": 16,
27
- "r": 48,
28
- "rank_pattern": {},
29
- "revision": null,
30
- "target_modules": [
31
- "proj_in",
32
- "to_k",
33
- "proj_out",
34
- "to_q",
35
- "ff.net.2",
36
- "to_out.0",
37
- "ff.net.0.proj",
38
- "to_v"
39
  ],
40
- "task_type": null,
41
- "trainable_token_indices": null,
42
- "use_dora": false,
43
- "use_qalora": false,
44
- "use_rslora": false
45
- }
 
 
 
 
 
 
 
1
  {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.21.0",
4
+ "sample_size": 64,
5
+ "in_channels": 4,
6
+ "out_channels": 4,
7
+ "down_block_types": [
8
+ "CrossAttnDownBlock2D",
9
+ "CrossAttnDownBlock2D",
10
+ "CrossAttnDownBlock2D",
11
+ "DownBlock2D"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  ],
13
+ "up_block_types": [
14
+ "UpBlock2D",
15
+ "CrossAttnUpBlock2D",
16
+ "CrossAttnUpBlock2D",
17
+ "CrossAttnUpBlock2D"
18
+ ],
19
+ "block_out_channels": [320, 640, 1280, 1280],
20
+ "layers_per_block": 2,
21
+ "cross_attention_dim": 1024,
22
+ "attention_head_dim": [8, 8, 8, 8],
23
+ "use_linear_projection": true
24
+ }