Downloads · 30 days
0
Chia-Chi/anchor
anchor is a machine learning model from Chia-Chi. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
Load multiple LoRA adapters once. Switch between them at inference time — 216ms, no reload.
Downloads · 30 days
0
Access
Public
Updated Apr 29, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.md1.7 KB · 52%
From the Hugging Face model README
Load multiple LoRA adapters once. Switch between them at inference time — 216ms, no reload.
→ GitHub: recursia-lab/anchor
Anchor is a lightweight serving server for PaliGemma2 with multiple LoRA adapters. Unlike frameworks that load adapters per-request from disk, Anchor keeps all adapters in GPU memory simultaneously — switching is a pointer swap.
Request: model="open_circuit" → set_adapter() → generate() → 216ms
Request: model="missing_hole" → set_adapter() → generate() → 216ms
Request: model="base" → disable_adapters() → generate()
git clone https://github.com/recursia-lab/anchor
docker build -t anchor .
docker run --gpus all -v /model:/model -v /lora:/lora -p 8080:8080 anchor
curl http://localhost:8080/v1/chat/completions \
-d '{"model": "your_adapter", "messages": [...]}'
| Framework | PaliGemma2 LoRA |
|---|---|
| Anchor | ✅ pre-loaded, 216ms switch |
| vLLM | ✅ per-request load |
| SGLang | 🚧 PR #24034 |
See recursia-lab/paligemma2-adapters for a curated index of community fine-tuned PaliGemma2 LoRA adapters.
Built by Recursia Lab • Apache 2.0