bartowski commited on
Commit
4b642a8
1 Parent(s): 4286d6e

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