bartowski commited on
Commit
c9e9d86
1 Parent(s): e5614ec

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
+ Llama-3-Perky-Pat-Instruct-8B-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ Llama-3-Perky-Pat-Instruct-8B-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ Llama-3-Perky-Pat-Instruct-8B-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
39
+ Llama-3-Perky-Pat-Instruct-8B-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
40
+ Llama-3-Perky-Pat-Instruct-8B-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ Llama-3-Perky-Pat-Instruct-8B-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ Llama-3-Perky-Pat-Instruct-8B-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
43
+ Llama-3-Perky-Pat-Instruct-8B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
44
+ Llama-3-Perky-Pat-Instruct-8B-Q2_K_L.gguf filter=lfs diff=lfs merge=lfs -text
45
+ Llama-3-Perky-Pat-Instruct-8B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
46
+ Llama-3-Perky-Pat-Instruct-8B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
47
+ Llama-3-Perky-Pat-Instruct-8B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
48
+ Llama-3-Perky-Pat-Instruct-8B-Q3_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
49
+ Llama-3-Perky-Pat-Instruct-8B-Q4_K_L.gguf filter=lfs diff=lfs merge=lfs -text
50
+ Llama-3-Perky-Pat-Instruct-8B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
51
+ Llama-3-Perky-Pat-Instruct-8B-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
52
+ Llama-3-Perky-Pat-Instruct-8B-Q5_K_L.gguf filter=lfs diff=lfs merge=lfs -text
53
+ Llama-3-Perky-Pat-Instruct-8B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
54
+ Llama-3-Perky-Pat-Instruct-8B-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
55
+ Llama-3-Perky-Pat-Instruct-8B-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
56
+ Llama-3-Perky-Pat-Instruct-8B-Q6_K_L.gguf filter=lfs diff=lfs merge=lfs -text
57
+ Llama-3-Perky-Pat-Instruct-8B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
58
+ Llama-3-Perky-Pat-Instruct-8B-f32.gguf filter=lfs diff=lfs merge=lfs -text
59
+ Llama-3-Perky-Pat-Instruct-8B.imatrix filter=lfs diff=lfs merge=lfs -text
Llama-3-Perky-Pat-Instruct-8B-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:842b9133ca668d082b867724bbf893c0e78386359020abb8d2ef2ce3f42e548b
3
+ size 2948280896
Llama-3-Perky-Pat-Instruct-8B-IQ2_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:400b8073e41ad042fc6d19374d0171a0c4fecc3de92c2b50bad6788182af8eb6
3
+ size 2758488640
Llama-3-Perky-Pat-Instruct-8B-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9d928ed5d581c57a484e464a5a8065cd433de50481fe7f54ed23c3925336b52
3
+ size 2605781568
Llama-3-Perky-Pat-Instruct-8B-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e161a01651b82a1bb6d6901fa21f6dc5880b9f6d392e32e2712220dfd171617
3
+ size 3784823360
Llama-3-Perky-Pat-Instruct-8B-IQ3_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f85fbe6db42ed3a0eb79f8c92ededc91ae287585d0d5221dac392bdd00ff900f
3
+ size 3518747200
Llama-3-Perky-Pat-Instruct-8B-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc21d49d374bbd843f479e1eadd45a18981eb185bebfd16dd6b071c4dab997fa
3
+ size 3274912320
Llama-3-Perky-Pat-Instruct-8B-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c67daefd647c5e7397f40e17381b2e3b4a764060b6bfdc13a2de2ee62bc1c2f
3
+ size 4447662656
Llama-3-Perky-Pat-Instruct-8B-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8bfd0b00b49a227d4170349900dfa457801386f319db4e125b3954db40e6caf5
3
+ size 3179131456
Llama-3-Perky-Pat-Instruct-8B-Q2_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39b3e51c525f419450b6e920b5798d0cc12637c8c1edb9683d64bd5602dc6fba
3
+ size 3692155456
Llama-3-Perky-Pat-Instruct-8B-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6652e5cfa377ade011be223e97ae93ab7bc5098743781b093718f65aa6566006
3
+ size 4321956416
Llama-3-Perky-Pat-Instruct-8B-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:723e5c5f835c61e9b33668d372e623f00cc4852d4084e3da35c6f49fd9b5eb9c
3
+ size 4018917952
Llama-3-Perky-Pat-Instruct-8B-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67f00bdf32ad95ebcc4a040c3b5ae935d5d56e09aba51deb9b41ad3460f88291
3
+ size 3664499264
Llama-3-Perky-Pat-Instruct-8B-Q3_K_XL.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:012233133918f37013fbcb9d2411005ae8f61c25b66f1a8e17e23c37228879b5
3
+ size 4781625920
Llama-3-Perky-Pat-Instruct-8B-Q4_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee618ac9b3d650c890bcb9d5a5e15bc5b907e8aa820ddbe6b184e9f207e24c4c
3
+ size 5310632512
Llama-3-Perky-Pat-Instruct-8B-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0eae5d9d58a7101a30693c267097a90f4a005c81fda801b40ab2c25e788a93e
3
+ size 4920734272
Llama-3-Perky-Pat-Instruct-8B-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c2b0ee6461d668873863d4a08181009adbf0f9e9e357a2e5a4945d795d09c77
3
+ size 4692668992
Llama-3-Perky-Pat-Instruct-8B-Q5_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cee3588ed9bbc2c9325c503cdf1f91af2036932fee9177a21d3de2da58a5fdda
3
+ size 6057218624
Llama-3-Perky-Pat-Instruct-8B-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80277c973df507d59cfd618a38c13bec997c10db4de5fcb816f131d7af040c11
3
+ size 5732987456
Llama-3-Perky-Pat-Instruct-8B-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17865fe6cca5ee4c7e19a8d93e0af09511df7930240c34ab6376d088262933fe
3
+ size 5599294016
Llama-3-Perky-Pat-Instruct-8B-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa0a6933b5a2bd9eec1eaa0cd1fcf5885844c8e5eb33684e2b327f5523871370
3
+ size 6596006464
Llama-3-Perky-Pat-Instruct-8B-Q6_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1a927dfe0d130ec4ebb389bf52f2f1db2c2cd4c45d5a2dba45bdd28af82ea08
3
+ size 6850466368
Llama-3-Perky-Pat-Instruct-8B-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e43c81c72b79175fdb26762f306e2e6d88cd679e6a9f31823eded9a0dcf3738
3
+ size 8540770880
Llama-3-Perky-Pat-Instruct-8B-f32.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3c3fd863dd4de95684e714fb4f6b54d052d8f0734313fb1ddd61743f4fceb89
3
+ size 32128880928
Llama-3-Perky-Pat-Instruct-8B.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e78ced01a791643e92bef63a0bb499e51fd91d82ff352363f07eedeaf32f1208
3
+ size 4988171
README.md ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model:
3
+ - meta-llama/Meta-Llama-3-8B-Instruct
4
+ - failspy/Llama-3-8B-Instruct-MopeyMule
5
+ library_name: transformers
6
+ tags:
7
+ - mergekit
8
+ - merge
9
+ license: llama3
10
+ pipeline_tag: text-generation
11
+ quantized_by: bartowski
12
+ ---
13
+
14
+ ## Llamacpp imatrix Quantizations of Llama-3-Perky-Pat-Instruct-8B
15
+
16
+ Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b3291">b3291</a> for quantization.
17
+
18
+ Original model: https://huggingface.co/grimjim/Llama-3-Perky-Pat-Instruct-8B
19
+
20
+ All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8)
21
+
22
+ ## Prompt format
23
+
24
+ ```
25
+ <|begin_of_text|><|start_header_id|>system<|end_header_id|>
26
+
27
+ {system_prompt}<|eot_id|><|start_header_id|>user<|end_header_id|>
28
+
29
+ {prompt}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
30
+
31
+
32
+ ```
33
+
34
+ ## Download a file (not the whole branch) from below:
35
+
36
+ | Filename | Quant type | File Size | Description |
37
+ | -------- | ---------- | --------- | ----------- |
38
+ | [Llama-3-Perky-Pat-Instruct-8B-Q8_0.gguf](https://huggingface.co/bartowski/Llama-3-Perky-Pat-Instruct-8B-GGUF/blob/main/Llama-3-Perky-Pat-Instruct-8B-Q8_0.gguf) | Q8_0 | 8.54GB | Extremely high quality, generally unneeded but max available quant. |
39
+ | [Llama-3-Perky-Pat-Instruct-8B-Q6_K_L.gguf](https://huggingface.co/bartowski/Llama-3-Perky-Pat-Instruct-8B-GGUF/blob/main/Llama-3-Perky-Pat-Instruct-8B-Q6_K_L.gguf) | Q6_K_L | 6.85GB | Uses Q8_0 for embed and output weights. Very high quality, near perfect, *recommended*. |
40
+ | [Llama-3-Perky-Pat-Instruct-8B-Q6_K.gguf](https://huggingface.co/bartowski/Llama-3-Perky-Pat-Instruct-8B-GGUF/blob/main/Llama-3-Perky-Pat-Instruct-8B-Q6_K.gguf) | Q6_K | 6.59GB | Very high quality, near perfect, *recommended*. |
41
+ | [Llama-3-Perky-Pat-Instruct-8B-Q5_K_L.gguf](https://huggingface.co/bartowski/Llama-3-Perky-Pat-Instruct-8B-GGUF/blob/main/Llama-3-Perky-Pat-Instruct-8B-Q5_K_L.gguf) | Q5_K_L | 6.05GB | Uses Q8_0 for embed and output weights. High quality, *recommended*. |
42
+ | [Llama-3-Perky-Pat-Instruct-8B-Q5_K_M.gguf](https://huggingface.co/bartowski/Llama-3-Perky-Pat-Instruct-8B-GGUF/blob/main/Llama-3-Perky-Pat-Instruct-8B-Q5_K_M.gguf) | Q5_K_M | 5.73GB | High quality, *recommended*. |
43
+ | [Llama-3-Perky-Pat-Instruct-8B-Q5_K_S.gguf](https://huggingface.co/bartowski/Llama-3-Perky-Pat-Instruct-8B-GGUF/blob/main/Llama-3-Perky-Pat-Instruct-8B-Q5_K_S.gguf) | Q5_K_S | 5.59GB | High quality, *recommended*. |
44
+ | [Llama-3-Perky-Pat-Instruct-8B-Q4_K_L.gguf](https://huggingface.co/bartowski/Llama-3-Perky-Pat-Instruct-8B-GGUF/blob/main/Llama-3-Perky-Pat-Instruct-8B-Q4_K_L.gguf) | Q4_K_L | 5.31GB | Uses Q8_0 for embed and output weights. Good quality, uses about 4.83 bits per weight, *recommended*. |
45
+ | [Llama-3-Perky-Pat-Instruct-8B-Q4_K_M.gguf](https://huggingface.co/bartowski/Llama-3-Perky-Pat-Instruct-8B-GGUF/blob/main/Llama-3-Perky-Pat-Instruct-8B-Q4_K_M.gguf) | Q4_K_M | 4.92GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
46
+ | [Llama-3-Perky-Pat-Instruct-8B-Q4_K_S.gguf](https://huggingface.co/bartowski/Llama-3-Perky-Pat-Instruct-8B-GGUF/blob/main/Llama-3-Perky-Pat-Instruct-8B-Q4_K_S.gguf) | Q4_K_S | 4.69GB | Slightly lower quality with more space savings, *recommended*. |
47
+ | [Llama-3-Perky-Pat-Instruct-8B-IQ4_XS.gguf](https://huggingface.co/bartowski/Llama-3-Perky-Pat-Instruct-8B-GGUF/blob/main/Llama-3-Perky-Pat-Instruct-8B-IQ4_XS.gguf) | IQ4_XS | 4.44GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
48
+ | [Llama-3-Perky-Pat-Instruct-8B-Q3_K_XL.gguf](https://huggingface.co/bartowski/Llama-3-Perky-Pat-Instruct-8B-GGUF/blob/main/Llama-3-Perky-Pat-Instruct-8B-Q3_K_XL.gguf) | Q3_K_XL | 4.78GB | Uses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability. |
49
+ | [Llama-3-Perky-Pat-Instruct-8B-Q3_K_L.gguf](https://huggingface.co/bartowski/Llama-3-Perky-Pat-Instruct-8B-GGUF/blob/main/Llama-3-Perky-Pat-Instruct-8B-Q3_K_L.gguf) | Q3_K_L | 4.32GB | Lower quality but usable, good for low RAM availability. |
50
+ | [Llama-3-Perky-Pat-Instruct-8B-Q3_K_M.gguf](https://huggingface.co/bartowski/Llama-3-Perky-Pat-Instruct-8B-GGUF/blob/main/Llama-3-Perky-Pat-Instruct-8B-Q3_K_M.gguf) | Q3_K_M | 4.01GB | Even lower quality. |
51
+ | [Llama-3-Perky-Pat-Instruct-8B-IQ3_M.gguf](https://huggingface.co/bartowski/Llama-3-Perky-Pat-Instruct-8B-GGUF/blob/main/Llama-3-Perky-Pat-Instruct-8B-IQ3_M.gguf) | IQ3_M | 3.78GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
52
+ | [Llama-3-Perky-Pat-Instruct-8B-Q3_K_S.gguf](https://huggingface.co/bartowski/Llama-3-Perky-Pat-Instruct-8B-GGUF/blob/main/Llama-3-Perky-Pat-Instruct-8B-Q3_K_S.gguf) | Q3_K_S | 3.66GB | Low quality, not recommended. |
53
+ | [Llama-3-Perky-Pat-Instruct-8B-IQ3_XS.gguf](https://huggingface.co/bartowski/Llama-3-Perky-Pat-Instruct-8B-GGUF/blob/main/Llama-3-Perky-Pat-Instruct-8B-IQ3_XS.gguf) | IQ3_XS | 3.51GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
54
+ | [Llama-3-Perky-Pat-Instruct-8B-IQ3_XXS.gguf](https://huggingface.co/bartowski/Llama-3-Perky-Pat-Instruct-8B-GGUF/blob/main/Llama-3-Perky-Pat-Instruct-8B-IQ3_XXS.gguf) | IQ3_XXS | 3.27GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
55
+ | [Llama-3-Perky-Pat-Instruct-8B-Q2_K_L.gguf](https://huggingface.co/bartowski/Llama-3-Perky-Pat-Instruct-8B-GGUF/blob/main/Llama-3-Perky-Pat-Instruct-8B-Q2_K_L.gguf) | Q2_K_L | 3.69GB | Uses Q8_0 for embed and output weights. Very low quality but surprisingly usable. |
56
+ | [Llama-3-Perky-Pat-Instruct-8B-Q2_K.gguf](https://huggingface.co/bartowski/Llama-3-Perky-Pat-Instruct-8B-GGUF/blob/main/Llama-3-Perky-Pat-Instruct-8B-Q2_K.gguf) | Q2_K | 3.17GB | Very low quality but surprisingly usable. |
57
+ | [Llama-3-Perky-Pat-Instruct-8B-IQ2_M.gguf](https://huggingface.co/bartowski/Llama-3-Perky-Pat-Instruct-8B-GGUF/blob/main/Llama-3-Perky-Pat-Instruct-8B-IQ2_M.gguf) | IQ2_M | 2.94GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
58
+ | [Llama-3-Perky-Pat-Instruct-8B-IQ2_S.gguf](https://huggingface.co/bartowski/Llama-3-Perky-Pat-Instruct-8B-GGUF/blob/main/Llama-3-Perky-Pat-Instruct-8B-IQ2_S.gguf) | IQ2_S | 2.75GB | Very low quality, uses SOTA techniques to be usable. |
59
+ | [Llama-3-Perky-Pat-Instruct-8B-IQ2_XS.gguf](https://huggingface.co/bartowski/Llama-3-Perky-Pat-Instruct-8B-GGUF/blob/main/Llama-3-Perky-Pat-Instruct-8B-IQ2_XS.gguf) | IQ2_XS | 2.60GB | Very low quality, uses SOTA techniques to be usable. |
60
+
61
+ ## Credits
62
+
63
+ Thank you kalomaze and Dampf for assistance in creating the imatrix calibration dataset
64
+
65
+ Thank you ZeroWw for the inspiration to experiment with embed/output
66
+
67
+ ## Downloading using huggingface-cli
68
+
69
+ First, make sure you have hugginface-cli installed:
70
+
71
+ ```
72
+ pip install -U "huggingface_hub[cli]"
73
+ ```
74
+
75
+ Then, you can target the specific file you want:
76
+
77
+ ```
78
+ huggingface-cli download bartowski/Llama-3-Perky-Pat-Instruct-8B-GGUF --include "Llama-3-Perky-Pat-Instruct-8B-Q4_K_M.gguf" --local-dir ./
79
+ ```
80
+
81
+ 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:
82
+
83
+ ```
84
+ huggingface-cli download bartowski/Llama-3-Perky-Pat-Instruct-8B-GGUF --include "Llama-3-Perky-Pat-Instruct-8B-Q8_0.gguf/*" --local-dir Llama-3-Perky-Pat-Instruct-8B-Q8_0
85
+ ```
86
+
87
+ You can either specify a new local-dir (Llama-3-Perky-Pat-Instruct-8B-Q8_0) or download them all in place (./)
88
+
89
+ ## Which file should I choose?
90
+
91
+ A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
92
+
93
+ 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.
94
+
95
+ 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.
96
+
97
+ 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.
98
+
99
+ Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
100
+
101
+ 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.
102
+
103
+ If you want to get more into the weeds, you can check out this extremely useful feature chart:
104
+
105
+ [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
106
+
107
+ 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.
108
+
109
+ 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.
110
+
111
+ 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.
112
+
113
+ Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski