Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
text-generation-inference
Commits
dd47a3da
Unverified
Commit
dd47a3da
authored
Aug 05, 2024
by
drbh
Committed by
GitHub
Aug 05, 2024
Browse files
feat: include local lora adapter loading docs (#2359)
parent
215ed3ad
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
docs/source/conceptual/lora.md
docs/source/conceptual/lora.md
+12
-0
No files found.
docs/source/conceptual/lora.md
View file @
dd47a3da
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment