File size: 6,012 Bytes
471d719
 
 
 
 
9d54064
76755a7
af4e6bc
7d5c61d
9d54064
 
 
 
 
 
 
7d5c61d
eeef881
1b6648c
 
a23540d
32b8808
 
a23540d
7d5c61d
 
2c6f585
7d5c61d
1e33037
1caf12f
1e33037
a8814ef
 
7d5c61d
71fcebe
 
 
 
 
7d5c61d
71fcebe
09d02ac
5da4962
 
71fcebe
 
 
 
7d5c61d
 
 
 
 
68711d9
0061ac2
7d5c61d
019133c
 
487eed5
 
 
 
 
b87d771
 
62a65fb
b87d771
 
90a9e5a
cce4f7f
90a9e5a
29ad2e4
d17be69
c94d1c9
 
 
 
ac74983
cec014d
 
 
 
e019fcb
c94d1c9
35237f6
 
 
 
e4ee263
ac8c59d
19a3116
3ef24ec
54dca63
19a3116
019133c
1600f9d
62a65fb
20ca8a2
9026bae
f8784ae
019133c
5352326
23c4f82
5352326
a6fe09c
354e298
019133c
 
caafcfa
 
3eb3e5c
09d02ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
---
license: mit
language:
- en
tags:
- comfyui
- gguf-comfy
- gguf-node
widget:
- text: >-
    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
  output:
    url: samples\ComfyUI_00003_.webp
- text: drag it <metadata inside>
  output:
    url: samples\ComfyUI_00007_.webp
- text: drag it <metadata inside>
  output:
    url: samples\ComfyUI_00001_.webp
---

# **gguf-node test pack**

![screenshot](https://raw.githubusercontent.com/calcuis/comfy/master/gguf-node.png)
locate **gguf** from Add Node > extension dropdown menu (between 3d and api; second last option)

[<img src="https://raw.githubusercontent.com/calcuis/comfy/master/gguf.gif" width="128" height="128">](https://github.com/calcuis/gguf)

### **setup (in general)**
- drag gguf file(s) to diffusion_models folder (`./ComfyUI/models/diffusion_models`)
- drag clip or encoder(s) to text_encoders folder (`./ComfyUI/models/text_encoders`)
- drag controlnet adapter(s), if any, to controlnet folder (`./ComfyUI/models/controlnet`)
- drag lora adapter(s), if any, to loras folder (`./ComfyUI/models/loras`)
- drag vae decoder(s) to vae folder (`./ComfyUI/models/vae`)

## **run it straight (no installation needed way; recommended)**
- get the comfy pack with the new gguf-node ([pack](https://github.com/calcuis/gguf/releases))
- run the .bat file in the main directory

## **or, for existing user (alternative method)**
- you could git clone the node to your `./ComfyUI/custom_nodes` (more details [here](https://github.com/calcuis/gguf/))
- either navigate to `./ComfyUI/custom_nodes` first or drag and drop the node clone (gguf repo) there

### **workflow**
- drag any workflow json file to the activated browser; or
- drag any generated output file (i.e., picture, video, etc.; which contains the workflow metadata) to the activated browser

### **simulator**
- design your own prompt; or
- generate random prompt/descriptor(s) by the [simulator](https://prompt.calcuis.us) (might not applicable for all models)

<Gallery />

#### **booster**
- drag safetensors file(s) to diffusion_models folder (./ComfyUI/models/diffusion_models)
- select the safetensors model; click `Queue` (run); simply track the progress from console
- when it was done; the boosted safetensors fp32 will be saved to the output folder (./ComfyUI/output)

#### **cutter (beta)**
- drag safetensors file(s) to diffusion_models folder (./ComfyUI/models/diffusion_models)
- select the safetensors model; click `Queue` (run); simply track the progress from console
- when it was done; the half-cut safetensors fp8_e4m3fn will be saved to the output folder (./ComfyUI/output)

### **convertor (alpha)**
- drag safetensors file(s) to diffusion_models folder (./ComfyUI/models/diffusion_models)
- select the safetensors model; click `Queue` (run); track the progress from console
- the converted gguf file will be saved to the output folder (./ComfyUI/output)

### **convertor (reverse)**
- drag gguf file(s) to diffusion_models folder (./ComfyUI/models/diffusion_models)
- select the gguf model; click `Queue` (run); track the progress from console
- the reverse converted safetensors file will be saved to the output folder (./ComfyUI/output)

### **convertor (zero)**
- drag safetensors file(s) to diffusion_models folder (./ComfyUI/models/diffusion_models)
- select the safetensors model; click `Queue` (run); track the progress from console
- the converted gguf file will be saved to the output folder (./ComfyUI/output)
- zero means **no restrictions**; different from alpha; any form of safetensors can be converted; pig architecture will be applied for the output gguf

### **latest feature: gguf vae🐷 loader is now working on gguf-node**
- gguf vae is able to save memory consumption of your machine
- convert your safetensors vae to gguf vae using **convertor (zero)**
- then use it with the new **gguf vae loader**
- same as gguf clip loaders, gguf vae loader is compatible with both safetensors and gguf file(s)

### **disclaimer**
- some models (original files) as well as part of the codes are obtained from somewhere or provided by someone else and we might not easily spot out the creator/contributor(s) behind, unless it was specified in the source; rather let it blank instead of anonymous/unnamed/unknown
- we hope we are able to make more effort to trace the source; if it is your work, do let us know; we will address it back properly and probably; thanks for everything

### **reference**
- sd3.5, sdxl from [stabilityai](https://huggingface.co/stabilityai)
- flux from [black-forest-labs](https://huggingface.co/black-forest-labs)
- pixart from [pixart-alpha](https://huggingface.co/PixArt-alpha)
- lumina from [alpha-vllm](https://huggingface.co/Alpha-VLLM)
- aura from [fal](https://huggingface.co/fal)
- mochi from [genmo](https://huggingface.co/genmo)
- hyvid from [tencent](https://huggingface.co/tencent)
- wan from [wan-ai](https://huggingface.co/Wan-AI)
- ltxv from [lightricks](https://huggingface.co/Lightricks)
- cosmos from [nvidia](https://huggingface.co/nvidia)
- pig architecture from [connector](https://huggingface.co/connector)
- comfyui from [comfyanonymous](https://github.com/comfyanonymous/ComfyUI)
- comfyui-gguf from [city96](https://github.com/city96/ComfyUI-GGUF)
- llama.cpp from [ggerganov](https://github.com/ggerganov/llama.cpp)
- llama-cpp-python from [abetlen](https://github.com/abetlen/llama-cpp-python)
- gguf-connector ([pypi](https://pypi.org/project/gguf-connector)|[repo](https://github.com/calcuis/gguf-connector))
- gguf-node ([pypi](https://pypi.org/project/gguf-node)|[repo](https://github.com/calcuis/gguf)|[pack](https://github.com/calcuis/gguf/releases))