Instructions to use LuckyOda/comfyui-carbonara-bundle with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use LuckyOda/comfyui-carbonara-bundle with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="LuckyOda/comfyui-carbonara-bundle", filename="models/text_encoders/qwen-4b-zimage-heretic-q8.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use LuckyOda/comfyui-carbonara-bundle with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf LuckyOda/comfyui-carbonara-bundle # Run inference directly in the terminal: llama cli -hf LuckyOda/comfyui-carbonara-bundle
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf LuckyOda/comfyui-carbonara-bundle # Run inference directly in the terminal: llama cli -hf LuckyOda/comfyui-carbonara-bundle
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf LuckyOda/comfyui-carbonara-bundle # Run inference directly in the terminal: ./llama-cli -hf LuckyOda/comfyui-carbonara-bundle
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf LuckyOda/comfyui-carbonara-bundle # Run inference directly in the terminal: ./build/bin/llama-cli -hf LuckyOda/comfyui-carbonara-bundle
Use Docker
docker model run hf.co/LuckyOda/comfyui-carbonara-bundle
- LM Studio
- Jan
- Ollama
How to use LuckyOda/comfyui-carbonara-bundle with Ollama:
ollama run hf.co/LuckyOda/comfyui-carbonara-bundle
- Unsloth Studio
How to use LuckyOda/comfyui-carbonara-bundle with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for LuckyOda/comfyui-carbonara-bundle to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for LuckyOda/comfyui-carbonara-bundle to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for LuckyOda/comfyui-carbonara-bundle to start chatting
- Pi
How to use LuckyOda/comfyui-carbonara-bundle with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf LuckyOda/comfyui-carbonara-bundle
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "LuckyOda/comfyui-carbonara-bundle" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use LuckyOda/comfyui-carbonara-bundle with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf LuckyOda/comfyui-carbonara-bundle
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default LuckyOda/comfyui-carbonara-bundle
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use LuckyOda/comfyui-carbonara-bundle with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf LuckyOda/comfyui-carbonara-bundle
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "LuckyOda/comfyui-carbonara-bundle" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- Docker Model Runner
How to use LuckyOda/comfyui-carbonara-bundle with Docker Model Runner:
docker model run hf.co/LuckyOda/comfyui-carbonara-bundle
- Lemonade
How to use LuckyOda/comfyui-carbonara-bundle with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull LuckyOda/comfyui-carbonara-bundle
Run and chat with the model
lemonade run user.comfyui-carbonara-bundle-{{QUANT_TAG}}List all available models
lemonade list
| from comfy import model_management as mm | |
| class WanVideoTeaCache: | |
| def INPUT_TYPES(s): | |
| return { | |
| "required": { | |
| "rel_l1_thresh": ("FLOAT", {"default": 0.3, "min": 0.0, "max": 1.0, "step": 0.001, | |
| "tooltip": "Higher values will make TeaCache more aggressive, faster, but may cause artifacts. Good value range for 1.3B: 0.05 - 0.08, for other models 0.15-0.30"}), | |
| "start_step": ("INT", {"default": 1, "min": 0, "max": 9999, "step": 1, "tooltip": "Start percentage of the steps to apply TeaCache"}), | |
| "end_step": ("INT", {"default": -1, "min": -1, "max": 9999, "step": 1, "tooltip": "End steps to apply TeaCache"}), | |
| "cache_device": (["main_device", "offload_device"], {"default": "offload_device", "tooltip": "Device to cache to"}), | |
| "use_coefficients": ("BOOLEAN", {"default": True, "tooltip": "Use calculated coefficients for more accuracy. When enabled therel_l1_thresh should be about 10 times higher than without"}), | |
| }, | |
| "optional": { | |
| "mode": (["e", "e0"], {"default": "e", "tooltip": "Choice between using e (time embeds, default) or e0 (modulated time embeds)"}), | |
| }, | |
| } | |
| RETURN_TYPES = ("CACHEARGS",) | |
| RETURN_NAMES = ("cache_args",) | |
| FUNCTION = "process" | |
| CATEGORY = "WanVideoWrapper" | |
| DESCRIPTION = """ | |
| Patch WanVideo model to use TeaCache. Speeds up inference by caching the output and | |
| applying it instead of doing the step. Best results are achieved by choosing the | |
| appropriate coefficients for the model. Early steps should never be skipped, with too | |
| aggressive values this can happen and the motion suffers. Starting later can help with that too. | |
| When NOT using coefficients, the threshold value should be | |
| about 10 times smaller than the value used with coefficients. | |
| Official recommended values https://github.com/ali-vilab/TeaCache/tree/main/TeaCache4Wan2.1 | |
| """ | |
| def process(self, rel_l1_thresh, start_step, end_step, cache_device, use_coefficients, mode="e"): | |
| if cache_device == "main_device": | |
| cache_device = mm.get_torch_device() | |
| else: | |
| cache_device = mm.unet_offload_device() | |
| cache_args = { | |
| "cache_type": "TeaCache", | |
| "rel_l1_thresh": rel_l1_thresh, | |
| "start_step": start_step, | |
| "end_step": end_step, | |
| "cache_device": cache_device, | |
| "use_coefficients": use_coefficients, | |
| "mode": mode, | |
| } | |
| return (cache_args,) | |
| class WanVideoMagCache: | |
| def INPUT_TYPES(s): | |
| return { | |
| "required": { | |
| "magcache_thresh": ("FLOAT", {"default": 0.02, "min": 0.0, "max": 0.3, "step": 0.001, "tooltip": "How strongly to cache the output of diffusion model. This value must be non-negative."}), | |
| "magcache_K": ("INT", {"default": 4, "min": 0, "max": 6, "step": 1, "tooltip": "The maxium skip steps of MagCache."}), | |
| "start_step": ("INT", {"default": 1, "min": 0, "max": 9999, "step": 1, "tooltip": "Step to start applying MagCache"}), | |
| "end_step": ("INT", {"default": -1, "min": -1, "max": 9999, "step": 1, "tooltip": "Step to end applying MagCache"}), | |
| "cache_device": (["main_device", "offload_device"], {"default": "offload_device", "tooltip": "Device to cache to"}), | |
| }, | |
| } | |
| RETURN_TYPES = ("CACHEARGS",) | |
| RETURN_NAMES = ("cache_args",) | |
| FUNCTION = "setargs" | |
| CATEGORY = "WanVideoWrapper" | |
| EXPERIMENTAL = True | |
| DESCRIPTION = "MagCache for WanVideoWrapper, source https://github.com/Zehong-Ma/MagCache" | |
| def setargs(self, magcache_thresh, magcache_K, start_step, end_step, cache_device): | |
| if cache_device == "main_device": | |
| cache_device = mm.get_torch_device() | |
| else: | |
| cache_device = mm.unet_offload_device() | |
| cache_args = { | |
| "cache_type": "MagCache", | |
| "magcache_thresh": magcache_thresh, | |
| "magcache_K": magcache_K, | |
| "start_step": start_step, | |
| "end_step": end_step, | |
| "cache_device": cache_device, | |
| } | |
| return (cache_args,) | |
| class WanVideoEasyCache: | |
| def INPUT_TYPES(s): | |
| return { | |
| "required": { | |
| "easycache_thresh": ("FLOAT", {"default": 0.015, "min": 0.0, "max": 1.0, "step": 0.001, "tooltip": "How strongly to cache the output of diffusion model. This value must be non-negative."}), | |
| "start_step": ("INT", {"default": 10, "min": 0, "max": 9999, "step": 1, "tooltip": "Step to start applying EasyCache"}), | |
| "end_step": ("INT", {"default": -1, "min": -1, "max": 9999, "step": 1, "tooltip": "Step to end applying EasyCache"}), | |
| "cache_device": (["main_device", "offload_device"], {"default": "offload_device", "tooltip": "Device to cache to"}), | |
| }, | |
| } | |
| RETURN_TYPES = ("CACHEARGS",) | |
| RETURN_NAMES = ("cache_args",) | |
| FUNCTION = "setargs" | |
| CATEGORY = "WanVideoWrapper" | |
| EXPERIMENTAL = True | |
| DESCRIPTION = "EasyCache for WanVideoWrapper, source https://github.com/H-EmbodVis/EasyCache" | |
| def setargs(self, easycache_thresh, start_step, end_step, cache_device): | |
| if cache_device == "main_device": | |
| cache_device = mm.get_torch_device() | |
| else: | |
| cache_device = mm.unet_offload_device() | |
| cache_args = { | |
| "cache_type": "EasyCache", | |
| "easycache_thresh": easycache_thresh, | |
| "start_step": start_step, | |
| "end_step": end_step, | |
| "cache_device": cache_device, | |
| } | |
| return (cache_args,) | |
| NODE_CLASS_MAPPINGS = { | |
| "WanVideoTeaCache": WanVideoTeaCache, | |
| "WanVideoMagCache": WanVideoMagCache, | |
| "WanVideoEasyCache": WanVideoEasyCache, | |
| } | |
| NODE_DISPLAY_NAME_MAPPINGS = { | |
| "WanVideoTeaCache": "WanVideo TeaCache", | |
| "WanVideoMagCache": "WanVideo MagCache", | |
| "WanVideoEasyCache": "WanVideo EasyCache" | |
| } |