Instructions to use AlperKTS/Krea-2-SVDQuant-ComfyUI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusion Single File
How to use AlperKTS/Krea-2-SVDQuant-ComfyUI with Diffusion Single File:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download workflows/krea2_quantize_all_in_one.json from AlperKTS/Krea-2-SVDQuant-ComfyUI: direct link, hf CLI and curl.
- Browser
- Download file 2.8 kB
-
https://huggingface.co/AlperKTS/Krea-2-SVDQuant-ComfyUI/resolve/main/workflows/krea2_quantize_all_in_one.json
- Command line
-
hf download hf://AlperKTS/Krea-2-SVDQuant-ComfyUI/workflows/krea2_quantize_all_in_one.json
-
curl -L -o krea2_quantize_all_in_one.json https://huggingface.co/AlperKTS/Krea-2-SVDQuant-ComfyUI/resolve/main/workflows/krea2_quantize_all_in_one.json
2.8 kB
| { | |
| "id": "00000000-0000-4000-8000-000000000000", | |
| "revision": 0, | |
| "last_node_id": 3, | |
| "last_link_id": 0, | |
| "nodes": [ | |
| { | |
| "id": 1, | |
| "type": "Note", | |
| "pos": [ | |
| 60, | |
| 60 | |
| ], | |
| "size": [ | |
| 460, | |
| 600 | |
| ], | |
| "flags": {}, | |
| "order": 0, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [], | |
| "properties": { | |
| "Node name for S&R": "Note" | |
| }, | |
| "widgets_values": [ | |
| "QUANTIZE ALL-IN-ONE - Bake DiT + Text Encoder + VAE\n\nThis graph bakes three files into one unified checkpoint in models/checkpoints/:\n1. source_dit (in models/diffusion_models/): BF16 or already quantized.\n2. text_encoder (in models/text_encoders/): Qwen3-VL 4B BF16 (~8.88 GB -> ~3.2 GB W4A4).\n3. vae (in models/vae/): Krea2 VAE (~0.51 GB unquantized).\n\nResulting file: ~12 GB in models/checkpoints/, loaded with Krea2 SVDQuant Checkpoint Loader." | |
| ], | |
| "title": "READ ME FIRST", | |
| "color": "#432", | |
| "bgcolor": "#653" | |
| }, | |
| { | |
| "id": 2, | |
| "type": "Krea2SVDQuantEnvCheck", | |
| "pos": [ | |
| 480, | |
| 60 | |
| ], | |
| "size": [ | |
| 420, | |
| 120 | |
| ], | |
| "flags": {}, | |
| "order": 1, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "report", | |
| "type": "STRING", | |
| "links": [], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "Krea2SVDQuantEnvCheck" | |
| }, | |
| "widgets_values": [], | |
| "title": "1. Env Check - verify CUDA kernel", | |
| "color": "#432", | |
| "bgcolor": "#653" | |
| }, | |
| { | |
| "id": 3, | |
| "type": "Krea2SVDQuantQuantizeAllInOne", | |
| "pos": [ | |
| 480, | |
| 240.0 | |
| ], | |
| "size": [ | |
| 420, | |
| 520 | |
| ], | |
| "flags": {}, | |
| "order": 2, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "summary", | |
| "type": "STRING", | |
| "links": [], | |
| "slot_index": 0 | |
| } | |
| ], | |
| "properties": { | |
| "Node name for S&R": "Krea2SVDQuantQuantizeAllInOne" | |
| }, | |
| "widgets_values": [ | |
| "turbo.safetensors", | |
| "qwen3vl_4b_bf16.safetensors", | |
| "Krea2-HD-vae.safetensors", | |
| "svdq", | |
| "w4a4", | |
| 64, | |
| 100, | |
| 256, | |
| "turbo", | |
| "", | |
| false, | |
| "krea2_act_stats_turbo.safetensors", | |
| 0 | |
| ], | |
| "title": "2. Quantize & Bake All-in-One Checkpoint", | |
| "color": "#233", | |
| "bgcolor": "#355" | |
| } | |
| ], | |
| "links": [], | |
| "groups": [ | |
| { | |
| "title": "All-in-One Baker", | |
| "bounding": [ | |
| 500, | |
| 20, | |
| 460, | |
| 700 | |
| ], | |
| "color": "#8a4", | |
| "font_size": 24, | |
| "flags": {} | |
| } | |
| ], | |
| "config": {}, | |
| "extra": {}, | |
| "version": 0.4 | |
| } | |