Instructions to use calcuis/gguf-node with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use calcuis/gguf-node with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("calcuis/gguf-node", dtype=torch.bfloat16, device_map="cuda") prompt = "anime style anime girl with massive fennec ears and one big fluffy tail, she has blonde long hair blue eyes wearing a maid outfit with a long black gold leaf pattern dress, walking slowly to the front with sweetie smile, holding a fancy black forest cake with candles on top in the kitchen of an old dark Victorian mansion lit by candlelight with a bright window to the foggy forest" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -35,16 +35,20 @@ locate **gguf** from Add Node > extension dropdown menu (between 3d and api; sec
|
|
| 35 |
[<img src="https://raw.githubusercontent.com/calcuis/comfy/master/gguf.gif" width="128" height="128">](https://github.com/calcuis/gguf)
|
| 36 |
|
| 37 |
### **setup (in general)**
|
| 38 |
-
- drag gguf file(s) to diffusion_models folder (./ComfyUI/models/diffusion_models)
|
| 39 |
-
- drag clip or encoder(s) to text_encoders folder (./ComfyUI/models/text_encoders)
|
| 40 |
-
- drag controlnet adapter(s), if any, to controlnet folder (./ComfyUI/models/controlnet)
|
| 41 |
-
- drag lora adapter(s), if any, to loras folder (./ComfyUI/models/loras)
|
| 42 |
-
- drag vae decoder(s) to vae folder (./ComfyUI/models/vae)
|
| 43 |
|
| 44 |
-
## **run it straight (no installation needed way)**
|
| 45 |
- get the comfy pack with the new gguf-node ([beta](https://github.com/calcuis/gguf/releases))
|
| 46 |
- run the .bat file in the main directory
|
| 47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
### **workflow**
|
| 49 |
- drag any workflow json file to the activated browser; or
|
| 50 |
- drag any generated output file (i.e., picture, video, etc.; which contains the workflow metadata) to the activated browser
|
|
|
|
| 35 |
[<img src="https://raw.githubusercontent.com/calcuis/comfy/master/gguf.gif" width="128" height="128">](https://github.com/calcuis/gguf)
|
| 36 |
|
| 37 |
### **setup (in general)**
|
| 38 |
+
- drag gguf file(s) to diffusion_models folder (`./ComfyUI/models/diffusion_models`)
|
| 39 |
+
- drag clip or encoder(s) to text_encoders folder (`./ComfyUI/models/text_encoders`)
|
| 40 |
+
- drag controlnet adapter(s), if any, to controlnet folder (`./ComfyUI/models/controlnet`)
|
| 41 |
+
- drag lora adapter(s), if any, to loras folder (`./ComfyUI/models/loras`)
|
| 42 |
+
- drag vae decoder(s) to vae folder (`./ComfyUI/models/vae`)
|
| 43 |
|
| 44 |
+
## **run it straight (no installation needed way; recommended)**
|
| 45 |
- get the comfy pack with the new gguf-node ([beta](https://github.com/calcuis/gguf/releases))
|
| 46 |
- run the .bat file in the main directory
|
| 47 |
|
| 48 |
+
## **or, for existing user (alternative method)**
|
| 49 |
+
- you could git clone the node to your `./ComfyUI/custom_nodes` (more details [here](https://github.com/calcuis/gguf/))
|
| 50 |
+
- either navigate to `./ComfyUI/custom_nodes` first or drag and drop the node clone (gguf repo) there
|
| 51 |
+
|
| 52 |
### **workflow**
|
| 53 |
- drag any workflow json file to the activated browser; or
|
| 54 |
- drag any generated output file (i.e., picture, video, etc.; which contains the workflow metadata) to the activated browser
|