From 89120f1fbe0900b263b063942470934038e46faa Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Wed, 28 Jun 2023 18:04:23 -0400 Subject: [PATCH 1/3] This is unused but it should be 1280. --- comfy/clip_config_bigg.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy/clip_config_bigg.json b/comfy/clip_config_bigg.json index 16bafe448..32d82ff39 100644 --- a/comfy/clip_config_bigg.json +++ b/comfy/clip_config_bigg.json @@ -17,7 +17,7 @@ "num_attention_heads": 20, "num_hidden_layers": 32, "pad_token_id": 1, - "projection_dim": 512, + "projection_dim": 1280, "torch_dtype": "float32", "vocab_size": 49408 } From 4376b125ebc7736d0db67f0326027a4dbf7c9659 Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Thu, 29 Jun 2023 00:26:33 -0400 Subject: [PATCH 2/3] Remove useless code. --- comfy/model_detection.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/comfy/model_detection.py b/comfy/model_detection.py index 48137c78f..edad48b1c 100644 --- a/comfy/model_detection.py +++ b/comfy/model_detection.py @@ -16,13 +16,11 @@ def count_blocks(state_dict_keys, prefix_string): def detect_unet_config(state_dict, key_prefix, use_fp16): state_dict_keys = list(state_dict.keys()) - num_res_blocks = 2 unet_config = { "use_checkpoint": False, "image_size": 32, "out_channels": 4, - "num_res_blocks": num_res_blocks, "use_spatial_transformer": True, "legacy": False } From e7ed507d3d57b140567aadf17805d0f2e70b0955 Mon Sep 17 00:00:00 2001 From: reaper47 Date: Thu, 29 Jun 2023 10:09:59 +0200 Subject: [PATCH 3/3] Add link to 7z in README (#809) * Add link to 7z in README * Change 7z to 7-Zip --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 56ee873e0..96cde4c4b 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ There is a portable standalone build for Windows that should work for running on ### [Direct link to download](https://github.com/comfyanonymous/ComfyUI/releases/download/latest/ComfyUI_windows_portable_nvidia_cu118_or_cpu.7z) -Just download, extract and run. Make sure you put your Stable Diffusion checkpoints/models (the huge ckpt/safetensors files) in: ComfyUI\models\checkpoints +Simply download, extract with [7-Zip](https://7-zip.org) and run. Make sure you put your Stable Diffusion checkpoints/models (the huge ckpt/safetensors files) in: ComfyUI\models\checkpoints #### How do I share models between another UI and ComfyUI?