TheBloke commited on
Commit
4ac4bd2
1 Parent(s): bb3282f

New GGMLv3 format for breaking llama.cpp change May 19th commit 2d5db48

Browse files
Files changed (1) hide show
  1. README.md +10 -9
README.md CHANGED
@@ -17,27 +17,28 @@ The files in this repo are the result of merging the above LoRA with the origina
17
  * [4-bit GPTQ model for GPU inference](https://huggingface.co/TheBloke/VicUnlocked-30B-LoRA-GPTQ).
18
  * [float16 HF format model for GPU inference and further conversions](https://huggingface.co/TheBloke/VicUnlocked-30B-LoRA-HF).
19
 
20
- ## THESE FILES REQUIRE LATEST LLAMA.CPP (May 12th 2023 - commit b9fd7ee)!
21
 
22
- llama.cpp recently made a breaking change to its quantisation methods.
23
 
24
- I have quantised the GGML files in this repo with the latest version. Therefore you will require llama.cpp compiled on May 12th or later (commit `b9fd7ee` or later) to use them.
25
 
 
26
  ## Provided files
27
  | Name | Quant method | Bits | Size | RAM required | Use case |
28
  | ---- | ---- | ---- | ---- | ---- | ----- |
29
- `VicUnlocked-30B-LoRA.ggml.q4_0.bin` | q4_0 | 4bit | 20.3GB | 23GB | 4-bit. |
30
- `VicUnlocked-30B-LoRA.ggml.q4_1.bin` | q4_1 | 5bit | 24.4GB | 27GB | 4-bit. Higher accuracy than q4_0 but not as high as q5_0. However has quicker inference than q5 models. |
31
- `VicUnlocked-30B-LoRA.ggml.q5_0.bin` | q5_0 | 5bit | 22.4GB | 25GB | 5-bit. Higher accuracy, higher resource usage and slower inference. |
32
- `VicUnlocked-30B-LoRA.ggml.q5_1.bin` | q5_1 | 5bit | 24.4GB | 27GB | 5-bit. Even higher accuracy, and higher resource usage and slower inference. |
33
- `VicUnlocked-30B-LoRA.ggml.q8_0.bin` | q8_0 | 8bit | 36.6GB | 39GB | 8-bit. Almost indistinguishable from float16. Huge resource use and slow. Not recommended for normal use. |
34
 
35
  ## How to run in `llama.cpp`
36
 
37
  I use the following command line; adjust for your tastes and needs:
38
 
39
  ```
40
- ./main -t 8 -m VicUnlocked-30B-LoRA.ggml.q5_0.bin --color -c 2048 --temp 0.7 --repeat_penalty 1.1 -n -1 -p "### Instruction: write a story about llamas ### Response:"
41
  ```
42
 
43
  Change `-t 8` to the number of physical CPU cores you have.
 
17
  * [4-bit GPTQ model for GPU inference](https://huggingface.co/TheBloke/VicUnlocked-30B-LoRA-GPTQ).
18
  * [float16 HF format model for GPU inference and further conversions](https://huggingface.co/TheBloke/VicUnlocked-30B-LoRA-HF).
19
 
20
+ ## THE FILES IN MAIN BRANCH REQUIRES LATEST LLAMA.CPP (May 19th 2023 - commit 2d5db48)!
21
 
22
+ llama.cpp recently made another breaking change to its quantisation methods - https://github.com/ggerganov/llama.cpp/pull/1508
23
 
24
+ I have quantised the GGML files in this repo with the latest version. Therefore you will require llama.cpp compiled on May 19th or later (commit `2d5db48` or later) to use them.
25
 
26
+ For files compatible with the previous version of llama.cpp, please see branch `previous_llama_ggmlv2`.
27
  ## Provided files
28
  | Name | Quant method | Bits | Size | RAM required | Use case |
29
  | ---- | ---- | ---- | ---- | ---- | ----- |
30
+ `VicUnlocked-30B-LoRA.ggmlv3.q4_0.bin` | q4_0 | 4bit | 20.3GB | 23GB | 4-bit. |
31
+ `VicUnlocked-30B-LoRA.ggmlv3.q4_1.bin` | q4_1 | 5bit | 24.4GB | 27GB | 4-bit. Higher accuracy than q4_0 but not as high as q5_0. However has quicker inference than q5 models. |
32
+ `VicUnlocked-30B-LoRA.ggmlv3.q5_0.bin` | q5_0 | 5bit | 22.4GB | 25GB | 5-bit. Higher accuracy, higher resource usage and slower inference. |
33
+ `VicUnlocked-30B-LoRA.ggmlv3.q5_1.bin` | q5_1 | 5bit | 24.4GB | 27GB | 5-bit. Even higher accuracy, and higher resource usage and slower inference. |
34
+ `VicUnlocked-30B-LoRA.ggmlv3.q8_0.bin` | q8_0 | 8bit | 36.6GB | 39GB | 8-bit. Almost indistinguishable from float16. Huge resource use and slow. Not recommended for normal use. |
35
 
36
  ## How to run in `llama.cpp`
37
 
38
  I use the following command line; adjust for your tastes and needs:
39
 
40
  ```
41
+ ./main -t 8 -m VicUnlocked-30B-LoRA.ggmlv3.q5_0.bin --color -c 2048 --temp 0.7 --repeat_penalty 1.1 -n -1 -p "### Instruction: write a story about llamas ### Response:"
42
  ```
43
 
44
  Change `-t 8` to the number of physical CPU cores you have.