vllm.entrypoints.serve.lora.api_router
¶
Functions:
-
attach_router–Attach the LoRA adapter load/unload endpoints to the API server.
-
load_lora_adapter–Handle POST /v1/load_lora_adapter: load a LoRA adapter into the
-
unload_lora_adapter–Handle POST /v1/unload_lora_adapter: unload a LoRA adapter from
attach_router(app)
¶
Attach the LoRA adapter load/unload endpoints to the API server.
Does nothing when dynamic LoRA updating is disabled.
load_lora_adapter(request, raw_request)
async
¶
Handle POST /v1/load_lora_adapter: load a LoRA adapter into the serving engine.
unload_lora_adapter(request, raw_request)
async
¶
Handle POST /v1/unload_lora_adapter: unload a LoRA adapter from the serving engine.