0xbitches 22a85cbeb8 Merge pull request #1 from jFkd1/patch-1
fixing bug from sleep deprivation
2023-10-23 20:55:06 -07:00
2023-10-23 12:57:24 +03:00
2023-10-23 12:57:24 +03:00
2023-10-23 12:57:24 +03:00
2023-10-23 17:08:09 -07:00
2023-10-23 04:43:12 -07:00
2023-10-23 04:59:09 -07:00
2023-10-23 12:57:24 +03:00
2023-10-23 12:57:24 +03:00

Latent Consistency Model for ComfyUI

Context Node

This extension aims to integrate Latent Consistency Model (LCM) into ComfyUI.

Note that LCMs are a completely different class of models than Stable Diffusion, and the only available checkpoint currently is LCM_Dreamshaper_v7. Due to this, this implementation uses the diffusers library, and not Comfy's own model loading mechanism.

Installation:

Simply clone this repo to your custom_nodes/ directory:

git clone https://github.com/0xbitches/ComfyUI-LCM

Then restart ComfyUI.

Known Issues

ValueError: Non-consecutive added token '<|startoftext|>' found. Should have index 49408 but has index 49406 in saved vocabulary.

To resolve this, locate your huggingface hub cache directory.

It will be something like ~/.cache/huggingface/hub/path_to_lcm_dreamshaper_v7/tokenizer/. On Windows, it will roughly be C:\Users\YourUserName\.cache\huggingface\hub\models--SimianLuo--LCM_Dreamshaper_v7\snapshots\c7f9b672c65a664af57d1de926819fd79cb26eb8\tokenizer\.

Find the file added_tokens.json and change the contents to:

{
  "<|endoftext|>": 49409,
  "<|startoftext|>": 49408
}
S
Description
No description provided
Readme GPL-3.0
7.2 MiB
Languages
Python 100%