Skip to content

feat(backends): ServerMediatedBinding for vLLM aLoRA — tracking issue, outside Epic #929 scope #1143

Closed

Description

@planetf1

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

  1. 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)
  2. Epic Epic: Fix Adapter Function Lifecycle & Consistency in Mellea #929 Phases 0–2 are complete
  3. 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) — calls AdapterMixin.set_request_adapter to set per-request adapter header/parameter
  • deactivate(ctx) — clears the per-request adapter
  • release() — 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

Activity

  1. self-assigned this
    on May 22, 2026
  2. added
    enhancement
    area/backends
    area/adapter-functions
    on May 22, 2026
  3. changed the title [-]feat(backends): ServerMediatedBinding implementation — blocked on upstream #27 (Epic #929 Phase 3)[/-] [+]feat(backends): ServerMediatedBinding for vLLM aLoRA — tracking issue, outside Epic #929 scope[/+] on May 22, 2026
  4. added this to the Release 0.6.0 milestone on May 22, 2026
  5. psschwei commented on May 22, 2026

    @psschwei
    Contributor

    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.

  6. planetf1 commented on May 26, 2026

    @planetf1
    ContributorAuthor

    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.

    ServerMediatedBinding is 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/adapter-functionsarea/backendsenhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions