Last active
September 16, 2026 10:19
-
-
Save twobombs/e1b68bfc4edaf18c2b947256dbbb33a5 to your computer and use it in GitHub Desktop.
create imatrix from Qwen 3.8 9B BF16 MTP distilled and made into an iq3 quant
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # fetch calibration_datav3.txt from | |
| # https://gist.github.com/bartowski1182/eb213dccb3571f863da82e99418f81e8 | |
| git clone https://huggingface.co/empero-ai/Qwen3.8-9B-Distill | |
| pip3 install --break-system-packages transformers | |
| /llama-vulkan/convert_hf_to_gguf.py ./Qwen3.8-9B-Distill/ --outtype bf16 --outfile Qwen3.8-9B-MTP-BF16.gguf | |
| /llama-vulkan/build/bin/llama-imatrix -m Qwen3.8-9B-MTP-BF16.gguf -f calibration_datav3.txt -o Qwen3.8-9B.imatrix --chunks 200 -c 512 -ngl 99 | |
| /llama-vulkan/build/bin/llama-imatrix \ | |
| -m Qwen3.8-9B-MTP-BF16.gguf \ | |
| -f calibration_datav3.txt \ | |
| -o Qwen3.8-9B.imatrix \ | |
| --chunks 200 -c 512 -ngl 99 | |
| /llama-vulkan/build/bin/llama-quantize \ | |
| --imatrix Qwen3.8-9B.imatrix \ | |
| --tensor-type "blk\.32\.=q8_0" \ | |
| Qwen3.8-9B-MTP-BF16.gguf \ | |
| Qwen3.8-9B-MTP-IQ3_M.gguf IQ3_M | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment