Install
Install with PiG
pig install npm:@sipphq/lemon-piInstall with Pi
pi install npm:@sipphq/lemon-piPackages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"./dist/extensions/warp.js"
]
}README
Written by the package's publisher, shown as published in version 0.1.13 (README.md). PiG does not review it.
lemon-pi
Run local .uma models in Pi on your own GPU. lemon-pi adds a
Warp model provider and a /warp command: find a model on Hugging Face, download it, and chat
with it in Pi — no API key, nothing leaves your machine.
Requirements
| Platform | GPU | Also needed |
|---|---|---|
| Windows x64 | NVIDIA, driver 580 or newer | Nothing: installing lemon-pi downloads the CUDA 13 libraries |
| Linux x64 (glibc) | NVIDIA, driver 580 or newer | Nothing: installing lemon-pi downloads the CUDA 13 libraries |
| macOS, Apple Silicon | Built in (Metal) | Nothing |
On Windows and Linux, installing lemon-pi checks for CUDA 13. When none is installed, it downloads NVIDIA's
CUDA 13 libraries (about 400 MB, once) into ~/.sipp/cuda, so the install takes a few minutes longer. An
installed CUDA 13 toolkit is used instead when there is one. CUDA 12 or older cannot stand in for it.
You also need Pi 1.0 or a later 1.x release (running on Node.js 22.19 or newer), and disk space for models (the current Qwen build is about 12.5 GB).
Install
pi install npm:@sipphq/lemon-pi
npm downloads only the runtime for your platform. To install for the current project only, add
-l; to try it for one session without installing, run pi -e npm:@sipphq/lemon-pi.
Your first model
- Start
pi. - Type
/warp huband press Enter. Pick a repository, then the variant for your machine:cudaon Windows and Linux,metalon a Mac. - lemon-pi reads the model's details (a few MB, not the weights) and shows whether it fits your GPU. Confirm to download. The download runs in the background with progress in Pi's footer; you can keep working.
- When the download finishes, lemon-pi sets the model up and switches Pi to it. It loads in the
background, fitting the context window to your GPU on this first load; the footer shows
Warp · <model> · loadedwhen it is ready. - Chat.
Every downloaded model is listed in Pi's /model. Next time Pi starts, pick one there or with
/warp models, or make it the default with /warp config default.
Everyday commands
Type /warp for a menu. Every subcommand without arguments opens its own menu, and Tab completes
names as you type.
| Command | What it does |
|---|---|
/warp models | List your models and their state; pick one to use it (Pi's /model lists them too) |
/warp hub | Browse .uma models on Hugging Face |
/warp hub <org/repo> | Download a model (/warp hub cancel stops it; run it again to resume) |
/warp config | Settings: the model in use (context window, KV format, presets) and global ones |
/warp config load / unload | Load the model now, or free its GPU memory |
/warp config default | Make it the model Pi starts with |
/warp info | What is loaded, context use and the last request's speed |
/warp models unlist <model> | Take a model off the list; its file stays on disk |
/warp models delete <model> | Delete a downloaded model from disk |
/warp config global | Settings for all models: when models preload, where they are stored, GPU reserve |
/warp help | The full command reference |
<model> can be a list number, a name, a file name, or a unique part of one.
Where things are kept
- Downloaded models:
~/.sipp/models/<org>/<repo>/<file>.uma. Change the folder with/warp config models-dir <path>or theSIPP_MODELS_DIRenvironment variable. - Model settings:
~/.pi/agent/extensions/warp.json(/warp infoprints the exact path). - Compaction limits: lemon-pi keeps
compaction.modelOverridesfor each Warp model in~/.pi/agent/settings.jsonsized to its context window, so Pi can compact a long conversation even in a small window. When a/warpcommand changes a window, Pi reloads its settings after the command. - Set up a file from elsewhere:
/warp models add <path/to/model.uma>.
Update and uninstall
pi update npm:@sipphq/lemon-pi
pi remove npm:@sipphq/lemon-pi
Removing lemon-pi keeps your downloaded models. Delete them first with /warp models delete, or
remove the models folder yourself.
Troubleshooting
- "Warp needs the CUDA 13 runtime" (Windows) or "Warp needs the CUDA 13 libraries" (Linux): the
install did not download them. The message says why, for example a missing or old NVIDIA driver. The
download runs from npm's install script, which pnpm, bun and npm's
ignore-scriptssetting skip: reinstall with npm (pi install npm:@sipphq/lemon-pi). Or install the CUDA 13 toolkit: lemon-pi finds it under the default install folder (C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA, or/usr/local/cuda-13.*) orCUDA_PATH. Anywhere else on Linux, add it to the loader path, for exampleexport LD_LIBRARY_PATH=/opt/cuda-13/lib64:$LD_LIBRARY_PATH, then restart Pi. CUDA 12 or older does not work: each CUDA major version has its own libraries. - Installing behind a proxy or mirror: set
LEMON_PI_CUDA_BASE_URLto a mirror of the CUDA download, orLEMON_PI_SKIP_CUDA_DOWNLOAD=1to skip it and install the CUDA 13 toolkit yourself. - A model "needs attention":
/warp modelssays why and which command fixes it — usually a moved or deleted file that/warp hubcan download again. - Not enough free GPU memory: the message (and
/warp info) shows what other programs use, the reserve lemon-pi keeps free (512 MiB unless you raised it), the model's weights and what is left. Close other GPU programs, store the KV cache as q8_0 with/warp config kv_format 1, or state a smaller window with/warp config context 8192. - Hugging Face rate limits or a mirror: set
HF_ENDPOINTto the mirror's URL.
/warp info shows anything that blocks loading.
License
Apache-2.0.