Add in-memory cache support for llama.cpp (#1936)
This commit is contained in:
parent
0227e738ed
commit
e657dd342d
3 changed files with 33 additions and 16 deletions
|
@ -230,6 +230,7 @@ Optionally, you can use the following command-line flags:
|
|||
| `--n_batch` | Maximum number of prompt tokens to batch together when calling llama_eval. |
|
||||
| `--no-mmap` | Prevent mmap from being used. |
|
||||
| `--mlock` | Force the system to keep the model in RAM. |
|
||||
| `--cache-capacity CACHE_CAPACITY` | Maximum cache capacity. Examples: 2000MiB, 2GiB. When provided without units, bytes will be assumed. |
|
||||
| `--n-gpu-layers N_GPU_LAYERS` | Number of layers to offload to the GPU. Only works if llama-cpp-python was compiled with BLAS. Set this to 1000000000 to offload all layers to the GPU. |
|
||||
|
||||
#### GPTQ
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue