bartowski commited on
Commit
36016eb
1 Parent(s): 3463643

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
+ MadWizard-SFT-v2-Mistral-7b-v0.3-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
37
+ MadWizard-SFT-v2-Mistral-7b-v0.3-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
38
+ MadWizard-SFT-v2-Mistral-7b-v0.3-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
39
+ MadWizard-SFT-v2-Mistral-7b-v0.3-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
40
+ MadWizard-SFT-v2-Mistral-7b-v0.3-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
41
+ MadWizard-SFT-v2-Mistral-7b-v0.3-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
42
+ MadWizard-SFT-v2-Mistral-7b-v0.3-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
43
+ MadWizard-SFT-v2-Mistral-7b-v0.3-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
44
+ MadWizard-SFT-v2-Mistral-7b-v0.3-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
45
+ MadWizard-SFT-v2-Mistral-7b-v0.3-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
46
+ MadWizard-SFT-v2-Mistral-7b-v0.3-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
47
+ MadWizard-SFT-v2-Mistral-7b-v0.3-Q4_K_L.gguf filter=lfs diff=lfs merge=lfs -text
48
+ MadWizard-SFT-v2-Mistral-7b-v0.3-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
49
+ MadWizard-SFT-v2-Mistral-7b-v0.3-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
50
+ MadWizard-SFT-v2-Mistral-7b-v0.3-Q5_K_L.gguf filter=lfs diff=lfs merge=lfs -text
51
+ MadWizard-SFT-v2-Mistral-7b-v0.3-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
52
+ MadWizard-SFT-v2-Mistral-7b-v0.3-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
53
+ MadWizard-SFT-v2-Mistral-7b-v0.3-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
54
+ MadWizard-SFT-v2-Mistral-7b-v0.3-Q6_K_L.gguf filter=lfs diff=lfs merge=lfs -text
55
+ MadWizard-SFT-v2-Mistral-7b-v0.3-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
56
+ MadWizard-SFT-v2-Mistral-7b-v0.3-Q8_1.gguf filter=lfs diff=lfs merge=lfs -text
57
+ MadWizard-SFT-v2-Mistral-7b-v0.3-f32.gguf filter=lfs diff=lfs merge=lfs -text
58
+ MadWizard-SFT-v2-Mistral-7b-v0.3.imatrix filter=lfs diff=lfs merge=lfs -text
MadWizard-SFT-v2-Mistral-7b-v0.3-IQ2_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e544b303bbdc4704c45e1069f20a0b99866ecd2d29668355e410a3f036aa3443
3
+ size 2504258624
MadWizard-SFT-v2-Mistral-7b-v0.3-IQ2_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d14dc676b6203b27c5eacde2fe5b49a95675fb2daa6de50e435eeae99d4ea11
3
+ size 2314466368
MadWizard-SFT-v2-Mistral-7b-v0.3-IQ2_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1679ec6cff3695515c45dddd099dd8a70050f54b48e2c63f02ca59e5dd547cf3
3
+ size 2201481472
MadWizard-SFT-v2-Mistral-7b-v0.3-IQ3_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f08eb658510fb35fd6ac67a18a0fb5d485aa458994c88a6be3a2b91686e55eb6
3
+ size 3288856704
MadWizard-SFT-v2-Mistral-7b-v0.3-IQ3_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00e670e8fa3d874cea790ef35cae68d39f2dd97d6885d207a150c317fb34b8b7
3
+ size 3022780544
MadWizard-SFT-v2-Mistral-7b-v0.3-IQ3_XXS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3bbd15aed61d5f3f9038c8dcde5c9028460fa1eb61a2295c015af285d8a6c377
3
+ size 2830890048
MadWizard-SFT-v2-Mistral-7b-v0.3-IQ4_XS.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c640211d5ab9395d65d0e0c08dde6e3fc27c2ff57477998546eda0c1fb2295cc
3
+ size 3911973824
MadWizard-SFT-v2-Mistral-7b-v0.3-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ace8a428c0b65b958a243f06345d651e2ed2834e3409c7dfee43519e8f7f1f60
3
+ size 2722886976
MadWizard-SFT-v2-Mistral-7b-v0.3-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fd83c665047641493bb067cfc97985054520b38a54555467b1dedf97a356eb2
3
+ size 3825989760
MadWizard-SFT-v2-Mistral-7b-v0.3-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57b9567cbd95e792acec1a6527461c2628d918fd42a0979252606ee0288140aa
3
+ size 3522951296
MadWizard-SFT-v2-Mistral-7b-v0.3-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e96ebedbdc36d978af3d6deeb6745bceb88c695671f61967608643ecc17fd88f
3
+ size 3168532608
MadWizard-SFT-v2-Mistral-7b-v0.3-Q4_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:811df6ea2d643537e8299e161579b7e7cbaa82104eae616563e5c642a27ca0ca
3
+ size 4724117632
MadWizard-SFT-v2-Mistral-7b-v0.3-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad54972b53e6337df5c4b5522c799b731c55b8e4eb70330a0ba3e2c739df9106
3
+ size 4372823232
MadWizard-SFT-v2-Mistral-7b-v0.3-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2caf85ebe115fd21841fb34150f718fe8c93fc9a0df63bd2f3b566a22d9bbb5
3
+ size 4144757952
MadWizard-SFT-v2-Mistral-7b-v0.3-Q5_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ccf3f50681b50fc202cd18f643035ad0d6f6a0cbce0e8992a19d752ca0790042
3
+ size 5470703744
MadWizard-SFT-v2-Mistral-7b-v0.3-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8c8b9dbddda4b243b3fd51e5a6523e950bb317504ea5e4ea15b6460e8921c85
3
+ size 5136187584
MadWizard-SFT-v2-Mistral-7b-v0.3-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3582e23ae65fa03bc061e993f166942bd9dd34d6e4b263354f35a3e5b1372bfe
3
+ size 5002494144
MadWizard-SFT-v2-Mistral-7b-v0.3-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:301c8192051b5fd400bffcc89d1112f46c04ef6461c60ca8aaf4d317d51444d0
3
+ size 5947262208
MadWizard-SFT-v2-Mistral-7b-v0.3-Q6_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23b031e494fca4088648b406bc8a55ac3afc667f57d45ab9e41c98cd186ad815
3
+ size 6263951488
MadWizard-SFT-v2-Mistral-7b-v0.3-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40b222ec0afa3ac77bb81345ab7c16af37352717cfc066fcaad73526b33d38c7
3
+ size 7702582400
MadWizard-SFT-v2-Mistral-7b-v0.3-Q8_1.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd1f756df2e7308f166103005486bcf84990cdd6554d15eaa157283d7d3816ed
3
+ size 7954256000
MadWizard-SFT-v2-Mistral-7b-v0.3-f32.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca2fe92e572c1f4926e3be4f37182250bb277cb815d2aa0582e3b1b6de92226d
3
+ size 28992917344
MadWizard-SFT-v2-Mistral-7b-v0.3.imatrix ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c497edd26c6710fb3c9b59f8f414b5a3a6b32f8d916ec706aa39a87c9139a9ad
3
+ size 4988171
README.md ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ tags: []
4
+ quantized_by: bartowski
5
+ pipeline_tag: text-generation
6
+ ---
7
+
8
+ ## Llamacpp imatrix Quantizations of MadWizard-SFT-v2-Mistral-7b-v0.3
9
+
10
+ Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b3152">b3152</a> for quantization.
11
+
12
+ Original model: https://huggingface.co/Lumpen1/MadWizard-SFT-v2-Mistral-7b-v0.3
13
+
14
+ All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8)
15
+
16
+ ## Prompt format
17
+
18
+ ```
19
+ <|im_start|> system
20
+ {system_prompt}<|im_end|>
21
+ <|im_start|> user
22
+ {prompt}<|im_end|>
23
+ <|im_start|> assistant
24
+
25
+ ```
26
+
27
+ ## Download a file (not the whole branch) from below:
28
+
29
+ | Filename | Quant type | File Size | Description |
30
+ | -------- | ---------- | --------- | ----------- |
31
+ | [MadWizard-SFT-v2-Mistral-7b-v0.3-Q8_1.gguf](https://huggingface.co/bartowski/MadWizard-SFT-v2-Mistral-7b-v0.3-GGUF/blob/main/MadWizard-SFT-v2-Mistral-7b-v0.3-Q8_1.gguf) | Q8_1 | 7.95GB | *Experimental*, uses f16 for embed and output weights. Please provide any feedback of differences. Extremely high quality, generally unneeded but max available quant. |
32
+ | [MadWizard-SFT-v2-Mistral-7b-v0.3-Q8_0.gguf](https://huggingface.co/bartowski/MadWizard-SFT-v2-Mistral-7b-v0.3-GGUF/blob/main/MadWizard-SFT-v2-Mistral-7b-v0.3-Q8_0.gguf) | Q8_0 | 7.70GB | Extremely high quality, generally unneeded but max available quant. |
33
+ | [MadWizard-SFT-v2-Mistral-7b-v0.3-Q6_K_L.gguf](https://huggingface.co/bartowski/MadWizard-SFT-v2-Mistral-7b-v0.3-GGUF//main/MadWizard-SFT-v2-Mistral-7b-v0.3-Q6_K_L.gguf) | Q6_K_L | 6.26GB | *Experimental*, uses f16 for embed and output weights. Please provide any feedback of differences. Very high quality, near perfect, *recommended*. |
34
+ | [MadWizard-SFT-v2-Mistral-7b-v0.3-Q6_K.gguf](https://huggingface.co/bartowski/MadWizard-SFT-v2-Mistral-7b-v0.3-GGUF/blob/main/MadWizard-SFT-v2-Mistral-7b-v0.3-Q6_K.gguf) | Q6_K | 5.94GB | Very high quality, near perfect, *recommended*. |
35
+ | [MadWizard-SFT-v2-Mistral-7b-v0.3-Q5_K_L.gguf](https://huggingface.co/bartowski/MadWizard-SFT-v2-Mistral-7b-v0.3-GGUF/blob/main/MadWizard-SFT-v2-Mistral-7b-v0.3-Q5_K_L.gguf) | Q5_K_L | 5.47GB | *Experimental*, uses f16 for embed and output weights. Please provide any feedback of differences. High quality, *recommended*. |
36
+ | [MadWizard-SFT-v2-Mistral-7b-v0.3-Q5_K_M.gguf](https://huggingface.co/bartowski/MadWizard-SFT-v2-Mistral-7b-v0.3-GGUF/blob/main/MadWizard-SFT-v2-Mistral-7b-v0.3-Q5_K_M.gguf) | Q5_K_M | 5.13GB | High quality, *recommended*. |
37
+ | [MadWizard-SFT-v2-Mistral-7b-v0.3-Q5_K_S.gguf](https://huggingface.co/bartowski/MadWizard-SFT-v2-Mistral-7b-v0.3-GGUF/blob/main/MadWizard-SFT-v2-Mistral-7b-v0.3-Q5_K_S.gguf) | Q5_K_S | 5.00GB | High quality, *recommended*. |
38
+ | [MadWizard-SFT-v2-Mistral-7b-v0.3-Q4_K_L.gguf](https://huggingface.co/bartowski/MadWizard-SFT-v2-Mistral-7b-v0.3-GGUF/blob/main/MadWizard-SFT-v2-Mistral-7b-v0.3-Q4_K_L.gguf) | Q4_K_L | 4.72GB | *Experimental*, uses f16 for embed and output weights. Please provide any feedback of differences. Good quality, uses about 4.83 bits per weight, *recommended*. |
39
+ | [MadWizard-SFT-v2-Mistral-7b-v0.3-Q4_K_M.gguf](https://huggingface.co/bartowski/MadWizard-SFT-v2-Mistral-7b-v0.3-GGUF/blob/main/MadWizard-SFT-v2-Mistral-7b-v0.3-Q4_K_M.gguf) | Q4_K_M | 4.37GB | Good quality, uses about 4.83 bits per weight, *recommended*. |
40
+ | [MadWizard-SFT-v2-Mistral-7b-v0.3-Q4_K_S.gguf](https://huggingface.co/bartowski/MadWizard-SFT-v2-Mistral-7b-v0.3-GGUF/blob/main/MadWizard-SFT-v2-Mistral-7b-v0.3-Q4_K_S.gguf) | Q4_K_S | 4.14GB | Slightly lower quality with more space savings, *recommended*. |
41
+ | [MadWizard-SFT-v2-Mistral-7b-v0.3-IQ4_XS.gguf](https://huggingface.co/bartowski/MadWizard-SFT-v2-Mistral-7b-v0.3-GGUF/blob/main/MadWizard-SFT-v2-Mistral-7b-v0.3-IQ4_XS.gguf) | IQ4_XS | 3.91GB | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
42
+ | [MadWizard-SFT-v2-Mistral-7b-v0.3-Q3_K_L.gguf](https://huggingface.co/bartowski/MadWizard-SFT-v2-Mistral-7b-v0.3-GGUF/blob/main/MadWizard-SFT-v2-Mistral-7b-v0.3-Q3_K_L.gguf) | Q3_K_L | 3.82GB | Lower quality but usable, good for low RAM availability. |
43
+ | [MadWizard-SFT-v2-Mistral-7b-v0.3-Q3_K_M.gguf](https://huggingface.co/bartowski/MadWizard-SFT-v2-Mistral-7b-v0.3-GGUF/blob/main/MadWizard-SFT-v2-Mistral-7b-v0.3-Q3_K_M.gguf) | Q3_K_M | 3.52GB | Even lower quality. |
44
+ | [MadWizard-SFT-v2-Mistral-7b-v0.3-IQ3_M.gguf](https://huggingface.co/bartowski/MadWizard-SFT-v2-Mistral-7b-v0.3-GGUF/blob/main/MadWizard-SFT-v2-Mistral-7b-v0.3-IQ3_M.gguf) | IQ3_M | 3.28GB | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
45
+ | [MadWizard-SFT-v2-Mistral-7b-v0.3-Q3_K_S.gguf](https://huggingface.co/bartowski/MadWizard-SFT-v2-Mistral-7b-v0.3-GGUF/blob/main/MadWizard-SFT-v2-Mistral-7b-v0.3-Q3_K_S.gguf) | Q3_K_S | 3.16GB | Low quality, not recommended. |
46
+ | [MadWizard-SFT-v2-Mistral-7b-v0.3-IQ3_XS.gguf](https://huggingface.co/bartowski/MadWizard-SFT-v2-Mistral-7b-v0.3-GGUF/blob/main/MadWizard-SFT-v2-Mistral-7b-v0.3-IQ3_XS.gguf) | IQ3_XS | 3.02GB | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
47
+ | [MadWizard-SFT-v2-Mistral-7b-v0.3-IQ3_XXS.gguf](https://huggingface.co/bartowski/MadWizard-SFT-v2-Mistral-7b-v0.3-GGUF/blob/main/MadWizard-SFT-v2-Mistral-7b-v0.3-IQ3_XXS.gguf) | IQ3_XXS | 2.83GB | Lower quality, new method with decent performance, comparable to Q3 quants. |
48
+ | [MadWizard-SFT-v2-Mistral-7b-v0.3-Q2_K.gguf](https://huggingface.co/bartowski/MadWizard-SFT-v2-Mistral-7b-v0.3-GGUF/blob/main/MadWizard-SFT-v2-Mistral-7b-v0.3-Q2_K.gguf) | Q2_K | 2.72GB | Very low quality but surprisingly usable. |
49
+ | [MadWizard-SFT-v2-Mistral-7b-v0.3-IQ2_M.gguf](https://huggingface.co/bartowski/MadWizard-SFT-v2-Mistral-7b-v0.3-GGUF/blob/main/MadWizard-SFT-v2-Mistral-7b-v0.3-IQ2_M.gguf) | IQ2_M | 2.50GB | Very low quality, uses SOTA techniques to also be surprisingly usable. |
50
+ | [MadWizard-SFT-v2-Mistral-7b-v0.3-IQ2_S.gguf](https://huggingface.co/bartowski/MadWizard-SFT-v2-Mistral-7b-v0.3-GGUF/blob/main/MadWizard-SFT-v2-Mistral-7b-v0.3-IQ2_S.gguf) | IQ2_S | 2.31GB | Very low quality, uses SOTA techniques to be usable. |
51
+ | [MadWizard-SFT-v2-Mistral-7b-v0.3-IQ2_XS.gguf](https://huggingface.co/bartowski/MadWizard-SFT-v2-Mistral-7b-v0.3-GGUF/blob/main/MadWizard-SFT-v2-Mistral-7b-v0.3-IQ2_XS.gguf) | IQ2_XS | 2.20GB | Very low quality, uses SOTA techniques to be usable. |
52
+
53
+ ## Downloading using huggingface-cli
54
+
55
+ First, make sure you have hugginface-cli installed:
56
+
57
+ ```
58
+ pip install -U "huggingface_hub[cli]"
59
+ ```
60
+
61
+ Then, you can target the specific file you want:
62
+
63
+ ```
64
+ huggingface-cli download bartowski/MadWizard-SFT-v2-Mistral-7b-v0.3-GGUF --include "MadWizard-SFT-v2-Mistral-7b-v0.3-Q4_K_M.gguf" --local-dir ./
65
+ ```
66
+
67
+ 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:
68
+
69
+ ```
70
+ huggingface-cli download bartowski/MadWizard-SFT-v2-Mistral-7b-v0.3-GGUF --include "MadWizard-SFT-v2-Mistral-7b-v0.3-Q8_0.gguf/*" --local-dir MadWizard-SFT-v2-Mistral-7b-v0.3-Q8_0
71
+ ```
72
+
73
+ You can either specify a new local-dir (MadWizard-SFT-v2-Mistral-7b-v0.3-Q8_0) or download them all in place (./)
74
+
75
+ ## Which file should I choose?
76
+
77
+ A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
78
+
79
+ 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.
80
+
81
+ 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.
82
+
83
+ 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.
84
+
85
+ Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
86
+
87
+ 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.
88
+
89
+ If you want to get more into the weeds, you can check out this extremely useful feature chart:
90
+
91
+ [llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
92
+
93
+ 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.
94
+
95
+ 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.
96
+
97
+ 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.
98
+
99
+ Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski