初始化项目,由ModelHub XC社区提供模型

Model: bartowski/OpenThinker-7B-GGUF
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-07-18 04:03:06 +08:00
commit 4ad9eef25a
28 changed files with 317 additions and 0 deletions

60
.gitattributes vendored Normal file
View File

@@ -0,0 +1,60 @@
*.7z filter=lfs diff=lfs merge=lfs -text
*.arrow filter=lfs diff=lfs merge=lfs -text
*.bin filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.ckpt filter=lfs diff=lfs merge=lfs -text
*.ftz filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.h5 filter=lfs diff=lfs merge=lfs -text
*.joblib filter=lfs diff=lfs merge=lfs -text
*.lfs.* filter=lfs diff=lfs merge=lfs -text
*.mlmodel filter=lfs diff=lfs merge=lfs -text
*.model filter=lfs diff=lfs merge=lfs -text
*.msgpack filter=lfs diff=lfs merge=lfs -text
*.npy filter=lfs diff=lfs merge=lfs -text
*.npz filter=lfs diff=lfs merge=lfs -text
*.onnx filter=lfs diff=lfs merge=lfs -text
*.ot filter=lfs diff=lfs merge=lfs -text
*.parquet filter=lfs diff=lfs merge=lfs -text
*.pb filter=lfs diff=lfs merge=lfs -text
*.pickle filter=lfs diff=lfs merge=lfs -text
*.pkl filter=lfs diff=lfs merge=lfs -text
*.pt filter=lfs diff=lfs merge=lfs -text
*.pth filter=lfs diff=lfs merge=lfs -text
*.rar filter=lfs diff=lfs merge=lfs -text
*.safetensors filter=lfs diff=lfs merge=lfs -text
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
*.tar.* filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.tflite filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.wasm filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
*tfevents* filter=lfs diff=lfs merge=lfs -text
OpenThinker-7B-f16.gguf filter=lfs diff=lfs merge=lfs -text
OpenThinker-7B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
OpenThinker-7B-Q6_K_L.gguf filter=lfs diff=lfs merge=lfs -text
OpenThinker-7B-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
OpenThinker-7B-Q5_K_L.gguf filter=lfs diff=lfs merge=lfs -text
OpenThinker-7B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
OpenThinker-7B-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
OpenThinker-7B-Q4_K_L.gguf filter=lfs diff=lfs merge=lfs -text
OpenThinker-7B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
OpenThinker-7B-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
OpenThinker-7B-Q4_1.gguf filter=lfs diff=lfs merge=lfs -text
OpenThinker-7B-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
OpenThinker-7B-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
OpenThinker-7B-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
OpenThinker-7B-Q3_K_XL.gguf filter=lfs diff=lfs merge=lfs -text
OpenThinker-7B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
OpenThinker-7B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
OpenThinker-7B-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
OpenThinker-7B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
OpenThinker-7B-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
OpenThinker-7B-Q2_K_L.gguf filter=lfs diff=lfs merge=lfs -text
OpenThinker-7B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
OpenThinker-7B-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
OpenThinker-7B-f32.gguf filter=lfs diff=lfs merge=lfs -text
OpenThinker-7B.imatrix filter=lfs diff=lfs merge=lfs -text

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:75114ed8ec19d7008f3a497ca3c53183526d810b749a1c2aa379015748d63887
size 2780343136

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:14221c7fb2ae5ca6007bc5b67565aaabca63cc2271dba067be7d7435c3f8f062
size 3574012768

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:553d0a331ab122121c59253647abdd0db43011b80c70a78637c9ce656514f3da
size 3346256736

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1765fbd9fc6c7eebff40c071614e67a49de20c671a809fa8bdf9344b295df3bf
size 4437814112

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d6bf22cd4149cdfa993486bac1f356a7f647b05aef80ac333eb46289481fa626
size 4218473312

3
OpenThinker-7B-Q2_K.gguf Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0503650b0d84af94032b5b78e4b9dcdee4af84eb1469900a25dd3efd84584d04
size 3015940960

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:44d965fcaf4a9fc748798c1b98ad1b58560528c9b35d8291bf76072c019f8a4c
size 3548164960

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d7e707d25c022b771a2a96dea529a52a4691e88fe1b8517e4ac72a5ed3fcf461
size 4088460128

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:04050a3cfda9de35d6d13513f0577ba94e6d1071a77b7ce6f2a3cb6aa6f8b79d
size 3808392032

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b1bbc250bff09d3d8a8eb59fa170859cb79356c327bfed2c0844f73e81f3f2ee
size 3492369248

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8a517bd32fcf68ab30bbd2f9682034207a883a965ff8a274d880386bf2c08225
size 4565332832

3
OpenThinker-7B-Q4_0.gguf Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ec91dc69da2d9903d1cf071d5a9a84ae0446bfc2e5ff545be0c775e84c7f6540
size 4444121952

3
OpenThinker-7B-Q4_1.gguf Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bdc43488982cfdbbc0d08cf6ab577d1bcbe31fbb75fa7e87d369207aac0aad33
size 4873284448

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:26a6fe8c2a8a92467f8fcde5daf3f64b682cd1002b07c60b4bf18647ff0f94fe
size 5087564640

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:94dff1a7acd685db5cff7afdb837aab8172e06d65fe6179ba47428e3030acd93
size 4683074400

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c4132b6120adf5f692a86098e7a9863f3a94018396a4da8a7752c6e69f28dffd
size 4457769824

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f4d8f87c6b91b6dbd59bfb5d641a50b6d1b779be1099edda89a0e8c118d2c121
size 5781197664

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9e67e8186effcf5e95bffd81f9dfc15093ecd8e81cbd96b1edc4c642dfc9a89f
size 5444832096

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:702780d159fc9e6f31d2ab057f1f45bbe04e86559440579ab0d49648839d2b6d
size 5315177312

3
OpenThinker-7B-Q6_K.gguf Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f5b57c6c1b5b12370691699d2bbe982eced950235f350eb6f2d1e4b0d6b9f715
size 6254199648

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1d3a9c30e4117ec014e1a6da81034a4f6a553d3baf38063750452a6074a63d6d
size 6518182752

3
OpenThinker-7B-Q8_0.gguf Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5e0f4e1431dce3ec5600694f9b91fc03133c410e08b00ad113ba5f465de26d88
size 8098526048

3
OpenThinker-7B-f16.gguf Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:96d2763e0a3c837d5e615358fa907c20aa4c7847d8657188d6c1325789c9895c
size 15237854048

3
OpenThinker-7B-f32.gguf Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:889c8b6112409246d06c7e11ca39d95a88491caaef13b9f660526cbe51a9e4ab
size 30468420192

3
OpenThinker-7B.imatrix Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:859a609d20077af0c218c4b5c36789ecb5ced000a60c8371e4b7c7e943dfa138
size 4536678

181
README.md Normal file
View File

@@ -0,0 +1,181 @@
---
quantized_by: bartowski
pipeline_tag: text-generation
base_model: open-thoughts/OpenThinker-7B
tags:
- llama-factory
- full
- generated_from_trainer
datasets:
- open-thoughts/open-thoughts-114k
license: apache-2.0
model-index:
- name: DCFT-Stratos-Verified-114k-7B-4gpus
results: []
---
## Llamacpp imatrix Quantizations of OpenThinker-7B
Using <a href="https://github.com/ggerganov/llama.cpp/">llama.cpp</a> release <a href="https://github.com/ggerganov/llama.cpp/releases/tag/b4585">b4585</a> for quantization.
Original model: https://huggingface.co/open-thoughts/OpenThinker-7B
All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8)
Run them in [LM Studio](https://lmstudio.ai/)
Run them directly with [llama.cpp](https://github.com/ggerganov/llama.cpp), or any other llama.cpp based project
## Prompt format
```
<|im_start|>system
{system_prompt}<|im_end|>
<|im_start|>user
{prompt}<|im_end|>
<|im_start|>assistant
```
## Download a file (not the whole branch) from below:
| Filename | Quant type | File Size | Split | Description |
| -------- | ---------- | --------- | ----- | ----------- |
| [OpenThinker-7B-f32.gguf](https://huggingface.co/bartowski/OpenThinker-7B-GGUF/blob/main/OpenThinker-7B-f32.gguf) | f32 | 30.47GB | false | Full F32 weights. |
| [OpenThinker-7B-f16.gguf](https://huggingface.co/bartowski/OpenThinker-7B-GGUF/blob/main/OpenThinker-7B-f16.gguf) | f16 | 15.24GB | false | Full F16 weights. |
| [OpenThinker-7B-Q8_0.gguf](https://huggingface.co/bartowski/OpenThinker-7B-GGUF/blob/main/OpenThinker-7B-Q8_0.gguf) | Q8_0 | 8.10GB | false | Extremely high quality, generally unneeded but max available quant. |
| [OpenThinker-7B-Q6_K_L.gguf](https://huggingface.co/bartowski/OpenThinker-7B-GGUF/blob/main/OpenThinker-7B-Q6_K_L.gguf) | Q6_K_L | 6.52GB | false | Uses Q8_0 for embed and output weights. Very high quality, near perfect, *recommended*. |
| [OpenThinker-7B-Q6_K.gguf](https://huggingface.co/bartowski/OpenThinker-7B-GGUF/blob/main/OpenThinker-7B-Q6_K.gguf) | Q6_K | 6.25GB | false | Very high quality, near perfect, *recommended*. |
| [OpenThinker-7B-Q5_K_L.gguf](https://huggingface.co/bartowski/OpenThinker-7B-GGUF/blob/main/OpenThinker-7B-Q5_K_L.gguf) | Q5_K_L | 5.78GB | false | Uses Q8_0 for embed and output weights. High quality, *recommended*. |
| [OpenThinker-7B-Q5_K_M.gguf](https://huggingface.co/bartowski/OpenThinker-7B-GGUF/blob/main/OpenThinker-7B-Q5_K_M.gguf) | Q5_K_M | 5.44GB | false | High quality, *recommended*. |
| [OpenThinker-7B-Q5_K_S.gguf](https://huggingface.co/bartowski/OpenThinker-7B-GGUF/blob/main/OpenThinker-7B-Q5_K_S.gguf) | Q5_K_S | 5.32GB | false | High quality, *recommended*. |
| [OpenThinker-7B-Q4_K_L.gguf](https://huggingface.co/bartowski/OpenThinker-7B-GGUF/blob/main/OpenThinker-7B-Q4_K_L.gguf) | Q4_K_L | 5.09GB | false | Uses Q8_0 for embed and output weights. Good quality, *recommended*. |
| [OpenThinker-7B-Q4_1.gguf](https://huggingface.co/bartowski/OpenThinker-7B-GGUF/blob/main/OpenThinker-7B-Q4_1.gguf) | Q4_1 | 4.87GB | false | Legacy format, similar performance to Q4_K_S but with improved tokens/watt on Apple silicon. |
| [OpenThinker-7B-Q4_K_M.gguf](https://huggingface.co/bartowski/OpenThinker-7B-GGUF/blob/main/OpenThinker-7B-Q4_K_M.gguf) | Q4_K_M | 4.68GB | false | Good quality, default size for most use cases, *recommended*. |
| [OpenThinker-7B-Q3_K_XL.gguf](https://huggingface.co/bartowski/OpenThinker-7B-GGUF/blob/main/OpenThinker-7B-Q3_K_XL.gguf) | Q3_K_XL | 4.57GB | false | Uses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability. |
| [OpenThinker-7B-Q4_K_S.gguf](https://huggingface.co/bartowski/OpenThinker-7B-GGUF/blob/main/OpenThinker-7B-Q4_K_S.gguf) | Q4_K_S | 4.46GB | false | Slightly lower quality with more space savings, *recommended*. |
| [OpenThinker-7B-Q4_0.gguf](https://huggingface.co/bartowski/OpenThinker-7B-GGUF/blob/main/OpenThinker-7B-Q4_0.gguf) | Q4_0 | 4.44GB | false | Legacy format, offers online repacking for ARM and AVX CPU inference. |
| [OpenThinker-7B-IQ4_NL.gguf](https://huggingface.co/bartowski/OpenThinker-7B-GGUF/blob/main/OpenThinker-7B-IQ4_NL.gguf) | IQ4_NL | 4.44GB | false | Similar to IQ4_XS, but slightly larger. Offers online repacking for ARM CPU inference. |
| [OpenThinker-7B-IQ4_XS.gguf](https://huggingface.co/bartowski/OpenThinker-7B-GGUF/blob/main/OpenThinker-7B-IQ4_XS.gguf) | IQ4_XS | 4.22GB | false | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. |
| [OpenThinker-7B-Q3_K_L.gguf](https://huggingface.co/bartowski/OpenThinker-7B-GGUF/blob/main/OpenThinker-7B-Q3_K_L.gguf) | Q3_K_L | 4.09GB | false | Lower quality but usable, good for low RAM availability. |
| [OpenThinker-7B-Q3_K_M.gguf](https://huggingface.co/bartowski/OpenThinker-7B-GGUF/blob/main/OpenThinker-7B-Q3_K_M.gguf) | Q3_K_M | 3.81GB | false | Low quality. |
| [OpenThinker-7B-IQ3_M.gguf](https://huggingface.co/bartowski/OpenThinker-7B-GGUF/blob/main/OpenThinker-7B-IQ3_M.gguf) | IQ3_M | 3.57GB | false | Medium-low quality, new method with decent performance comparable to Q3_K_M. |
| [OpenThinker-7B-Q2_K_L.gguf](https://huggingface.co/bartowski/OpenThinker-7B-GGUF/blob/main/OpenThinker-7B-Q2_K_L.gguf) | Q2_K_L | 3.55GB | false | Uses Q8_0 for embed and output weights. Very low quality but surprisingly usable. |
| [OpenThinker-7B-Q3_K_S.gguf](https://huggingface.co/bartowski/OpenThinker-7B-GGUF/blob/main/OpenThinker-7B-Q3_K_S.gguf) | Q3_K_S | 3.49GB | false | Low quality, not recommended. |
| [OpenThinker-7B-IQ3_XS.gguf](https://huggingface.co/bartowski/OpenThinker-7B-GGUF/blob/main/OpenThinker-7B-IQ3_XS.gguf) | IQ3_XS | 3.35GB | false | Lower quality, new method with decent performance, slightly better than Q3_K_S. |
| [OpenThinker-7B-Q2_K.gguf](https://huggingface.co/bartowski/OpenThinker-7B-GGUF/blob/main/OpenThinker-7B-Q2_K.gguf) | Q2_K | 3.02GB | false | Very low quality but surprisingly usable. |
| [OpenThinker-7B-IQ2_M.gguf](https://huggingface.co/bartowski/OpenThinker-7B-GGUF/blob/main/OpenThinker-7B-IQ2_M.gguf) | IQ2_M | 2.78GB | false | Relatively low quality, uses SOTA techniques to be surprisingly usable. |
## Embed/output weights
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.
## Downloading using huggingface-cli
<details>
<summary>Click to view download instructions</summary>
First, make sure you have hugginface-cli installed:
```
pip install -U "huggingface_hub[cli]"
```
Then, you can target the specific file you want:
```
huggingface-cli download bartowski/OpenThinker-7B-GGUF --include "OpenThinker-7B-Q4_K_M.gguf" --local-dir ./
```
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:
```
huggingface-cli download bartowski/OpenThinker-7B-GGUF --include "OpenThinker-7B-Q8_0/*" --local-dir ./
```
You can either specify a new local-dir (OpenThinker-7B-Q8_0) or download them all in place (./)
</details>
## ARM/AVX information
Previously, you would download Q4_0_4_4/4_8/8_8, and these would have their weights interleaved in memory in order to improve performance on ARM and AVX machines by loading up more data in one pass.
Now, however, there is something called "online repacking" for weights. details in [this PR](https://github.com/ggerganov/llama.cpp/pull/9921). If you use Q4_0 and your hardware would benefit from repacking weights, it will do it automatically on the fly.
As of llama.cpp build [b4282](https://github.com/ggerganov/llama.cpp/releases/tag/b4282) you will not be able to run the Q4_0_X_X files and will instead need to use Q4_0.
Additionally, if you want to get slightly better quality for , you can use IQ4_NL thanks to [this PR](https://github.com/ggerganov/llama.cpp/pull/10541) which will also repack the weights for ARM, though only the 4_4 for now. The loading time may be slower but it will result in an overall speed incrase.
<details>
<summary>Click to view Q4_0_X_X information (deprecated</summary>
I'm keeping this section to show the potential theoretical uplift in performance from using the Q4_0 with online repacking.
<details>
<summary>Click to view benchmarks on an AVX2 system (EPYC7702)</summary>
| model | size | params | backend | threads | test | t/s | % (vs Q4_0) |
| ------------------------------ | ---------: | ---------: | ---------- | ------: | ------------: | -------------------: |-------------: |
| qwen2 3B Q4_0 | 1.70 GiB | 3.09 B | CPU | 64 | pp512 | 204.03 ± 1.03 | 100% |
| qwen2 3B Q4_0 | 1.70 GiB | 3.09 B | CPU | 64 | pp1024 | 282.92 ± 0.19 | 100% |
| qwen2 3B Q4_0 | 1.70 GiB | 3.09 B | CPU | 64 | pp2048 | 259.49 ± 0.44 | 100% |
| qwen2 3B Q4_0 | 1.70 GiB | 3.09 B | CPU | 64 | tg128 | 39.12 ± 0.27 | 100% |
| qwen2 3B Q4_0 | 1.70 GiB | 3.09 B | CPU | 64 | tg256 | 39.31 ± 0.69 | 100% |
| qwen2 3B Q4_0 | 1.70 GiB | 3.09 B | CPU | 64 | tg512 | 40.52 ± 0.03 | 100% |
| qwen2 3B Q4_K_M | 1.79 GiB | 3.09 B | CPU | 64 | pp512 | 301.02 ± 1.74 | 147% |
| qwen2 3B Q4_K_M | 1.79 GiB | 3.09 B | CPU | 64 | pp1024 | 287.23 ± 0.20 | 101% |
| qwen2 3B Q4_K_M | 1.79 GiB | 3.09 B | CPU | 64 | pp2048 | 262.77 ± 1.81 | 101% |
| qwen2 3B Q4_K_M | 1.79 GiB | 3.09 B | CPU | 64 | tg128 | 18.80 ± 0.99 | 48% |
| qwen2 3B Q4_K_M | 1.79 GiB | 3.09 B | CPU | 64 | tg256 | 24.46 ± 3.04 | 83% |
| qwen2 3B Q4_K_M | 1.79 GiB | 3.09 B | CPU | 64 | tg512 | 36.32 ± 3.59 | 90% |
| qwen2 3B Q4_0_8_8 | 1.69 GiB | 3.09 B | CPU | 64 | pp512 | 271.71 ± 3.53 | 133% |
| qwen2 3B Q4_0_8_8 | 1.69 GiB | 3.09 B | CPU | 64 | pp1024 | 279.86 ± 45.63 | 100% |
| qwen2 3B Q4_0_8_8 | 1.69 GiB | 3.09 B | CPU | 64 | pp2048 | 320.77 ± 5.00 | 124% |
| qwen2 3B Q4_0_8_8 | 1.69 GiB | 3.09 B | CPU | 64 | tg128 | 43.51 ± 0.05 | 111% |
| qwen2 3B Q4_0_8_8 | 1.69 GiB | 3.09 B | CPU | 64 | tg256 | 43.35 ± 0.09 | 110% |
| qwen2 3B Q4_0_8_8 | 1.69 GiB | 3.09 B | CPU | 64 | tg512 | 42.60 ± 0.31 | 105% |
Q4_0_8_8 offers a nice bump to prompt processing and a small bump to text generation
</details>
</details>
## Which file should I choose?
<details>
<summary>Click here for details</summary>
A great write up with charts showing various performances is provided by Artefact2 [here](https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9)
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.
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.
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.
Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.
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.
If you want to get more into the weeds, you can check out this extremely useful feature chart:
[llama.cpp feature matrix](https://github.com/ggerganov/llama.cpp/wiki/Feature-matrix)
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.
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.
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.
</details>
## Credits
Thank you kalomaze and Dampf for assistance in creating the imatrix calibration dataset.
Thank you ZeroWw for the inspiration to experiment with embed/output.
Thank you to LM Studio for sponsoring my work.
Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski

1
configuration.json Normal file
View File

@@ -0,0 +1 @@
{"framework": "pytorch", "task": "text-generation", "allow_remote": true}