vllm.adapter_commons.models
AdapterLRUCache ¶
Source code in vllm/adapter_commons/models.py
__init__ ¶
AdapterModel ¶
Bases: ABC
Source code in vllm/adapter_commons/models.py
AdapterModelManager ¶
Bases: ABC
Source code in vllm/adapter_commons/models.py
__init__ ¶
__init__(model: Module)
Create a AdapterModelManager and adapter for a given model. Args: model: the model to be adapted.