From e06673efd0cf31a372dcc8fd153c4025d789c079 Mon Sep 17 00:00:00 2001 From: ModelHub XC Date: Thu, 24 Sep 2026 14:56:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=EF=BC=8C=E7=94=B1ModelHub=20XC=E7=A4=BE=E5=8C=BA=E6=8F=90?= =?UTF-8?q?=E4=BE=9B=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Model: bartowski/internlm_JanusCoderV-7B-GGUF Source: Original Platform --- .gitattributes | 62 ++++++++ README.md | 172 +++++++++++++++++++++++ internlm_JanusCoderV-7B-IQ2_M.gguf | 3 + internlm_JanusCoderV-7B-IQ3_M.gguf | 3 + internlm_JanusCoderV-7B-IQ3_XS.gguf | 3 + internlm_JanusCoderV-7B-IQ3_XXS.gguf | 3 + internlm_JanusCoderV-7B-IQ4_NL.gguf | 3 + internlm_JanusCoderV-7B-IQ4_XS.gguf | 3 + internlm_JanusCoderV-7B-Q2_K.gguf | 3 + internlm_JanusCoderV-7B-Q2_K_L.gguf | 3 + internlm_JanusCoderV-7B-Q3_K_L.gguf | 3 + internlm_JanusCoderV-7B-Q3_K_M.gguf | 3 + internlm_JanusCoderV-7B-Q3_K_S.gguf | 3 + internlm_JanusCoderV-7B-Q3_K_XL.gguf | 3 + internlm_JanusCoderV-7B-Q4_0.gguf | 3 + internlm_JanusCoderV-7B-Q4_1.gguf | 3 + internlm_JanusCoderV-7B-Q4_K_L.gguf | 3 + internlm_JanusCoderV-7B-Q4_K_M.gguf | 3 + internlm_JanusCoderV-7B-Q4_K_S.gguf | 3 + internlm_JanusCoderV-7B-Q5_K_L.gguf | 3 + internlm_JanusCoderV-7B-Q5_K_M.gguf | 3 + internlm_JanusCoderV-7B-Q5_K_S.gguf | 3 + internlm_JanusCoderV-7B-Q6_K.gguf | 3 + internlm_JanusCoderV-7B-Q6_K_L.gguf | 3 + internlm_JanusCoderV-7B-Q8_0.gguf | 3 + internlm_JanusCoderV-7B-bf16.gguf | 3 + internlm_JanusCoderV-7B-imatrix.gguf | 3 + mmproj-internlm_JanusCoderV-7B-bf16.gguf | 3 + mmproj-internlm_JanusCoderV-7B-f16.gguf | 3 + 29 files changed, 315 insertions(+) create mode 100644 .gitattributes create mode 100644 README.md create mode 100644 internlm_JanusCoderV-7B-IQ2_M.gguf create mode 100644 internlm_JanusCoderV-7B-IQ3_M.gguf create mode 100644 internlm_JanusCoderV-7B-IQ3_XS.gguf create mode 100644 internlm_JanusCoderV-7B-IQ3_XXS.gguf create mode 100644 internlm_JanusCoderV-7B-IQ4_NL.gguf create mode 100644 internlm_JanusCoderV-7B-IQ4_XS.gguf create mode 100644 internlm_JanusCoderV-7B-Q2_K.gguf create mode 100644 internlm_JanusCoderV-7B-Q2_K_L.gguf create mode 100644 internlm_JanusCoderV-7B-Q3_K_L.gguf create mode 100644 internlm_JanusCoderV-7B-Q3_K_M.gguf create mode 100644 internlm_JanusCoderV-7B-Q3_K_S.gguf create mode 100644 internlm_JanusCoderV-7B-Q3_K_XL.gguf create mode 100644 internlm_JanusCoderV-7B-Q4_0.gguf create mode 100644 internlm_JanusCoderV-7B-Q4_1.gguf create mode 100644 internlm_JanusCoderV-7B-Q4_K_L.gguf create mode 100644 internlm_JanusCoderV-7B-Q4_K_M.gguf create mode 100644 internlm_JanusCoderV-7B-Q4_K_S.gguf create mode 100644 internlm_JanusCoderV-7B-Q5_K_L.gguf create mode 100644 internlm_JanusCoderV-7B-Q5_K_M.gguf create mode 100644 internlm_JanusCoderV-7B-Q5_K_S.gguf create mode 100644 internlm_JanusCoderV-7B-Q6_K.gguf create mode 100644 internlm_JanusCoderV-7B-Q6_K_L.gguf create mode 100644 internlm_JanusCoderV-7B-Q8_0.gguf create mode 100644 internlm_JanusCoderV-7B-bf16.gguf create mode 100644 internlm_JanusCoderV-7B-imatrix.gguf create mode 100644 mmproj-internlm_JanusCoderV-7B-bf16.gguf create mode 100644 mmproj-internlm_JanusCoderV-7B-f16.gguf diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..bde562f --- /dev/null +++ b/.gitattributes @@ -0,0 +1,62 @@ +*.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 +internlm_JanusCoderV-7B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text +internlm_JanusCoderV-7B-Q6_K_L.gguf filter=lfs diff=lfs merge=lfs -text +internlm_JanusCoderV-7B-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text +internlm_JanusCoderV-7B-Q5_K_L.gguf filter=lfs diff=lfs merge=lfs -text +internlm_JanusCoderV-7B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text +internlm_JanusCoderV-7B-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text +internlm_JanusCoderV-7B-Q4_K_L.gguf filter=lfs diff=lfs merge=lfs -text +internlm_JanusCoderV-7B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text +internlm_JanusCoderV-7B-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text +internlm_JanusCoderV-7B-Q4_1.gguf filter=lfs diff=lfs merge=lfs -text +internlm_JanusCoderV-7B-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text +internlm_JanusCoderV-7B-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text +internlm_JanusCoderV-7B-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text +internlm_JanusCoderV-7B-Q3_K_XL.gguf filter=lfs diff=lfs merge=lfs -text +internlm_JanusCoderV-7B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text +internlm_JanusCoderV-7B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text +internlm_JanusCoderV-7B-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text +internlm_JanusCoderV-7B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text +internlm_JanusCoderV-7B-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text +internlm_JanusCoderV-7B-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text +internlm_JanusCoderV-7B-Q2_K_L.gguf filter=lfs diff=lfs merge=lfs -text +internlm_JanusCoderV-7B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text +internlm_JanusCoderV-7B-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text +internlm_JanusCoderV-7B-bf16.gguf filter=lfs diff=lfs merge=lfs -text +internlm_JanusCoderV-7B-imatrix.gguf filter=lfs diff=lfs merge=lfs -text +mmproj-internlm_JanusCoderV-7B-f16.gguf filter=lfs diff=lfs merge=lfs -text +mmproj-internlm_JanusCoderV-7B-bf16.gguf filter=lfs diff=lfs merge=lfs -text diff --git a/README.md b/README.md new file mode 100644 index 0000000..5731911 --- /dev/null +++ b/README.md @@ -0,0 +1,172 @@ +--- +quantized_by: bartowski +pipeline_tag: image-text-to-text +base_model_relation: quantized +base_model: internlm/JanusCoderV-7B +--- + +## Llamacpp imatrix Quantizations of JanusCoderV-7B by internlm + +Using llama.cpp release b6872 for quantization. + +Original model: https://huggingface.co/internlm/JanusCoderV-7B + +All quants made using imatrix option with dataset from [here](https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8) combined with a subset of combined_all_small.parquet from Ed Addario [here](https://huggingface.co/datasets/eaddario/imatrix-calibration/blob/main/combined_all_small.parquet) + +Run them in [LM Studio](https://lmstudio.ai/) + +Run them directly with [llama.cpp](https://github.com/ggml-org/llama.cpp), or any other llama.cpp based project + +## Prompt format + +No chat template specified so default is used. This may be incorrect, check original model card for details. + +``` +<|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 | +| -------- | ---------- | --------- | ----- | ----------- | +| [JanusCoderV-7B-bf16.gguf](https://huggingface.co/bartowski/internlm_JanusCoderV-7B-GGUF/blob/main/internlm_JanusCoderV-7B-bf16.gguf) | bf16 | 15.24GB | false | Full BF16 weights. | +| [JanusCoderV-7B-Q8_0.gguf](https://huggingface.co/bartowski/internlm_JanusCoderV-7B-GGUF/blob/main/internlm_JanusCoderV-7B-Q8_0.gguf) | Q8_0 | 8.10GB | false | Extremely high quality, generally unneeded but max available quant. | +| [JanusCoderV-7B-Q6_K_L.gguf](https://huggingface.co/bartowski/internlm_JanusCoderV-7B-GGUF/blob/main/internlm_JanusCoderV-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*. | +| [JanusCoderV-7B-Q6_K.gguf](https://huggingface.co/bartowski/internlm_JanusCoderV-7B-GGUF/blob/main/internlm_JanusCoderV-7B-Q6_K.gguf) | Q6_K | 6.25GB | false | Very high quality, near perfect, *recommended*. | +| [JanusCoderV-7B-Q5_K_L.gguf](https://huggingface.co/bartowski/internlm_JanusCoderV-7B-GGUF/blob/main/internlm_JanusCoderV-7B-Q5_K_L.gguf) | Q5_K_L | 5.78GB | false | Uses Q8_0 for embed and output weights. High quality, *recommended*. | +| [JanusCoderV-7B-Q5_K_M.gguf](https://huggingface.co/bartowski/internlm_JanusCoderV-7B-GGUF/blob/main/internlm_JanusCoderV-7B-Q5_K_M.gguf) | Q5_K_M | 5.44GB | false | High quality, *recommended*. | +| [JanusCoderV-7B-Q5_K_S.gguf](https://huggingface.co/bartowski/internlm_JanusCoderV-7B-GGUF/blob/main/internlm_JanusCoderV-7B-Q5_K_S.gguf) | Q5_K_S | 5.32GB | false | High quality, *recommended*. | +| [JanusCoderV-7B-Q4_K_L.gguf](https://huggingface.co/bartowski/internlm_JanusCoderV-7B-GGUF/blob/main/internlm_JanusCoderV-7B-Q4_K_L.gguf) | Q4_K_L | 5.09GB | false | Uses Q8_0 for embed and output weights. Good quality, *recommended*. | +| [JanusCoderV-7B-Q4_1.gguf](https://huggingface.co/bartowski/internlm_JanusCoderV-7B-GGUF/blob/main/internlm_JanusCoderV-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. | +| [JanusCoderV-7B-Q4_K_M.gguf](https://huggingface.co/bartowski/internlm_JanusCoderV-7B-GGUF/blob/main/internlm_JanusCoderV-7B-Q4_K_M.gguf) | Q4_K_M | 4.68GB | false | Good quality, default size for most use cases, *recommended*. | +| [JanusCoderV-7B-Q3_K_XL.gguf](https://huggingface.co/bartowski/internlm_JanusCoderV-7B-GGUF/blob/main/internlm_JanusCoderV-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. | +| [JanusCoderV-7B-Q4_K_S.gguf](https://huggingface.co/bartowski/internlm_JanusCoderV-7B-GGUF/blob/main/internlm_JanusCoderV-7B-Q4_K_S.gguf) | Q4_K_S | 4.46GB | false | Slightly lower quality with more space savings, *recommended*. | +| [JanusCoderV-7B-Q4_0.gguf](https://huggingface.co/bartowski/internlm_JanusCoderV-7B-GGUF/blob/main/internlm_JanusCoderV-7B-Q4_0.gguf) | Q4_0 | 4.44GB | false | Legacy format, offers online repacking for ARM and AVX CPU inference. | +| [JanusCoderV-7B-IQ4_NL.gguf](https://huggingface.co/bartowski/internlm_JanusCoderV-7B-GGUF/blob/main/internlm_JanusCoderV-7B-IQ4_NL.gguf) | IQ4_NL | 4.44GB | false | Similar to IQ4_XS, but slightly larger. Offers online repacking for ARM CPU inference. | +| [JanusCoderV-7B-IQ4_XS.gguf](https://huggingface.co/bartowski/internlm_JanusCoderV-7B-GGUF/blob/main/internlm_JanusCoderV-7B-IQ4_XS.gguf) | IQ4_XS | 4.22GB | false | Decent quality, smaller than Q4_K_S with similar performance, *recommended*. | +| [JanusCoderV-7B-Q3_K_L.gguf](https://huggingface.co/bartowski/internlm_JanusCoderV-7B-GGUF/blob/main/internlm_JanusCoderV-7B-Q3_K_L.gguf) | Q3_K_L | 4.09GB | false | Lower quality but usable, good for low RAM availability. | +| [JanusCoderV-7B-Q3_K_M.gguf](https://huggingface.co/bartowski/internlm_JanusCoderV-7B-GGUF/blob/main/internlm_JanusCoderV-7B-Q3_K_M.gguf) | Q3_K_M | 3.81GB | false | Low quality. | +| [JanusCoderV-7B-IQ3_M.gguf](https://huggingface.co/bartowski/internlm_JanusCoderV-7B-GGUF/blob/main/internlm_JanusCoderV-7B-IQ3_M.gguf) | IQ3_M | 3.57GB | false | Medium-low quality, new method with decent performance comparable to Q3_K_M. | +| [JanusCoderV-7B-Q2_K_L.gguf](https://huggingface.co/bartowski/internlm_JanusCoderV-7B-GGUF/blob/main/internlm_JanusCoderV-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. | +| [JanusCoderV-7B-Q3_K_S.gguf](https://huggingface.co/bartowski/internlm_JanusCoderV-7B-GGUF/blob/main/internlm_JanusCoderV-7B-Q3_K_S.gguf) | Q3_K_S | 3.49GB | false | Low quality, not recommended. | +| [JanusCoderV-7B-IQ3_XS.gguf](https://huggingface.co/bartowski/internlm_JanusCoderV-7B-GGUF/blob/main/internlm_JanusCoderV-7B-IQ3_XS.gguf) | IQ3_XS | 3.35GB | false | Lower quality, new method with decent performance, slightly better than Q3_K_S. | +| [JanusCoderV-7B-IQ3_XXS.gguf](https://huggingface.co/bartowski/internlm_JanusCoderV-7B-GGUF/blob/main/internlm_JanusCoderV-7B-IQ3_XXS.gguf) | IQ3_XXS | 3.11GB | false | Lower quality, new method with decent performance, comparable to Q3 quants. | +| [JanusCoderV-7B-Q2_K.gguf](https://huggingface.co/bartowski/internlm_JanusCoderV-7B-GGUF/blob/main/internlm_JanusCoderV-7B-Q2_K.gguf) | Q2_K | 3.02GB | false | Very low quality but surprisingly usable. | +| [JanusCoderV-7B-IQ2_M.gguf](https://huggingface.co/bartowski/internlm_JanusCoderV-7B-GGUF/blob/main/internlm_JanusCoderV-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 + +
+ Click to view download instructions + +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/internlm_JanusCoderV-7B-GGUF --include "internlm_JanusCoderV-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/internlm_JanusCoderV-7B-GGUF --include "internlm_JanusCoderV-7B-Q8_0/*" --local-dir ./ +``` + +You can either specify a new local-dir (internlm_JanusCoderV-7B-Q8_0) or download them all in place (./) + +
+ +## 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/ggml-org/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/ggml-org/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/ggml-org/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. + +
+ Click to view Q4_0_X_X information (deprecated + +I'm keeping this section to show the potential theoretical uplift in performance from using the Q4_0 with online repacking. + +
+ Click to view benchmarks on an AVX2 system (EPYC7702) + +| 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 + +
+ +
+ +## Which file should I choose? + +
+ Click here for details + +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/ggml-org/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, but will be slower than their K-quant equivalent, so speed vs performance is a tradeoff you'll have to decide. + +
+ +## 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 diff --git a/internlm_JanusCoderV-7B-IQ2_M.gguf b/internlm_JanusCoderV-7B-IQ2_M.gguf new file mode 100644 index 0000000..0bb9c16 --- /dev/null +++ b/internlm_JanusCoderV-7B-IQ2_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c6a7be5f348f9114e281b0f81917a949aa9d64cbf5ba77e4766abad3a42723bd +size 2780341120 diff --git a/internlm_JanusCoderV-7B-IQ3_M.gguf b/internlm_JanusCoderV-7B-IQ3_M.gguf new file mode 100644 index 0000000..26b89ce --- /dev/null +++ b/internlm_JanusCoderV-7B-IQ3_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dcd672e159b7234a8c2480fd003d9beb2df8839a4ad787c761dcdcdf9a7b7b23 +size 3574010752 diff --git a/internlm_JanusCoderV-7B-IQ3_XS.gguf b/internlm_JanusCoderV-7B-IQ3_XS.gguf new file mode 100644 index 0000000..d1c432b --- /dev/null +++ b/internlm_JanusCoderV-7B-IQ3_XS.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3203061a674314661a4c39da8b40c8b518e0a9510c96d6d90867a49671cd30eb +size 3346254720 diff --git a/internlm_JanusCoderV-7B-IQ3_XXS.gguf b/internlm_JanusCoderV-7B-IQ3_XXS.gguf new file mode 100644 index 0000000..70aa854 --- /dev/null +++ b/internlm_JanusCoderV-7B-IQ3_XXS.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cbbab1adfc7469107d741d6fbc32b2a459aa823f8b4bf8d81b437c8d180dc620 +size 3114513280 diff --git a/internlm_JanusCoderV-7B-IQ4_NL.gguf b/internlm_JanusCoderV-7B-IQ4_NL.gguf new file mode 100644 index 0000000..cf04f9a --- /dev/null +++ b/internlm_JanusCoderV-7B-IQ4_NL.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:735befc933fa66a2be81593a581e09f5df39efbe84be7d93de18a50af1a08e81 +size 4437812096 diff --git a/internlm_JanusCoderV-7B-IQ4_XS.gguf b/internlm_JanusCoderV-7B-IQ4_XS.gguf new file mode 100644 index 0000000..59f889f --- /dev/null +++ b/internlm_JanusCoderV-7B-IQ4_XS.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7b390b81c155c56d2c5caca8fea5a137e3af65ceb982d3c61e29d7b1b8a69d80 +size 4218471296 diff --git a/internlm_JanusCoderV-7B-Q2_K.gguf b/internlm_JanusCoderV-7B-Q2_K.gguf new file mode 100644 index 0000000..1a95bf3 --- /dev/null +++ b/internlm_JanusCoderV-7B-Q2_K.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:34661cc7d52f732daf039b951b21ba7610e5809dae209e74bb5379e411608e90 +size 3015938944 diff --git a/internlm_JanusCoderV-7B-Q2_K_L.gguf b/internlm_JanusCoderV-7B-Q2_K_L.gguf new file mode 100644 index 0000000..588e014 --- /dev/null +++ b/internlm_JanusCoderV-7B-Q2_K_L.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:356e49a5a059c9b78f58a892a29c75a3334651df37e4d6e47b8bdba64840834b +size 3548162944 diff --git a/internlm_JanusCoderV-7B-Q3_K_L.gguf b/internlm_JanusCoderV-7B-Q3_K_L.gguf new file mode 100644 index 0000000..34b66cc --- /dev/null +++ b/internlm_JanusCoderV-7B-Q3_K_L.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:87ef3b37635ff628ad0cfca6668520e0317c1916fb70ca62627f7f1ac490b341 +size 4088458112 diff --git a/internlm_JanusCoderV-7B-Q3_K_M.gguf b/internlm_JanusCoderV-7B-Q3_K_M.gguf new file mode 100644 index 0000000..0f88eba --- /dev/null +++ b/internlm_JanusCoderV-7B-Q3_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:16ee212704d92d38358f40084ce03d0bf7088d01e2f6371856de627d12b912a9 +size 3808390016 diff --git a/internlm_JanusCoderV-7B-Q3_K_S.gguf b/internlm_JanusCoderV-7B-Q3_K_S.gguf new file mode 100644 index 0000000..1f79a28 --- /dev/null +++ b/internlm_JanusCoderV-7B-Q3_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb96846556ecc8b69a72bd2e05c84e3b92f155a28eaa6ec921f06a2cc845a8f7 +size 3492367232 diff --git a/internlm_JanusCoderV-7B-Q3_K_XL.gguf b/internlm_JanusCoderV-7B-Q3_K_XL.gguf new file mode 100644 index 0000000..6cd73cf --- /dev/null +++ b/internlm_JanusCoderV-7B-Q3_K_XL.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:47a031c50976cf04feaca733e48d0f010f04cab73c4f9cb1ba175a5394cae270 +size 4565330816 diff --git a/internlm_JanusCoderV-7B-Q4_0.gguf b/internlm_JanusCoderV-7B-Q4_0.gguf new file mode 100644 index 0000000..4a5994e --- /dev/null +++ b/internlm_JanusCoderV-7B-Q4_0.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:71a653a9bd40799dde391f537ec3110f88bad32e7379c4b2e72442b0455b3973 +size 4444119936 diff --git a/internlm_JanusCoderV-7B-Q4_1.gguf b/internlm_JanusCoderV-7B-Q4_1.gguf new file mode 100644 index 0000000..609ee49 --- /dev/null +++ b/internlm_JanusCoderV-7B-Q4_1.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:842ea49f787c44ae981b66fc6695e81521a6c935653963589d7123108e7b2ddd +size 4873282432 diff --git a/internlm_JanusCoderV-7B-Q4_K_L.gguf b/internlm_JanusCoderV-7B-Q4_K_L.gguf new file mode 100644 index 0000000..aa4b8d6 --- /dev/null +++ b/internlm_JanusCoderV-7B-Q4_K_L.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9641652c5002efeef365dcfd20f525b6267f1b66f20a696baecf3d9684fef3eb +size 5087562624 diff --git a/internlm_JanusCoderV-7B-Q4_K_M.gguf b/internlm_JanusCoderV-7B-Q4_K_M.gguf new file mode 100644 index 0000000..7c6f3cf --- /dev/null +++ b/internlm_JanusCoderV-7B-Q4_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:828d42caf78494090baf36adae10d50d8b7202c9c341cc6eed5bcf7b8415da9b +size 4683072384 diff --git a/internlm_JanusCoderV-7B-Q4_K_S.gguf b/internlm_JanusCoderV-7B-Q4_K_S.gguf new file mode 100644 index 0000000..7cac536 --- /dev/null +++ b/internlm_JanusCoderV-7B-Q4_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:967e1054ec802b5a0a9be5e05627a58d8ec7343d557c1ac5fd37d9797a1f57e0 +size 4457767808 diff --git a/internlm_JanusCoderV-7B-Q5_K_L.gguf b/internlm_JanusCoderV-7B-Q5_K_L.gguf new file mode 100644 index 0000000..c7f5f7c --- /dev/null +++ b/internlm_JanusCoderV-7B-Q5_K_L.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a29d6671b2c21c0f1b3270ddd480725775b1e89c5b088abba47605fe6af30a7a +size 5781195648 diff --git a/internlm_JanusCoderV-7B-Q5_K_M.gguf b/internlm_JanusCoderV-7B-Q5_K_M.gguf new file mode 100644 index 0000000..5a9730b --- /dev/null +++ b/internlm_JanusCoderV-7B-Q5_K_M.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a442d2a70232a931c5d18918b0e30e011526080726c346a6ba2d50a4dab49309 +size 5444830080 diff --git a/internlm_JanusCoderV-7B-Q5_K_S.gguf b/internlm_JanusCoderV-7B-Q5_K_S.gguf new file mode 100644 index 0000000..b0f1585 --- /dev/null +++ b/internlm_JanusCoderV-7B-Q5_K_S.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8644cb4d2c973481b1f3051a2afbfeac551aa27d996909184bfc2cbdd939b16c +size 5315175296 diff --git a/internlm_JanusCoderV-7B-Q6_K.gguf b/internlm_JanusCoderV-7B-Q6_K.gguf new file mode 100644 index 0000000..ffa4bdc --- /dev/null +++ b/internlm_JanusCoderV-7B-Q6_K.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f5f0a75a4ec5fb8bfb4fedd87380c3e7d6d2305f0f7b26bff072b4eedd40e535 +size 6254197632 diff --git a/internlm_JanusCoderV-7B-Q6_K_L.gguf b/internlm_JanusCoderV-7B-Q6_K_L.gguf new file mode 100644 index 0000000..f380149 --- /dev/null +++ b/internlm_JanusCoderV-7B-Q6_K_L.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d45858a9e8e142d91b993bbdeed8e7d3b171541fdf41804ea04f7176f1e8596 +size 6518180736 diff --git a/internlm_JanusCoderV-7B-Q8_0.gguf b/internlm_JanusCoderV-7B-Q8_0.gguf new file mode 100644 index 0000000..4e3dd34 --- /dev/null +++ b/internlm_JanusCoderV-7B-Q8_0.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e0316e389da876d6e01d97492e781c0358dc32a04eddd439e06aa296619d2e87 +size 8098524032 diff --git a/internlm_JanusCoderV-7B-bf16.gguf b/internlm_JanusCoderV-7B-bf16.gguf new file mode 100644 index 0000000..f071b03 --- /dev/null +++ b/internlm_JanusCoderV-7B-bf16.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d69667cf79f53dfcf8252f49c0b7121e2f603495b32a83bd2df312f430158fe2 +size 15237851744 diff --git a/internlm_JanusCoderV-7B-imatrix.gguf b/internlm_JanusCoderV-7B-imatrix.gguf new file mode 100644 index 0000000..3ef6977 --- /dev/null +++ b/internlm_JanusCoderV-7B-imatrix.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f896ac81c6f51ad9fbaea5fe6e4002484d0411763a27f02dbe1326cfe7290a33 +size 4560352 diff --git a/mmproj-internlm_JanusCoderV-7B-bf16.gguf b/mmproj-internlm_JanusCoderV-7B-bf16.gguf new file mode 100644 index 0000000..2b6d292 --- /dev/null +++ b/mmproj-internlm_JanusCoderV-7B-bf16.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c6dad6151dd9f8000c803c34a4235fb72dbc8efcc80d39ba5ddb301260cd2e90 +size 1357173536 diff --git a/mmproj-internlm_JanusCoderV-7B-f16.gguf b/mmproj-internlm_JanusCoderV-7B-f16.gguf new file mode 100644 index 0000000..b2a1ba5 --- /dev/null +++ b/mmproj-internlm_JanusCoderV-7B-f16.gguf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2f1fd63d246282381b5a9a886ce9ca9ccfa954e754439761e41741d3be8a9b9c +size 1354162976