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
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 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/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 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
- 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/utils.py from hipinis/20260718: direct link, hf CLI and curl.
- Browser
- Download file 2.72 kB
-
https://huggingface.co/hipinis/20260718/resolve/main/custom_nodes/ComfyUI_essentials/utils.py
- Command line
-
hf download hf://hipinis/20260718/custom_nodes/ComfyUI_essentials/utils.py
-
curl -L -o utils.py https://huggingface.co/hipinis/20260718/resolve/main/custom_nodes/ComfyUI_essentials/utils.py
2.72 kB
| import torch | |
| import numpy as np | |
| import scipy | |
| import os | |
| #import re | |
| from pathlib import Path | |
| import folder_paths | |
| FONTS_DIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), "fonts") | |
| SCRIPT_DIR = Path(__file__).parent | |
| folder_paths.add_model_folder_path("luts", (SCRIPT_DIR / "luts").as_posix()) | |
| folder_paths.add_model_folder_path( | |
| "luts", (Path(folder_paths.models_dir) / "luts").as_posix() | |
| ) | |
| # from https://github.com/pythongosssss/ComfyUI-Custom-Scripts | |
| class AnyType(str): | |
| def __ne__(self, __value: object) -> bool: | |
| return False | |
| def min_(tensor_list): | |
| # return the element-wise min of the tensor list. | |
| x = torch.stack(tensor_list) | |
| mn = x.min(axis=0)[0] | |
| return torch.clamp(mn, min=0) | |
| def max_(tensor_list): | |
| # return the element-wise max of the tensor list. | |
| x = torch.stack(tensor_list) | |
| mx = x.max(axis=0)[0] | |
| return torch.clamp(mx, max=1) | |
| def expand_mask(mask, expand, tapered_corners): | |
| c = 0 if tapered_corners else 1 | |
| kernel = np.array([[c, 1, c], | |
| [1, 1, 1], | |
| [c, 1, c]]) | |
| mask = mask.reshape((-1, mask.shape[-2], mask.shape[-1])) | |
| out = [] | |
| for m in mask: | |
| output = m.numpy() | |
| for _ in range(abs(expand)): | |
| if expand < 0: | |
| output = scipy.ndimage.grey_erosion(output, footprint=kernel) | |
| else: | |
| output = scipy.ndimage.grey_dilation(output, footprint=kernel) | |
| output = torch.from_numpy(output) | |
| out.append(output) | |
| return torch.stack(out, dim=0) | |
| def parse_string_to_list(s): | |
| elements = s.split(',') | |
| result = [] | |
| def parse_number(s): | |
| try: | |
| if '.' in s: | |
| return float(s) | |
| else: | |
| return int(s) | |
| except ValueError: | |
| return 0 | |
| def decimal_places(s): | |
| if '.' in s: | |
| return len(s.split('.')[1]) | |
| return 0 | |
| for element in elements: | |
| element = element.strip() | |
| if '...' in element: | |
| start, rest = element.split('...') | |
| end, step = rest.split('+') | |
| decimals = decimal_places(step) | |
| start = parse_number(start) | |
| end = parse_number(end) | |
| step = parse_number(step) | |
| current = start | |
| if (start > end and step > 0) or (start < end and step < 0): | |
| step = -step | |
| while current <= end: | |
| result.append(round(current, decimals)) | |
| current += step | |
| else: | |
| result.append(round(parse_number(element), decimal_places(element))) | |
| return result |