Engines and Hardware
Manage llama.cpp in router mode, vLLM on Linux CUDA or ROCm, remote OpenAI-compatible servers, GGUF presets, and VRAM sizing.
Loom controls external inference engines rather than re-implementing inference itself. Manage local and linked engines from Models → Engine and API and Settings → Engines.
llama.cpp (Linux, macOS, Windows)
llama.cpp is Loom's cross-platform engine for GGUF models with CPU, NVIDIA CUDA, Apple Silicon Metal, AMD ROCm, and Vulkan support depending on your installed build and drivers.
- Install or build: Download official prebuilt binaries or compile from source directly in Loom (source builds require Git, CMake, and a C/C++ toolchain), or link an existing
llama-serverbinary. - Router mode: A router-capable
llama-serverstays running and loads models through its native API without restarting the process on every switch. ConfigureMODELS_MAX(0for native unlimited, or1–64) to control concurrent resident models. - GGUF library and presets: Search Hugging Face under Models → Hub, download GGUF files into local or external model folders, save named presets, and tune per-model context length, GPU offload, and sampling parameters.
- Acceleration verification and repair: Loom checks
llama-server --list-devicesdirectly (never trusting stale saved device lists). If a source build loses GPU support or has a relocated CMake cache, click Rebuild (POST /api/llamacpp/updatewith{"clean":true}) or runloom llamacpp update.
vLLM (Linux CUDA and AMD ROCm)
On Linux systems with supported NVIDIA CUDA or AMD ROCm GPUs, Loom installs vLLM inside a private, user-owned Python environment at LOOM_HOME/engines/vllm (never touching global pip).
- Prerequisites: Working NVIDIA CUDA or AMD ROCm drivers must already be installed on the host. AMD ROCm installation and updates require
uvand use the official ROCm wheel index. macOS and Windows hosts can link a Linux vLLM server over the network. - Hugging Face safetensors library: Search text-generation repositories (
GET /api/engines/vllm/hub/search) with optionalawq,gptq, orfp8filters and resumable HTTP Range downloads into your standard Hugging Face cache (HF_HUB_CACHE,HF_HOME/hub, or~/.cache/huggingface/hub). - Per-model parameters: Configure
max-model-len,gpu-memory-utilization,tensor-parallel-size,dtype,reasoning-parser,tool-call-parser, andenable-auto-tool-choicevia/api/engines/vllm/params. - Safe defaults:
trust-remote-codeisoffby default because enabling it executes repository Python code with Loom's host permissions. - Idle auto-updates: Per-engine automatic updates (
/api/engines/vllm/auto-update) are off by default and run only while the engine is stopped.
For private or gated Hugging Face repositories, provide HF_TOKEN (or HF_TOKEN_PATH / HF_HOME/token). Tokens never appear in download progress responses, saved settings, or logs.
Linking remote inference servers
You can connect external compute in two ways:
- Direct server link: Point Loom at any running
llama-server,vLLM, or OpenAI-compatible HTTP(S) server by address without installing Loom there. Direct links provide inference; package updates and model storage stay on that server. - Paired Loom Node: Install
loom nodeon a Linux GPU host (port2511) so the main Loom manages its GGUF/vLLM libraries, updates, presets, and benchmarks remotely. See Machines and Nodes.
VRAM guidance and Bench
Search results display an advisory estimated_vram_mb and verdict (fits, tensor_parallel, no, or unknown) evaluated against 90% of detected GPU memory. Because actual memory use varies with context window, KV-cache dtype, and concurrency, treat estimates as guidance and verify throughput with Bench (reproducible prompt prefill and decode timings without tools or extra context).
loom where
loom llamacpp updateContinue to Codeman Agents to pair coding-agent sessions alongside your local models.
Sessions and Models
Work with unified discussions, folders, Local and Cloud model switching, optional web search, and Loom's OpenAI-compatible /v1 API.
Codeman Agents
Connect a local or remote Codeman server to launch and supervise Claude Code, Codex, OpenCode, and Pi sessions with WebGL terminals and schedules.