Unverified Commit 6f290940 authored by Hyogeun Oh (오효근)'s avatar Hyogeun Oh (오효근) Committed by GitHub
Browse files

[Doc] Fix codeblocks formatting in LoRA adapters documentation (#18907)


Signed-off-by: default avatarZerohertz <ohg3417@gmail.com>
parent b169d5f7
...@@ -165,6 +165,7 @@ it will first look in the local directory for a directory `foobar`, and attempt ...@@ -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. that adapter will then be available for normal use on the server.
Alternatively, follow these example steps to implement your own plugin: Alternatively, follow these example steps to implement your own plugin:
1. Implement the LoRAResolver interface. 1. Implement the LoRAResolver interface.
Example of a simple S3 LoRAResolver implementation: Example of a simple S3 LoRAResolver implementation:
...@@ -198,9 +199,9 @@ Alternatively, follow these example steps to implement your own plugin: ...@@ -198,9 +199,9 @@ Alternatively, follow these example steps to implement your own plugin:
return lora_request return lora_request
``` ```
2. Register LoRAResolver plugin. 2. Register `LoRAResolver` plugin.
```python ```python
from vllm.lora.resolver import LoRAResolverRegistry from vllm.lora.resolver import LoRAResolverRegistry
s3_resolver = S3LoRAResolver() s3_resolver = S3LoRAResolver()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment