Jean-Loup Maillet commited on
Commit
21414ef
1 Parent(s): 807ed4f

fp16 version and diffusers compatibility

Browse files
README.md CHANGED
@@ -28,10 +28,16 @@ Depending on the prompts, the rest of the image might be kept as is or modified
28
 
29
  ## Released Checkpoints
30
 
31
- [Model link](./models/cn-inpainting-dreamer-0.1-alpha.safetensors)
 
32
 
 
33
 
34
- ## ComfyUI
 
 
 
 
35
 
36
  [Workflow link](./workflows/workflow.json)
37
 
 
28
 
29
  ## Released Checkpoints
30
 
31
+ [Model link](./models/diffusion_pytorch_model.safetensors)
32
+ [Model link - fp16 version - Built by OzzyGT](./models/diffusion_pytorch_model.safetensors)
33
 
34
+ ## Usage with Diffusers
35
 
36
+ OzzyGT made a really good guide on how to use this model for outpainting, give it a try [Here](https://github.com/huggingface/diffusers/discussions/7482) !
37
+
38
+ A big thank you to him for pointing me out how to name the files for diffusers compatibility and for the fp16 version.
39
+
40
+ ## Usage with ComfyUI
41
 
42
  [Workflow link](./workflows/workflow.json)
43
 
config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "ControlNetModel",
3
+ "_diffusers_version": "0.23.0",
4
+ "act_fn": "silu",
5
+ "addition_embed_type": "text_time",
6
+ "addition_embed_type_num_heads": 64,
7
+ "addition_time_embed_dim": 256,
8
+ "attention_head_dim": [
9
+ 5,
10
+ 10,
11
+ 20
12
+ ],
13
+ "block_out_channels": [
14
+ 320,
15
+ 640,
16
+ 1280
17
+ ],
18
+ "class_embed_type": null,
19
+ "conditioning_channels": 3,
20
+ "conditioning_embedding_out_channels": [
21
+ 16,
22
+ 32,
23
+ 96,
24
+ 256
25
+ ],
26
+ "controlnet_conditioning_channel_order": "rgb",
27
+ "cross_attention_dim": 2048,
28
+ "down_block_types": [
29
+ "DownBlock2D",
30
+ "CrossAttnDownBlock2D",
31
+ "CrossAttnDownBlock2D"
32
+ ],
33
+ "downsample_padding": 1,
34
+ "encoder_hid_dim": null,
35
+ "encoder_hid_dim_type": null,
36
+ "flip_sin_to_cos": true,
37
+ "freq_shift": 0,
38
+ "global_pool_conditions": false,
39
+ "in_channels": 4,
40
+ "layers_per_block": 2,
41
+ "mid_block_scale_factor": 1,
42
+ "norm_eps": 1e-05,
43
+ "norm_num_groups": 32,
44
+ "num_attention_heads": null,
45
+ "num_class_embeds": null,
46
+ "only_cross_attention": false,
47
+ "projection_class_embeddings_input_dim": 2816,
48
+ "resnet_time_scale_shift": "default",
49
+ "transformer_layers_per_block": [
50
+ 1,
51
+ 2,
52
+ 10
53
+ ],
54
+ "upcast_attention": null,
55
+ "use_linear_projection": true
56
+ }
diffusion_pytorch_model.fp16.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5eeffc07f59c084811f239caf9d2c3d11d0b1ad8270c1fe1daf150a074d064ce
3
+ size 2502139104
models/cn-inpainting-dreamer-0.1-alpha.safetensors → diffusion_pytorch_model.safetensors RENAMED
File without changes