From dd47a3dac411a3b9896bada2983f5ec7014c1922 Mon Sep 17 00:00:00 2001 From: drbh Date: Mon, 5 Aug 2024 12:36:44 -0400 Subject: [PATCH] feat: include local lora adapter loading docs (#2359) --- docs/source/conceptual/lora.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/source/conceptual/lora.md b/docs/source/conceptual/lora.md index 08df767c..cfc2109b 100644 --- a/docs/source/conceptual/lora.md +++ b/docs/source/conceptual/lora.md @@ -36,6 +36,18 @@ To use LoRA in TGI, when starting the server, you can specify the list of LoRA m LORA_ADAPTERS=predibase/customer_support,predibase/dbpedia ``` +additionally, you can specify the path to the LoRA models using the `LORA_ADAPTERS_PATH` environment variable. For example: + +```bash +LORA_ADAPTERS=myadapter=/some/path/to/adapter,myadapter2=/another/path/to/adapter +``` + +note it's possible to mix adapter_ids with adapter_id=adapter_path e.g. + +```bash +LORA_ADAPTERS=predibase/dbpedia,myadapter=/path/to/dir/ +``` + In the server logs, you will see the following message: ```txt