mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-09 14:25:21 +08:00
[Doc] Fix codeblocks formatting in LoRA adapters documentation (#18907)
Signed-off-by: Zerohertz <ohg3417@gmail.com>
This commit is contained in:
parent
b169d5f7b6
commit
6f2909405e
@ -165,6 +165,7 @@ it will first look in the local directory for a directory `foobar`, and attempt
|
||||
that adapter will then be available for normal use on the server.
|
||||
|
||||
Alternatively, follow these example steps to implement your own plugin:
|
||||
|
||||
1. Implement the LoRAResolver interface.
|
||||
|
||||
Example of a simple S3 LoRAResolver implementation:
|
||||
@ -198,9 +199,9 @@ Alternatively, follow these example steps to implement your own plugin:
|
||||
return lora_request
|
||||
```
|
||||
|
||||
2. Register LoRAResolver plugin.
|
||||
2. Register `LoRAResolver` plugin.
|
||||
|
||||
```python
|
||||
```python
|
||||
from vllm.lora.resolver import LoRAResolverRegistry
|
||||
|
||||
s3_resolver = S3LoRAResolver()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user