Repository navigation
Description
Tracking issue — outside the scope of Epic #929.
Reality C (server-mediated adapter — vLLM/OpenAI-compat server owns the weights) depends entirely on upstream support that may never materialise. Epic #929 designs the ServerMediatedBinding slot so it can be plugged in if that day comes, but does not schedule or require this work. This issue is kept open for traceability only.
Blocked on: #27 (vLLM aLoRA API support — external, no timeline)
Context
OpenAI-compatible servers (notably vLLM) do not currently support aLoRA adapters at the API layer. The OpenAI backend cannot serve adapter-based helpers via server-mediated weights without falling back to embedded (Reality B) or removing adapter support entirely (as PR #543 did in 2026-04).
The ServerMediatedBinding stub is introduced in #1134 (Phase 0 scaffolding) so the slot exists. This issue is the placeholder for implementing it when — and if — upstream unblocks.
What would need to happen
- vLLM (or another OpenAI-compat server) ships aLoRA adapter support at the API level (Add support for aloras to remote vllm when vllm supports it #27)
- Epic Epic: Fix Adapter Function Lifecycle & Consistency in Mellea #929 Phases 0–2 are complete
- This issue is reassessed, scoped, and scheduled at that point
Agreed design (when unblocked)
prepare()— verifies the server exposes the named adapter (probe API)activate(ctx)— callsAdapterMixin.set_request_adapterto set per-request adapter header/parameterdeactivate(ctx)— clears the per-request adapterrelease()— typically a no-op (server owns the weights)
Drop the _uses_embedded_adapters hard-code in the OpenAI backend; use ServerMediatedBinding for non-embedded adapters when supported.
References
- Epic: Fix Adapter Function Lifecycle & Consistency in Mellea #929 — Epic (this issue is NOT a sub-issue; it is outside the epic's scope)
- feat(intrinsics): introduce Adapter/Identity/IOContract/WeightsBinding scaffolding (Epic #929 Phase 0) #1134 — stub
ServerMediatedBindingintroduced here - Add support for aloras to remote vllm when vllm supports it #27 — the actual blocker
- PR revert: remove adapters / intrinsics / alora / lora from openai code #543 — adapter support removed when vLLM declined aLoRA
- PR feat: add embedded adapters (granite switch) to openai backend #881 — embedded adapters added back; Reality B is the current path
- PR docs: design proposal for adapter lifecycle (#929) — review channel, do not merge #1080 §8.3, Part I §5 Q3
Activity
[-]feat(backends): ServerMediatedBinding implementation — blocked on upstream #27 (Epic #929 Phase 3)[/-][+]feat(backends): ServerMediatedBinding for vLLM aLoRA — tracking issue, outside Epic #929 scope[/+]psschwei commentedon May 22, 2026
I think vllm was pretty definitive they did not want it, so I would just close this. Can always reopen later if vllm changes their mind later.
planetf1 commentedon May 26, 2026
Closing this for now. The blocker (#27) has been inactive for a while, and a search of the vLLM upstream tracker (issues, PRs, discussions) turns up no sign of aLoRA being queued for contribution. The IBM Research paper (arxiv 2512.17910) demonstrates a working vLLM fork at
tdoublep/vllm:alora, but that branch hasn't moved toward a PR in the ~5 months since publication, and the vLLM LoRA roadmap doesn't mention it.ServerMediatedBindingis already stubbed in #1134, so the slot exists if this ever becomes viable. Will re-open if an upstream PR appears in vllm-project/vllm.