2023-11-22 16:04:01 +01:00
2023-09-11 13:18:47 +02:00
2023-11-22 16:04:01 +01:00
2023-09-16 15:27:33 +02:00
2023-11-22 14:28:23 +01:00
2023-11-22 12:38:08 +01:00
2023-11-21 01:56:57 +01:00
2023-11-07 12:55:39 +01:00

ComfyUI ExLlama Nodes

A simple text generator for ComfyUI utilizing ExLlamaV2.

Installation

Make sure your ComfyUI is up to date. Clone the repository to custom_nodes and install dependencies:

git clone https://github.com/Zuellni/ComfyUI-ExLlama-Nodes
pip install -r requirements.txt

Optionally, you can also install flash-attention by uncommenting the relevant lines in the requirements file. If you see any ExLlama-related errors while loading, install it manually following the instructions from here.

Nodes

Name Description
Loader Used to load EXL2/GPTQ Llama models. You can find a lot of them on Hugging Face. Clone the model repository or download all the files in it and place them in an empty directory, then specify the path in model_dir. The model.safetensors file won't work on its own.
Generator Generates a string based on the given input for use with other nodes.
Preview Displays generated outputs in the UI.
Replace Replaces variables enclosed in brackets, such as [a], with their values.

Workflow

The image below can be opened in ComfyUI.

workflow

S
Description
No description provided
Readme MIT
214 KiB
Languages
Python 89.9%
JavaScript 10.1%