bartowski
commited on
Commit
•
8a6c76e
0
Parent(s):
Duplicate from bartowski/MiniCPM-V-2_6-GGUF
Browse files- .gitattributes +53 -0
- MiniCPM-V-2_6-IQ3_M.gguf +3 -0
- MiniCPM-V-2_6-IQ4_XS.gguf +3 -0
- MiniCPM-V-2_6-Q2_K.gguf +3 -0
- MiniCPM-V-2_6-Q2_K_L.gguf +3 -0
- MiniCPM-V-2_6-Q3_K_L.gguf +3 -0
- MiniCPM-V-2_6-Q3_K_M.gguf +3 -0
- MiniCPM-V-2_6-Q3_K_XL.gguf +3 -0
- MiniCPM-V-2_6-Q4_K_L.gguf +3 -0
- MiniCPM-V-2_6-Q4_K_M.gguf +3 -0
- MiniCPM-V-2_6-Q4_K_S.gguf +3 -0
- MiniCPM-V-2_6-Q5_K_L.gguf +3 -0
- MiniCPM-V-2_6-Q5_K_M.gguf +3 -0
- MiniCPM-V-2_6-Q5_K_S.gguf +3 -0
- MiniCPM-V-2_6-Q6_K.gguf +3 -0
- MiniCPM-V-2_6-Q6_K_L.gguf +3 -0
- MiniCPM-V-2_6-Q8_0.gguf +3 -0
- MiniCPM-V-2_6-f16.gguf +3 -0
- README.md +120 -0
- mmproj-model-f16.gguf +3 -0
.gitattributes
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
32 |
+
*.xz 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 |
+
MiniCPM-V-2_6-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
MiniCPM-V-2_6-Q6_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
MiniCPM-V-2_6-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
MiniCPM-V-2_6-Q5_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
MiniCPM-V-2_6-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
MiniCPM-V-2_6-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
MiniCPM-V-2_6-Q4_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
MiniCPM-V-2_6-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
MiniCPM-V-2_6-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
MiniCPM-V-2_6-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
MiniCPM-V-2_6-Q3_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
MiniCPM-V-2_6-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
48 |
+
MiniCPM-V-2_6-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
49 |
+
MiniCPM-V-2_6-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
|
50 |
+
MiniCPM-V-2_6-Q2_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
51 |
+
MiniCPM-V-2_6-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
52 |
+
MiniCPM-V-2_6-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
53 |
+
mmproj-model-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
MiniCPM-V-2_6-IQ3_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5f2f4749f21d397c3579eae10fef68f5bf109f6eb25642a63ec4436176ee414d
|
3 |
+
size 3572217376
|
MiniCPM-V-2_6-IQ4_XS.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0c89fba393af787967433830950e2be23c0ba910fefb6025330eae98cb7a0cfb
|
3 |
+
size 4248358944
|
MiniCPM-V-2_6-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:310bd042b1e8728b96b913ed45d31b5479e9b98e7d61f2678c05b7c92a268c5d
|
3 |
+
size 3014290432
|
MiniCPM-V-2_6-Q2_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:36349fc98be75220e561ca2e40f0b8f16ea942db7d8228ce32882d66da47ba76
|
3 |
+
size 3545121408
|
MiniCPM-V-2_6-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dd0879a451788f7a4fa7a912271a85c93bde740da68bfdb3a6169c6e8d6825ab
|
3 |
+
size 4086664736
|
MiniCPM-V-2_6-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b01123562f7123c1db44b8c55bc1e1c3aef452e0abfcbcbe95373e1395e0b849
|
3 |
+
size 3806596640
|
MiniCPM-V-2_6-Q3_K_XL.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d552ec51ba59d9824ee564c1db4c5932d7ffebae5e8bc5cf8d65b94eb5b8dd3d
|
3 |
+
size 4562289280
|
MiniCPM-V-2_6-Q4_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:677de5c77f0e4802a8187a63e6b90d92be5ea1fc6fb083c4d51e7cd60328f702
|
3 |
+
size 5084521088
|
MiniCPM-V-2_6-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a3667e502681951001dd511de6579f99495c62d4766b98921655fd2b92fea17f
|
3 |
+
size 4681089536
|
MiniCPM-V-2_6-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:575cf878bac94431a3bcb3b5a930b11bcd28881c50f98f37259ce069c9206a55
|
3 |
+
size 4455784960
|
MiniCPM-V-2_6-Q5_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:19f29eea9ec32c407238dec066353939cb0e850392515ace4cee129e3b5d8ab7
|
3 |
+
size 5778154112
|
MiniCPM-V-2_6-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1e25f5605b962dbe2e451c2c80c8625fd3f61063da694a337ea0f9463d193628
|
3 |
+
size 5442668928
|
MiniCPM-V-2_6-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d85616535c3ee632ce27c7755833118593ea3c93e46764da6fbc011e299184e4
|
3 |
+
size 5313014144
|
MiniCPM-V-2_6-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:047c4c7dd97b66121ceac5ad70f9649eb6918eaac8114b8cf4ef8a4d19df2a2d
|
3 |
+
size 6251847040
|
MiniCPM-V-2_6-Q6_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f24fb38009c8837af9a151a2d78ff5a0c6fb536302d188a4197ec320be2c7269
|
3 |
+
size 6515139200
|
MiniCPM-V-2_6-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:891ce76bd5d987bbfd57d780e937d008f557d9618c3607aca4c9c35663712f64
|
3 |
+
size 8095482496
|
MiniCPM-V-2_6-f16.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:da707d062f623d658d4b8078f140d33aedf802a0897d5cf6e7b1453c2e07371c
|
3 |
+
size 15232135936
|
README.md
ADDED
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: openbmb/MiniCPM-V-2_6
|
3 |
+
datasets:
|
4 |
+
- openbmb/RLAIF-V-Dataset
|
5 |
+
language:
|
6 |
+
- multilingual
|
7 |
+
library_name: transformers
|
8 |
+
pipeline_tag: image-text-to-text
|
9 |
+
tags:
|
10 |
+
- minicpm-v
|
11 |
+
- vision
|
12 |
+
- ocr
|
13 |
+
- multi-image
|
14 |
+
- video
|
15 |
+
- custom_code
|
16 |
+
quantized_by: bartowski
|
17 |
+
---
|
18 |
+
|
19 |
+
# This is my first vision model, it *may be broken*, I will attempt to test but making public so others can too
|
20 |
+
|
21 |
+
## Llamacpp Static Quantizations of MiniCPM-V-2_6
|
22 |
+
|
23 |
+
Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b3600">b3600</a> for quantization.
|
24 |
+
|
25 |
+
Original model: https://huggingface.co/openbmb/MiniCPM-V-2_6
|
26 |
+
|
27 |
+
## Prompt format
|
28 |
+
|
29 |
+
```
|
30 |
+
<|im_start|>system
|
31 |
+
{system_prompt}<|im_end|>
|
32 |
+
<|im_start|>user
|
33 |
+
{prompt}<|im_end|>
|
34 |
+
<|im_start|>assistant
|
35 |
+
```
|
36 |
+
|
37 |
+
## Download a file (not the whole branch) from below:
|
38 |
+
|
39 |
+
| Filename | Quant type | File Size | Split | Description |
|
40 |
+
| -------- | ---------- | --------- | ----- | ----------- |
|
41 |
+
| [MiniCPM-V-2_6-f16.gguf](https://huggingface.co/bartowski/MiniCPM-V-2_6-GGUF/blob/main/MiniCPM-V-2_6-f16.gguf) | f16 | 15.23GB | false | Full F16 weights. |
|
42 |
+
| [MiniCPM-V-2_6-Q8_0.gguf](https://huggingface.co/bartowski/MiniCPM-V-2_6-GGUF/blob/main/MiniCPM-V-2_6-Q8_0.gguf) | Q8_0 | 8.10GB | false | Extremely high quality, generally unneeded but max available quant. |
|
43 |
+
| [MiniCPM-V-2_6-Q6_K_L.gguf](https://huggingface.co/bartowski/MiniCPM-V-2_6-GGUF/blob/main/MiniCPM-V-2_6-Q6_K_L.gguf) | Q6_K_L | 6.52GB | false | Uses Q8_0 for embed and output weights. Very high quality, near perfect, *recommended*. |
|
44 |
+
| [MiniCPM-V-2_6-Q6_K.gguf](https://huggingface.co/bartowski/MiniCPM-V-2_6-GGUF/blob/main/MiniCPM-V-2_6-Q6_K.gguf) | Q6_K | 6.25GB | false | Very high quality, near perfect, *recommended*. |
|
45 |
+
| [MiniCPM-V-2_6-Q5_K_L.gguf](https://huggingface.co/bartowski/MiniCPM-V-2_6-GGUF/blob/main/MiniCPM-V-2_6-Q5_K_L.gguf) | Q5_K_L | 5.78GB | false | Uses Q8_0 for embed and output weights. High quality, *recommended*. |
|
46 |
+
| [MiniCPM-V-2_6-Q5_K_M.gguf](https://huggingface.co/bartowski/MiniCPM-V-2_6-GGUF/blob/main/MiniCPM-V-2_6-Q5_K_M.gguf) | Q5_K_M | 5.44GB | false | High quality, *recommended*. |
|
47 |
+
| [MiniCPM-V-2_6-Q5_K_S.gguf](https://huggingface.co/bartowski/MiniCPM-V-2_6-GGUF/blob/main/MiniCPM-V-2_6-Q5_K_S.gguf) | Q5_K_S | 5.31GB | false | High quality, *recommended*. |
|
48 |
+
| [MiniCPM-V-2_6-Q4_K_L.gguf](https://huggingface.co/bartowski/MiniCPM-V-2_6-GGUF/blob/main/MiniCPM-V-2_6-Q4_K_L.gguf) | Q4_K_L | 5.08GB | false | Uses Q8_0 for embed and output weights. Good quality, *recommended*. |
|
49 |
+
| [MiniCPM-V-2_6-Q4_K_M.gguf](https://huggingface.co/bartowski/MiniCPM-V-2_6-GGUF/blob/main/MiniCPM-V-2_6-Q4_K_M.gguf) | Q4_K_M | 4.68GB | false | Good quality, default size for must use cases, *recommended*. |
|
50 |
+
| [MiniCPM-V-2_6-Q3_K_XL.gguf](https://huggingface.co/bartowski/MiniCPM-V-2_6-GGUF/blob/main/MiniCPM-V-2_6-Q3_K_XL.gguf) | Q3_K_XL | 4.56GB | false | Uses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability. |
|
51 |
+
| [MiniCPM-V-2_6-Q4_K_S.gguf](https://huggingface.co/bartowski/MiniCPM-V-2_6-GGUF/blob/main/MiniCPM-V-2_6-Q4_K_S.gguf) | Q4_K_S | 4.46GB | false | Slightly lower quality with more space savings, *recommended*. |
|
52 |
+
| [MiniCPM-V-2_6-IQ4_XS.gguf](https://huggingface.co/bartowski/MiniCPM-V-2_6-GGUF/blob/main/MiniCPM-V-2_6-IQ4_XS.gguf) | IQ4_XS | 4.25GB | false | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
|
53 |
+
| [MiniCPM-V-2_6-Q3_K_L.gguf](https://huggingface.co/bartowski/MiniCPM-V-2_6-GGUF/blob/main/MiniCPM-V-2_6-Q3_K_L.gguf) | Q3_K_L | 4.09GB | false | Lower quality but usable, good for low RAM availability. |
|
54 |
+
| [MiniCPM-V-2_6-Q3_K_M.gguf](https://huggingface.co/bartowski/MiniCPM-V-2_6-GGUF/blob/main/MiniCPM-V-2_6-Q3_K_M.gguf) | Q3_K_M | 3.81GB | false | Low quality. |
|
55 |
+
| [MiniCPM-V-2_6-IQ3_M.gguf](https://huggingface.co/bartowski/MiniCPM-V-2_6-GGUF/blob/main/MiniCPM-V-2_6-IQ3_M.gguf) | IQ3_M | 3.57GB | false | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
|
56 |
+
| [MiniCPM-V-2_6-Q2_K_L.gguf](https://huggingface.co/bartowski/MiniCPM-V-2_6-GGUF/blob/main/MiniCPM-V-2_6-Q2_K_L.gguf) | Q2_K_L | 3.55GB | false | Uses Q8_0 for embed and output weights. Very low quality but surprisingly usable. |
|
57 |
+
| [MiniCPM-V-2_6-Q2_K.gguf](https://huggingface.co/bartowski/MiniCPM-V-2_6-GGUF/blob/main/MiniCPM-V-2_6-Q2_K.gguf) | Q2_K | 3.01GB | false | Very low quality but surprisingly usable. |
|
58 |
+
|
59 |
+
## Embed/output weights
|
60 |
+
|
61 |
+
Some of these quants (Q3_K_XL, Q4_K_L etc) are the standard quantization method with the embeddings and output weights quantized to Q8_0 instead of what they would normally default to.
|
62 |
+
|
63 |
+
Some say that this improves the quality, others don't notice any difference. If you use these models PLEASE COMMENT with your findings. I would like feedback that these are actually used and useful so I don't keep uploading quants no one is using.
|
64 |
+
|
65 |
+
Thanks!
|
66 |
+
|
67 |
+
## Credits
|
68 |
+
|
69 |
+
Thank you kalomaze and Dampf for assistance in creating the imatrix calibration dataset
|
70 |
+
|
71 |
+
Thank you ZeroWw for the inspiration to experiment with embed/output
|
72 |
+
|
73 |
+
## Downloading using huggingface-cli
|
74 |
+
|
75 |
+
First, make sure you have hugginface-cli installed:
|
76 |
+
|
77 |
+
```
|
78 |
+
pip install -U "huggingface_hub[cli]"
|
79 |
+
```
|
80 |
+
|
81 |
+
Then, you can target the specific file you want:
|
82 |
+
|
83 |
+
```
|
84 |
+
huggingface-cli download bartowski/MiniCPM-V-2_6-GGUF --include "MiniCPM-V-2_6-Q4_K_M.gguf" --local-dir ./
|
85 |
+
```
|
86 |
+
|
87 |
+
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:
|
88 |
+
|
89 |
+
```
|
90 |
+
huggingface-cli download bartowski/MiniCPM-V-2_6-GGUF --include "MiniCPM-V-2_6-Q8_0/*" --local-dir ./
|
91 |
+
```
|
92 |
+
|
93 |
+
You can either specify a new local-dir (MiniCPM-V-2_6-Q8_0) or download them all in place (./)
|
94 |
+
|
95 |
+
## Which file should I choose?
|
96 |
+
|
97 |
+
A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
|
98 |
+
|
99 |
+
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.
|
100 |
+
|
101 |
+
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.
|
102 |
+
|
103 |
+
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.
|
104 |
+
|
105 |
+
Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
|
106 |
+
|
107 |
+
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.
|
108 |
+
|
109 |
+
If you want to get more into the weeds, you can check out this extremely useful feature chart:
|
110 |
+
|
111 |
+
[llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
|
112 |
+
|
113 |
+
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.
|
114 |
+
|
115 |
+
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.
|
116 |
+
|
117 |
+
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.
|
118 |
+
|
119 |
+
Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski
|
120 |
+
|
mmproj-model-f16.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:99c55b4f5fb463098d936e17039387b54ba52f06849248f4d38e69da8fd1d307
|
3 |
+
size 1044425152
|