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? 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 } 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 }