Prerequisites
- A Mac with Apple silicon and 36 GB of unified memory or more. Rosetta and
x86_64Python are not supported. - Enough free disk space for the approximately 22 GB checkpoint, vLLM Metal, and local caches.
- An internet connection for the installer and initial checkpoint download.
Steps
-
If Poolside Agent CLI is not installed, install it:
Verify the installation:The command prints the installed version. For installation details, see Install Poolside Agent CLI.
-
Install vLLM Metal:
The installer creates a native
arm64Python 3.12 environment at~/.venv-vllm-metaland installs vLLM, vLLM Metal, and their dependencies. -
Activate the environment and start the local model server:
Keep this terminal open while you use the model. The first start downloads the checkpoint and can take several minutes, depending on your connection.
-
In a different terminal, open the project where you want to work and connect
poolto the local server:The local server does not validate the example API key, butpoolrequires a non-empty value. -
Send a prompt:
The setup works when the agent responds using the
lagunamodel served fromlocalhost:8888.
Adjust the context length
Model weights and the KV cache share unified memory. If the server runs out of memory, reduce--max-model-len when you restart it. When you reconnect, pool reads the updated context length from the server and adjusts its automatic compaction threshold.
The checkpoint supports up to 256K tokens, but the available context depends on your Mac’s unified memory and other running applications.