mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 16:17:57 +01:00
Update llama.cpp-models.md
This commit is contained in:
parent
aba56de41b
commit
90dc8a91ae
@ -12,9 +12,9 @@ Follow the instructions in the llama.cpp README to generate the `ggml-model.bin`
|
|||||||
|
|
||||||
## GPU offloading
|
## GPU offloading
|
||||||
|
|
||||||
Enabled with the `--n-gpu-layers` parameter. If you have enough VRAM, use a high number like `--n-gpu-layers 200000` to offload all layers to the GPU.
|
Enabled with the `--n-gpu-layers` parameter. If you have enough VRAM, use a high number like `--n-gpu-layers 200000` to offload all layers to the GPU. Otherwise, start with a low value like `--n-gpu-layers 10` and gradually increase it until you run out of memory.
|
||||||
|
|
||||||
Note that you need to manually install `llama-cpp-python` with GPU support. To do that:
|
To use this feature, you need to manually compile and install `llama-cpp-python` with GPU support.
|
||||||
|
|
||||||
#### Linux
|
#### Linux
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user