bartowski commited on
Commit
c9e966f
1 Parent(s): da85e06

Llamacpp quants

Browse files
.gitattributes CHANGED
@@ -33,3 +33,27 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ Hermes-2-Theta-Llama-3-8B-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ Hermes-2-Theta-Llama-3-8B-IQ1_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ Hermes-2-Theta-Llama-3-8B-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ Hermes-2-Theta-Llama-3-8B-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ Hermes-2-Theta-Llama-3-8B-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ Hermes-2-Theta-Llama-3-8B-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ Hermes-2-Theta-Llama-3-8B-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
43
+ Hermes-2-Theta-Llama-3-8B-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
44
+ Hermes-2-Theta-Llama-3-8B-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
45
+ Hermes-2-Theta-Llama-3-8B-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
46
+ Hermes-2-Theta-Llama-3-8B-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
47
+ Hermes-2-Theta-Llama-3-8B-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
48
+ Hermes-2-Theta-Llama-3-8B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
49
+ Hermes-2-Theta-Llama-3-8B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
50
+ Hermes-2-Theta-Llama-3-8B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
51
+ Hermes-2-Theta-Llama-3-8B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
52
+ Hermes-2-Theta-Llama-3-8B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
53
+ Hermes-2-Theta-Llama-3-8B-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
54
+ Hermes-2-Theta-Llama-3-8B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
55
+ Hermes-2-Theta-Llama-3-8B-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
56
+ Hermes-2-Theta-Llama-3-8B-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
57
+ Hermes-2-Theta-Llama-3-8B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
58
+ Hermes-2-Theta-Llama-3-8B-f32.gguf filter=lfs diff=lfs merge=lfs -text
59
+ Hermes-2-Theta-Llama-3-8B.imatrix filter=lfs diff=lfs merge=lfs -text
Hermes-2-Theta-Llama-3-8B-IQ1_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4af186971e49e7e355fb82419eb88c017c613fcca0af03ba20664557d83eb0ad
3
+ size 2161971488
Hermes-2-Theta-Llama-3-8B-IQ1_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c407bf1d395851e94d47c0ed0f2bc6329a717354629ef4f63dac615809c5a1e
3
+ size 2019627296
Hermes-2-Theta-Llama-3-8B-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63279cac599f257f3ec62ddf448b34c8623eb306b7f41bf66c4cad66bbc46f73
3
+ size 2948280608
Hermes-2-Theta-Llama-3-8B-IQ2_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:94c75af34dd0aa67b920c747c688d3dac6dadf8fe8ea41dce49e2b859290ef94
3
+ size 2758488352
Hermes-2-Theta-Llama-3-8B-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0dacd1b8a651cae1db68897b3d5dd4eb11a3f2e44a3b43e95a8092f719b858f9
3
+ size 2605781280
Hermes-2-Theta-Llama-3-8B-IQ2_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4be6020de3b66b9dba3145a2db0fd03ea1413f7915e3b678c16095813a179025
3
+ size 2399211808
Hermes-2-Theta-Llama-3-8B-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:168a56d587da451bb8250802ec3ed0c19b078278a640c523650d32857237fa27
3
+ size 3784823072
Hermes-2-Theta-Llama-3-8B-IQ3_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bcfd312ff2ceb595689203c8ba90288c0456eab5d68ff00d898f25a065e3fb89
3
+ size 3682324768
Hermes-2-Theta-Llama-3-8B-IQ3_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f05d5f3b9a60a621a4c827c5ffbc583ba88f0f89de8a279362dd2f2263d873a9
3
+ size 3518746912
Hermes-2-Theta-Llama-3-8B-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee80a4b6974211bb071f3e5cc11868c152a41df5aac2833c021b1bda04e6a562
3
+ size 3274912032
Hermes-2-Theta-Llama-3-8B-IQ4_NL.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8c9d01648691fd092f4516b3bb3d893a68eda86d795ff7e999c2c90f5e19980
3
+ size 7835936
Hermes-2-Theta-Llama-3-8B-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:acbf66d751dcd104785d0d611972ae939227efb131592b8137e3cbd8cc973465
3
+ size 4447662368
Hermes-2-Theta-Llama-3-8B-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:232ddcecfc8f5844964fa2d8bea0c7f324f667182f09484306960de0d0ff2bd7
3
+ size 3179131168
Hermes-2-Theta-Llama-3-8B-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff0428b4007fa3e528c673e1b8ca6d1a460cee68c3c3b2115348d4c2b5658956
3
+ size 4321956128
Hermes-2-Theta-Llama-3-8B-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:709abe4fd35280010f2301f168a1df8a14a417f5134aba007f46a99fa7e1dd38
3
+ size 4018917664
Hermes-2-Theta-Llama-3-8B-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a92f5903b760b9492cb662b71d0dcb23c21eeee69d6b63d4733cf0c1901233b
3
+ size 3664498976
Hermes-2-Theta-Llama-3-8B-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee1db06ed9ca6f3d03cefc483035f02b38a858a3e76e5d40dcf7b6758b761c20
3
+ size 4920733984
Hermes-2-Theta-Llama-3-8B-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1fbceb537c91242d79ed3c564e5cf64d25a6e622cfa83e0ecb2d6485bbc85caf
3
+ size 4692668704
Hermes-2-Theta-Llama-3-8B-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c1584f16feffa801d4f90f1b70c31eb38d84afd6c5b4148b753a4a61438a1a1
3
+ size 5732987168
Hermes-2-Theta-Llama-3-8B-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97a606e372c4e7d4677b777ec25316ba17f45baab833c47a4cf6eec1223516a2
3
+ size 5599293728
Hermes-2-Theta-Llama-3-8B-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16e3a2e914e3b60cf2e3ded3b566361671bb80105d7da7faaf76220ffa88570f
3
+ size 6596006176
Hermes-2-Theta-Llama-3-8B-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e0af98d42707f1d6a240520fec9a7833c7b4c48535357823738f1496a89e630
3
+ size 8540770592
Hermes-2-Theta-Llama-3-8B-f32.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:201d25f046b34f3dfc140f7413b5a04502501047d20811d0456c03239a24294f
3
+ size 32128880672
Hermes-2-Theta-Llama-3-8B.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6f38e1b67796bdf06dff1c2efebd8cd0a28de8258f082301ab29b14f2e56f9b
3
+ size 4988169
README.md ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: NousResearch/Hermes-2-Pro-Llama-3-8B
3
+ tags:
4
+ - Llama-3
5
+ - instruct
6
+ - finetune
7
+ - chatml
8
+ - DPO
9
+ - RLHF
10
+ - gpt4
11
+ - synthetic data
12
+ - distillation
13
+ - function calling
14
+ - json mode
15
+ - axolotl
16
+ - merges
17
+ model-index:
18
+ - name: Hermes-2-Pro-Llama-3-Instruct-8B-Merge
19
+ results: []
20
+ language:
21
+ - en
22
+ datasets:
23
+ - teknium/OpenHermes-2.5
24
+ widget:
25
+ - example_title: Hermes 2 Pro Llama-3 Instruct Merge
26
+ messages:
27
+ - role: system
28
+ content: >-
29
+ You are a sentient, superintelligent artificial general intelligence, here
30
+ to teach and assist me.
31
+ - role: user
32
+ content: >-
33
+ Write a short story about Goku discovering kirby has teamed up with Majin
34
+ Buu to destroy the world.
35
+ quantized_by: bartowski
36
+ pipeline_tag: text-generation
37
+ ---
38
+
39
+ ## Llamacpp imatrix Quantizations of Hermes-2-Theta-Llama-3-8B
40
+
41
+ Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b2854">b2854</a> for quantization.
42
+
43
+ Original model: https://huggingface.co/NousResearch/Hermes-2-Theta-Llama-3-8B
44
+
45
+ All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/b6ac44691e994344625687afe3263b3a)
46
+
47
+ ## Prompt format
48
+
49
+ ```
50
+ <|begin_of_text|><|im_start|>system
51
+ {system_prompt}<|im_end|>
52
+ <|im_start|>user
53
+ {prompt}<|im_end|>
54
+ <|im_start|>assistant
55
+
56
+ ```
57
+
58
+ ## Download a file (not the whole branch) from below:
59
+
60
+ | Filename | Quant type | File Size | Description |
61
+ | -------- | ---------- | --------- | ----------- |
62
+ | [Hermes-2-Theta-Llama-3-8B-Q8_0.gguf](https://huggingface.co/bartowski/Hermes-2-Theta-Llama-3-8B-GGUF/blob/main/Hermes-2-Theta-Llama-3-8B-Q8_0.gguf) | Q8_0 | 8.54GB | Extremely high quality, generally unneeded but max available quant. |
63
+ | [Hermes-2-Theta-Llama-3-8B-Q6_K.gguf](https://huggingface.co/bartowski/Hermes-2-Theta-Llama-3-8B-GGUF/blob/main/Hermes-2-Theta-Llama-3-8B-Q6_K.gguf) | Q6_K | 6.59GB | Very high quality, near perfect, *recommended*. |
64
+ | [Hermes-2-Theta-Llama-3-8B-Q5_K_M.gguf](https://huggingface.co/bartowski/Hermes-2-Theta-Llama-3-8B-GGUF/blob/main/Hermes-2-Theta-Llama-3-8B-Q5_K_M.gguf) | Q5_K_M | 5.73GB | High quality, *recommended*. |
65
+ | [Hermes-2-Theta-Llama-3-8B-Q5_K_S.gguf](https://huggingface.co/bartowski/Hermes-2-Theta-Llama-3-8B-GGUF/blob/main/Hermes-2-Theta-Llama-3-8B-Q5_K_S.gguf) | Q5_K_S | 5.59GB | High quality, *recommended*. |
66
+ | [Hermes-2-Theta-Llama-3-8B-Q4_K_M.gguf](https://huggingface.co/bartowski/Hermes-2-Theta-Llama-3-8B-GGUF/blob/main/Hermes-2-Theta-Llama-3-8B-Q4_K_M.gguf) | Q4_K_M | 4.92GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
67
+ | [Hermes-2-Theta-Llama-3-8B-Q4_K_S.gguf](https://huggingface.co/bartowski/Hermes-2-Theta-Llama-3-8B-GGUF/blob/main/Hermes-2-Theta-Llama-3-8B-Q4_K_S.gguf) | Q4_K_S | 4.69GB | Slightly lower quality with more space savings, *recommended*. |
68
+ | [Hermes-2-Theta-Llama-3-8B-IQ4_XS.gguf](https://huggingface.co/bartowski/Hermes-2-Theta-Llama-3-8B-GGUF/blob/main/Hermes-2-Theta-Llama-3-8B-IQ4_XS.gguf) | IQ4_XS | 4.44GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
69
+ | [Hermes-2-Theta-Llama-3-8B-Q3_K_L.gguf](https://huggingface.co/bartowski/Hermes-2-Theta-Llama-3-8B-GGUF/blob/main/Hermes-2-Theta-Llama-3-8B-Q3_K_L.gguf) | Q3_K_L | 4.32GB | Lower quality but usable, good for low RAM availability. |
70
+ | [Hermes-2-Theta-Llama-3-8B-Q3_K_M.gguf](https://huggingface.co/bartowski/Hermes-2-Theta-Llama-3-8B-GGUF/blob/main/Hermes-2-Theta-Llama-3-8B-Q3_K_M.gguf) | Q3_K_M | 4.01GB | Even lower quality. |
71
+ | [Hermes-2-Theta-Llama-3-8B-IQ3_M.gguf](https://huggingface.co/bartowski/Hermes-2-Theta-Llama-3-8B-GGUF/blob/main/Hermes-2-Theta-Llama-3-8B-IQ3_M.gguf) | IQ3_M | 3.78GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
72
+ | [Hermes-2-Theta-Llama-3-8B-IQ3_S.gguf](https://huggingface.co/bartowski/Hermes-2-Theta-Llama-3-8B-GGUF/blob/main/Hermes-2-Theta-Llama-3-8B-IQ3_S.gguf) | IQ3_S | 3.68GB | Lower quality, new method with decent performance, recommended over Q3_K_S quant, same size with better performance. |
73
+ | [Hermes-2-Theta-Llama-3-8B-Q3_K_S.gguf](https://huggingface.co/bartowski/Hermes-2-Theta-Llama-3-8B-GGUF/blob/main/Hermes-2-Theta-Llama-3-8B-Q3_K_S.gguf) | Q3_K_S | 3.66GB | Low quality, not recommended. |
74
+ | [Hermes-2-Theta-Llama-3-8B-IQ3_XS.gguf](https://huggingface.co/bartowski/Hermes-2-Theta-Llama-3-8B-GGUF/blob/main/Hermes-2-Theta-Llama-3-8B-IQ3_XS.gguf) | IQ3_XS | 3.51GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
75
+ | [Hermes-2-Theta-Llama-3-8B-IQ3_XXS.gguf](https://huggingface.co/bartowski/Hermes-2-Theta-Llama-3-8B-GGUF/blob/main/Hermes-2-Theta-Llama-3-8B-IQ3_XXS.gguf) | IQ3_XXS | 3.27GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
76
+ | [Hermes-2-Theta-Llama-3-8B-Q2_K.gguf](https://huggingface.co/bartowski/Hermes-2-Theta-Llama-3-8B-GGUF/blob/main/Hermes-2-Theta-Llama-3-8B-Q2_K.gguf) | Q2_K | 3.17GB | Very low quality but surprisingly usable. |
77
+ | [Hermes-2-Theta-Llama-3-8B-IQ2_M.gguf](https://huggingface.co/bartowski/Hermes-2-Theta-Llama-3-8B-GGUF/blob/main/Hermes-2-Theta-Llama-3-8B-IQ2_M.gguf) | IQ2_M | 2.94GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
78
+ | [Hermes-2-Theta-Llama-3-8B-IQ2_S.gguf](https://huggingface.co/bartowski/Hermes-2-Theta-Llama-3-8B-GGUF/blob/main/Hermes-2-Theta-Llama-3-8B-IQ2_S.gguf) | IQ2_S | 2.75GB | Very low quality, uses SOTA techniques to be usable. |
79
+ | [Hermes-2-Theta-Llama-3-8B-IQ2_XS.gguf](https://huggingface.co/bartowski/Hermes-2-Theta-Llama-3-8B-GGUF/blob/main/Hermes-2-Theta-Llama-3-8B-IQ2_XS.gguf) | IQ2_XS | 2.60GB | Very low quality, uses SOTA techniques to be usable. |
80
+ | [Hermes-2-Theta-Llama-3-8B-IQ2_XXS.gguf](https://huggingface.co/bartowski/Hermes-2-Theta-Llama-3-8B-GGUF/blob/main/Hermes-2-Theta-Llama-3-8B-IQ2_XXS.gguf) | IQ2_XXS | 2.39GB | Lower quality, uses SOTA techniques to be usable. |
81
+ | [Hermes-2-Theta-Llama-3-8B-IQ1_M.gguf](https://huggingface.co/bartowski/Hermes-2-Theta-Llama-3-8B-GGUF/blob/main/Hermes-2-Theta-Llama-3-8B-IQ1_M.gguf) | IQ1_M | 2.16GB | Extremely low quality, *not* recommended. |
82
+ | [Hermes-2-Theta-Llama-3-8B-IQ1_S.gguf](https://huggingface.co/bartowski/Hermes-2-Theta-Llama-3-8B-GGUF/blob/main/Hermes-2-Theta-Llama-3-8B-IQ1_S.gguf) | IQ1_S | 2.01GB | Extremely low quality, *not* recommended. |
83
+
84
+ ## Downloading using huggingface-cli
85
+
86
+ First, make sure you have hugginface-cli installed:
87
+
88
+ ```
89
+ pip install -U "huggingface_hub[cli]"
90
+ ```
91
+
92
+ Then, you can target the specific file you want:
93
+
94
+ ```
95
+ huggingface-cli download bartowski/Hermes-2-Theta-Llama-3-8B-GGUF --include "Hermes-2-Theta-Llama-3-8B-Q4_K_M.gguf" --local-dir ./ --local-dir-use-symlinks False
96
+ ```
97
+
98
+ If the model is bigger than 50GB, it will have been split into multiple files. In order to download them all to a local folder, run:
99
+
100
+ ```
101
+ huggingface-cli download bartowski/Hermes-2-Theta-Llama-3-8B-GGUF --include "Hermes-2-Theta-Llama-3-8B-Q8_0.gguf/*" --local-dir Hermes-2-Theta-Llama-3-8B-Q8_0 --local-dir-use-symlinks False
102
+ ```
103
+
104
+ You can either specify a new local-dir (Hermes-2-Theta-Llama-3-8B-Q8_0) or download them all in place (./)
105
+
106
+ ## Which file should I choose?
107
+
108
+ A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
109
+
110
+ The first thing to figure out is how big a model you can run. To do this, you'll need to figure out how much RAM and/or VRAM you have.
111
+
112
+ If you want your model running as FAST as possible, you'll want to fit the whole thing on your GPU's VRAM. Aim for a quant with a file size 1-2GB smaller than your GPU's total VRAM.
113
+
114
+ If you want the absolute maximum quality, add both your system RAM and your GPU's VRAM together, then similarly grab a quant with a file size 1-2GB Smaller than that total.
115
+
116
+ Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
117
+
118
+ If you don't want to think too much, grab one of the K-quants. These are in format 'QX_K_X', like Q5_K_M.
119
+
120
+ If you want to get more into the weeds, you can check out this extremely useful feature chart:
121
+
122
+ [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
123
+
124
+ But basically, if you're aiming for below Q4, and you're running cuBLAS (Nvidia) or rocBLAS (AMD), you should look towards the I-quants. These are in format IQX_X, like IQ3_M. These are newer and offer better performance for their size.
125
+
126
+ These I-quants can also be used on CPU and Apple Metal, but will be slower than their K-quant equivalent, so speed vs performance is a tradeoff you'll have to decide.
127
+
128
+ The I-quants are *not* compatible with Vulcan, which is also AMD, so if you have an AMD card double check if you're using the rocBLAS build or the Vulcan build. At the time of writing this, LM Studio has a preview with ROCm support, and other inference engines have specific builds for ROCm.
129
+
130
+ Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski