bartowski commited on
Commit
de5912b
1 Parent(s): 09909ae

Llamacpp quants

Browse files
.gitattributes CHANGED
@@ -33,3 +33,26 @@ 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
+ Llama-3-8B-Instruct-Gradient-1048k-IQ1_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ Llama-3-8B-Instruct-Gradient-1048k-IQ1_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ Llama-3-8B-Instruct-Gradient-1048k-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ Llama-3-8B-Instruct-Gradient-1048k-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ Llama-3-8B-Instruct-Gradient-1048k-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ Llama-3-8B-Instruct-Gradient-1048k-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ Llama-3-8B-Instruct-Gradient-1048k-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
43
+ Llama-3-8B-Instruct-Gradient-1048k-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
44
+ Llama-3-8B-Instruct-Gradient-1048k-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
45
+ Llama-3-8B-Instruct-Gradient-1048k-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
46
+ Llama-3-8B-Instruct-Gradient-1048k-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
47
+ Llama-3-8B-Instruct-Gradient-1048k-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
48
+ Llama-3-8B-Instruct-Gradient-1048k-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
49
+ Llama-3-8B-Instruct-Gradient-1048k-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
50
+ Llama-3-8B-Instruct-Gradient-1048k-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
51
+ Llama-3-8B-Instruct-Gradient-1048k-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
52
+ Llama-3-8B-Instruct-Gradient-1048k-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
53
+ Llama-3-8B-Instruct-Gradient-1048k-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
54
+ Llama-3-8B-Instruct-Gradient-1048k-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
55
+ Llama-3-8B-Instruct-Gradient-1048k-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
56
+ Llama-3-8B-Instruct-Gradient-1048k-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
57
+ Llama-3-8B-Instruct-Gradient-1048k-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
58
+ Llama-3-8B-Instruct-Gradient-1048k.imatrix filter=lfs diff=lfs merge=lfs -text
Llama-3-8B-Instruct-Gradient-1048k-IQ1_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed87dca01cc075f7d9b64348170255fc6d1f4027ce1da7d649d899ddca3e9f98
3
+ size 2161971808
Llama-3-8B-Instruct-Gradient-1048k-IQ1_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d37728f7df475cf90a5d62e7b7479267450848c7121271bd5beeb8647dfac1e
3
+ size 2019627616
Llama-3-8B-Instruct-Gradient-1048k-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7295f8c02cb19a697ae291ece61673a40b2270638d8184d0894755ea80a12552
3
+ size 2948280928
Llama-3-8B-Instruct-Gradient-1048k-IQ2_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f55e8cd271a7f47f5a6d9e553bb24e4b22f51b7d00367a598d4ae5718182950
3
+ size 2758488672
Llama-3-8B-Instruct-Gradient-1048k-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b06ee9529ec562de3b56d1ace3c791f0f294569def6ed33de456fc99bbb08560
3
+ size 2605781600
Llama-3-8B-Instruct-Gradient-1048k-IQ2_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29faefccf465844ec62060418d906454bc09e0b5b34d89183bf894e14ec2251c
3
+ size 2399212128
Llama-3-8B-Instruct-Gradient-1048k-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22cf2cae5b227c2410c7c1afa61dc664ac483bfe9d9d760bbccbd03702a6d2ca
3
+ size 3784823392
Llama-3-8B-Instruct-Gradient-1048k-IQ3_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8e23a29db16b6ce435397970adcca796ae59bddc3533fb11ab6523229e6d047
3
+ size 3682325088
Llama-3-8B-Instruct-Gradient-1048k-IQ3_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a23288807c8d5f1c65dda1b3104ff78ea4bca2041c37410ab592ab93c6454d9
3
+ size 3518747232
Llama-3-8B-Instruct-Gradient-1048k-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6cc061cf611d6cb52dfba3b14b47cbb4d4cd5e80a7ddab07c9a16d4f8226a5fa
3
+ size 3274912352
Llama-3-8B-Instruct-Gradient-1048k-IQ4_NL.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5f459ba47372bb54c37e5b5d9ebecfd65938b8de06edda8d5b67fd082e51cd7
3
+ size 4677988960
Llama-3-8B-Instruct-Gradient-1048k-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6edaa03003e7dbda97f69468662f3f638cd01c1001d3e18e105defb3262c351
3
+ size 4447662688
Llama-3-8B-Instruct-Gradient-1048k-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:845c26fe1d1c0758b751fa23a96cd05ba72e0a2dfc5851fbeb8318900312c18f
3
+ size 3179131488
Llama-3-8B-Instruct-Gradient-1048k-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c97e60bb61582f13862b1cc1216b883f26dc51f56f61ae291b0cc221d41de4a1
3
+ size 4321956448
Llama-3-8B-Instruct-Gradient-1048k-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce64f87327233316c26dd2d9588bf9e9f2750cf8936793ea5a80cd1f32b0e412
3
+ size 4018917984
Llama-3-8B-Instruct-Gradient-1048k-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9bd51c6b18c97d95641dd703c4ec27ad9631da21d86923bd3dd2c90f16facd82
3
+ size 3664499296
Llama-3-8B-Instruct-Gradient-1048k-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3abadede79ee42d371bedf70c3a8ac554b902cdec70ec0e1a83395ef278146ae
3
+ size 4920734304
Llama-3-8B-Instruct-Gradient-1048k-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fd6cb710c7790d938c37b95b97627e6b6778a18ca3a883d639930e2c616e033
3
+ size 4692669024
Llama-3-8B-Instruct-Gradient-1048k-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c7581d01e6d0b5c408f952424d1369eb47505e9fd2aed43dfe8b12f001573cea
3
+ size 5732987488
Llama-3-8B-Instruct-Gradient-1048k-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea9ae7c0b7d3c29480e5594c2e1c9aa4b0f67fe2e0cf7c073ef812fd58cfcfd8
3
+ size 5599294048
Llama-3-8B-Instruct-Gradient-1048k-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b89f6fe8a6745189715baed844c88b6b84b4ed4d3e329609a0775d5b8898df80
3
+ size 6596006496
Llama-3-8B-Instruct-Gradient-1048k-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8e8f8fd0d188b3f4f9970b0429caee5dd46d742b5e1a47b0f0bf147176c99c8
3
+ size 8540770912
Llama-3-8B-Instruct-Gradient-1048k.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:022e9ac9af158f1b4b1fcc7ef511ce7b257d00c4f700c7d82c76051653565ce3
3
+ size 4988166
README.md ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - meta
7
+ - llama-3
8
+ license: llama3
9
+ quantized_by: bartowski
10
+ ---
11
+
12
+ ## Llamacpp imatrix Quantizations of Llama-3-8B-Instruct-Gradient-1048k
13
+
14
+ Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b2777">b2777</a> for quantization.
15
+
16
+ Original model: https://huggingface.co/gradientai/Llama-3-8B-Instruct-Gradient-1048k
17
+
18
+ All quants made using imatrix option with dataset provided by Kalomaze [here](https://github.com/ggerganov/llama.cpp/discussions/5263#discussioncomment-8395384)
19
+
20
+ ## Prompt format
21
+
22
+ ```
23
+ <|begin_of_text|><|start_header_id|>system<|end_header_id|>
24
+
25
+ {system_prompt}<|eot_id|><|start_header_id|>user<|end_header_id|>
26
+
27
+ {prompt}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
28
+
29
+
30
+ ```
31
+
32
+ ## Download a file (not the whole branch) from below:
33
+
34
+ | Filename | Quant type | File Size | Description |
35
+ | -------- | ---------- | --------- | ----------- |
36
+ | [Llama-3-8B-Instruct-Gradient-1048k-Q8_0.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Gradient-1048k-GGUF/blob/main/Llama-3-8B-Instruct-Gradient-1048k-Q8_0.gguf) | Q8_0 | 8.54GB | Extremely high quality, generally unneeded but max available quant. |
37
+ | [Llama-3-8B-Instruct-Gradient-1048k-Q6_K.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Gradient-1048k-GGUF/blob/main/Llama-3-8B-Instruct-Gradient-1048k-Q6_K.gguf) | Q6_K | 6.59GB | Very high quality, near perfect, *recommended*. |
38
+ | [Llama-3-8B-Instruct-Gradient-1048k-Q5_K_M.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Gradient-1048k-GGUF/blob/main/Llama-3-8B-Instruct-Gradient-1048k-Q5_K_M.gguf) | Q5_K_M | 5.73GB | High quality, *recommended*. |
39
+ | [Llama-3-8B-Instruct-Gradient-1048k-Q5_K_S.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Gradient-1048k-GGUF/blob/main/Llama-3-8B-Instruct-Gradient-1048k-Q5_K_S.gguf) | Q5_K_S | 5.59GB | High quality, *recommended*. |
40
+ | [Llama-3-8B-Instruct-Gradient-1048k-Q4_K_M.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Gradient-1048k-GGUF/blob/main/Llama-3-8B-Instruct-Gradient-1048k-Q4_K_M.gguf) | Q4_K_M | 4.92GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
41
+ | [Llama-3-8B-Instruct-Gradient-1048k-Q4_K_S.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Gradient-1048k-GGUF/blob/main/Llama-3-8B-Instruct-Gradient-1048k-Q4_K_S.gguf) | Q4_K_S | 4.69GB | Slightly lower quality with more space savings, *recommended*. |
42
+ | [Llama-3-8B-Instruct-Gradient-1048k-IQ4_NL.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Gradient-1048k-GGUF/blob/main/Llama-3-8B-Instruct-Gradient-1048k-IQ4_NL.gguf) | IQ4_NL | 4.67GB | Decent quality, slightly smaller than Q4_K_S with similar performance *recommended*. |
43
+ | [Llama-3-8B-Instruct-Gradient-1048k-IQ4_XS.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Gradient-1048k-GGUF/blob/main/Llama-3-8B-Instruct-Gradient-1048k-IQ4_XS.gguf) | IQ4_XS | 4.44GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
44
+ | [Llama-3-8B-Instruct-Gradient-1048k-Q3_K_L.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Gradient-1048k-GGUF/blob/main/Llama-3-8B-Instruct-Gradient-1048k-Q3_K_L.gguf) | Q3_K_L | 4.32GB | Lower quality but usable, good for low RAM availability. |
45
+ | [Llama-3-8B-Instruct-Gradient-1048k-Q3_K_M.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Gradient-1048k-GGUF/blob/main/Llama-3-8B-Instruct-Gradient-1048k-Q3_K_M.gguf) | Q3_K_M | 4.01GB | Even lower quality. |
46
+ | [Llama-3-8B-Instruct-Gradient-1048k-IQ3_M.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Gradient-1048k-GGUF/blob/main/Llama-3-8B-Instruct-Gradient-1048k-IQ3_M.gguf) | IQ3_M | 3.78GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
47
+ | [Llama-3-8B-Instruct-Gradient-1048k-IQ3_S.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Gradient-1048k-GGUF/blob/main/Llama-3-8B-Instruct-Gradient-1048k-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. |
48
+ | [Llama-3-8B-Instruct-Gradient-1048k-Q3_K_S.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Gradient-1048k-GGUF/blob/main/Llama-3-8B-Instruct-Gradient-1048k-Q3_K_S.gguf) | Q3_K_S | 3.66GB | Low quality, not recommended. |
49
+ | [Llama-3-8B-Instruct-Gradient-1048k-IQ3_XS.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Gradient-1048k-GGUF/blob/main/Llama-3-8B-Instruct-Gradient-1048k-IQ3_XS.gguf) | IQ3_XS | 3.51GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
50
+ | [Llama-3-8B-Instruct-Gradient-1048k-IQ3_XXS.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Gradient-1048k-GGUF/blob/main/Llama-3-8B-Instruct-Gradient-1048k-IQ3_XXS.gguf) | IQ3_XXS | 3.27GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
51
+ | [Llama-3-8B-Instruct-Gradient-1048k-Q2_K.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Gradient-1048k-GGUF/blob/main/Llama-3-8B-Instruct-Gradient-1048k-Q2_K.gguf) | Q2_K | 3.17GB | Very low quality but surprisingly usable. |
52
+ | [Llama-3-8B-Instruct-Gradient-1048k-IQ2_M.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Gradient-1048k-GGUF/blob/main/Llama-3-8B-Instruct-Gradient-1048k-IQ2_M.gguf) | IQ2_M | 2.94GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
53
+ | [Llama-3-8B-Instruct-Gradient-1048k-IQ2_S.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Gradient-1048k-GGUF/blob/main/Llama-3-8B-Instruct-Gradient-1048k-IQ2_S.gguf) | IQ2_S | 2.75GB | Very low quality, uses SOTA techniques to be usable. |
54
+ | [Llama-3-8B-Instruct-Gradient-1048k-IQ2_XS.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Gradient-1048k-GGUF/blob/main/Llama-3-8B-Instruct-Gradient-1048k-IQ2_XS.gguf) | IQ2_XS | 2.60GB | Very low quality, uses SOTA techniques to be usable. |
55
+ | [Llama-3-8B-Instruct-Gradient-1048k-IQ2_XXS.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Gradient-1048k-GGUF/blob/main/Llama-3-8B-Instruct-Gradient-1048k-IQ2_XXS.gguf) | IQ2_XXS | 2.39GB | Lower quality, uses SOTA techniques to be usable. |
56
+ | [Llama-3-8B-Instruct-Gradient-1048k-IQ1_M.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Gradient-1048k-GGUF/blob/main/Llama-3-8B-Instruct-Gradient-1048k-IQ1_M.gguf) | IQ1_M | 2.16GB | Extremely low quality, *not* recommended. |
57
+ | [Llama-3-8B-Instruct-Gradient-1048k-IQ1_S.gguf](https://huggingface.co/bartowski/Llama-3-8B-Instruct-Gradient-1048k-GGUF/blob/main/Llama-3-8B-Instruct-Gradient-1048k-IQ1_S.gguf) | IQ1_S | 2.01GB | Extremely low quality, *not* recommended. |
58
+
59
+ ## Downloading using huggingface-cli
60
+
61
+ First, make sure you have hugginface-cli installed:
62
+
63
+ ```
64
+ pip install -U "huggingface_hub[cli]"
65
+ ```
66
+
67
+ Then, you can target the specific file you want:
68
+
69
+ ```
70
+ huggingface-cli download bartowski/Llama-3-8B-Instruct-Gradient-1048k-GGUF --include "Llama-3-8B-Instruct-Gradient-1048k-Q4_K_M.gguf" --local-dir ./ --local-dir-use-symlinks False
71
+ ```
72
+
73
+ 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:
74
+
75
+ ```
76
+ huggingface-cli download bartowski/Llama-3-8B-Instruct-Gradient-1048k-GGUF --include "Llama-3-8B-Instruct-Gradient-1048k-Q8_0.gguf/*" --local-dir Llama-3-8B-Instruct-Gradient-1048k-Q8_0 --local-dir-use-symlinks False
77
+ ```
78
+
79
+ You can either specify a new local-dir (Llama-3-8B-Instruct-Gradient-1048k-Q8_0) or download them all in place (./)
80
+
81
+ ## Which file should I choose?
82
+
83
+ A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
84
+
85
+ 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.
86
+
87
+ 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.
88
+
89
+ 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.
90
+
91
+ Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
92
+
93
+ 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.
94
+
95
+ If you want to get more into the weeds, you can check out this extremely useful feature chart:
96
+
97
+ [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
98
+
99
+ 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.
100
+
101
+ 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.
102
+
103
+ 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.
104
+
105
+ Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski