diff options
author | Howard Su <howard0su@gmail.com> | 2023-07-11 22:37:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-11 22:37:01 +0800 |
commit | 2347463201a9f4159ae95b737e1544dd300569c8 (patch) | |
tree | 48983fbda7eb96a08121059615ab7b21e084d2d7 /examples/server/README.md | |
parent | bbef28218fe827265716b66977719b9ee2b21165 (diff) |
Support using mmap when applying LoRA (#2095)
* Support using mmap when applying LoRA
* Fix Linux
* Update comment to reflect the support lora with mmap
Diffstat (limited to 'examples/server/README.md')
-rw-r--r-- | examples/server/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/server/README.md b/examples/server/README.md index ad9b6bb0..3691abd7 100644 --- a/examples/server/README.md +++ b/examples/server/README.md @@ -16,7 +16,7 @@ Command line options: - `--memory-f32`: Use 32-bit floats instead of 16-bit floats for memory key+value. Not recommended. - `--mlock`: Lock the model in memory, preventing it from being swapped out when memory-mapped. - `--no-mmap`: Do not memory-map the model. By default, models are mapped into memory, which allows the system to load only the necessary parts of the model as needed. -- `--lora FNAME`: Apply a LoRA (Low-Rank Adaptation) adapter to the model (implies --no-mmap). This allows you to adapt the pretrained model to specific tasks or domains. +- `--lora FNAME`: Apply a LoRA (Low-Rank Adaptation) adapter to the model. This allows you to adapt the pretrained model to specific tasks or domains. - `--lora-base FNAME`: Optional model to use as a base for the layers modified by the LoRA adapter. This flag is used in conjunction with the `--lora` flag, and specifies the base model for the adaptation. - `-to N`, `--timeout N`: Server read/write timeout in seconds. Default `600`. - `--host`: Set the hostname or ip address to listen. Default `127.0.0.1`. |