Instructions to use hipinis/20260718 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use hipinis/20260718 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 hipinis/20260718:Q8_0 # Run inference directly in the terminal: llama cli -hf hipinis/20260718:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf hipinis/20260718:Q8_0 # Run inference directly in the terminal: llama cli -hf hipinis/20260718:Q8_0
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf hipinis/20260718:Q8_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf hipinis/20260718:Q8_0
Use Docker
docker model run hf.co/hipinis/20260718:Q8_0
- Llama new
- LM Studio
- Jan
- Ollama
How to use hipinis/20260718 with Ollama:
ollama run hf.co/hipinis/20260718:Q8_0
- Unsloth Desktop
- Pi
How to use hipinis/20260718 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf hipinis/20260718:Q8_0
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "hipinis/20260718:Q8_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use hipinis/20260718 with Docker Model Runner:
docker model run hf.co/hipinis/20260718:Q8_0
- Lemonade
How to use hipinis/20260718 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull hipinis/20260718:Q8_0
Run and chat with the model
lemonade run user.20260718-Q8_0
List all available models
lemonade list
- Hermes Agent
How to use hipinis/20260718 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf hipinis/20260718:Q8_0
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 hipinis/20260718:Q8_0
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use hipinis/20260718 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf hipinis/20260718:Q8_0
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 "hipinis/20260718:Q8_0" \ --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"
Download custom_nodes/ComfyUI_essentials/segmentation.py from hipinis/20260718: direct link, hf CLI and curl.
- Browser
- Download file 2.87 kB
-
https://huggingface.co/hipinis/20260718/resolve/main/custom_nodes/ComfyUI_essentials/segmentation.py
- Command line
-
hf download hf://hipinis/20260718/custom_nodes/ComfyUI_essentials/segmentation.py
-
curl -L -o segmentation.py https://huggingface.co/hipinis/20260718/resolve/main/custom_nodes/ComfyUI_essentials/segmentation.py
2.87 kB
| import torch | |
| import torchvision.transforms.v2 as T | |
| import torch.nn.functional as F | |
| from .utils import expand_mask | |
| class LoadCLIPSegModels: | |
| def INPUT_TYPES(s): | |
| return { | |
| "required": {}, | |
| } | |
| RETURN_TYPES = ("CLIP_SEG",) | |
| FUNCTION = "execute" | |
| CATEGORY = "essentials/segmentation" | |
| def execute(self): | |
| from transformers import CLIPSegProcessor, CLIPSegForImageSegmentation | |
| processor = CLIPSegProcessor.from_pretrained("CIDAS/clipseg-rd64-refined") | |
| model = CLIPSegForImageSegmentation.from_pretrained("CIDAS/clipseg-rd64-refined") | |
| return ((processor, model),) | |
| class ApplyCLIPSeg: | |
| def INPUT_TYPES(s): | |
| return { | |
| "required": { | |
| "clip_seg": ("CLIP_SEG",), | |
| "image": ("IMAGE",), | |
| "prompt": ("STRING", { "multiline": False, "default": "" }), | |
| "threshold": ("FLOAT", { "default": 0.4, "min": 0.0, "max": 1.0, "step": 0.05 }), | |
| "smooth": ("INT", { "default": 9, "min": 0, "max": 32, "step": 1 }), | |
| "dilate": ("INT", { "default": 0, "min": -32, "max": 32, "step": 1 }), | |
| "blur": ("INT", { "default": 0, "min": 0, "max": 64, "step": 1 }), | |
| }, | |
| } | |
| RETURN_TYPES = ("MASK",) | |
| FUNCTION = "execute" | |
| CATEGORY = "essentials/segmentation" | |
| def execute(self, image, clip_seg, prompt, threshold, smooth, dilate, blur): | |
| processor, model = clip_seg | |
| imagenp = image.mul(255).clamp(0, 255).byte().cpu().numpy() | |
| outputs = [] | |
| for i in imagenp: | |
| inputs = processor(text=prompt, images=[i], return_tensors="pt") | |
| out = model(**inputs) | |
| out = out.logits.unsqueeze(1) | |
| out = torch.sigmoid(out[0][0]) | |
| out = (out > threshold) | |
| outputs.append(out) | |
| del imagenp | |
| outputs = torch.stack(outputs, dim=0) | |
| if smooth > 0: | |
| if smooth % 2 == 0: | |
| smooth += 1 | |
| outputs = T.functional.gaussian_blur(outputs, smooth) | |
| outputs = outputs.float() | |
| if dilate != 0: | |
| outputs = expand_mask(outputs, dilate, True) | |
| if blur > 0: | |
| if blur % 2 == 0: | |
| blur += 1 | |
| outputs = T.functional.gaussian_blur(outputs, blur) | |
| # resize to original size | |
| outputs = F.interpolate(outputs.unsqueeze(1), size=(image.shape[1], image.shape[2]), mode='bicubic').squeeze(1) | |
| return (outputs,) | |
| SEG_CLASS_MAPPINGS = { | |
| "ApplyCLIPSeg+": ApplyCLIPSeg, | |
| "LoadCLIPSegModels+": LoadCLIPSegModels, | |
| } | |
| SEG_NAME_MAPPINGS = { | |
| "ApplyCLIPSeg+": "🔧 Apply CLIPSeg", | |
| "LoadCLIPSegModels+": "🔧 Load CLIPSeg Models", | |
| } |