Views
No views yet
Note: All operations — conversion, quantization, benchmarking, and inference — were performed on an NVIDIA DGX Spark running NVIDIA DGX Spark OS Version 7.4.0 (GPU: NVIDIA GB10, 124 GB VRAM, compute capability 12.1).
| File | Type | Description |
|---|---|---|
Mixtral-8x7B-Instruct-v0.1-Q8_0.gguf | Q8_0 | Near-lossless quality, large size ✅ recommended |
Mixtral-8x7B-Instruct-v0.1-Q4_K_M.gguf | Q4_K_M | Golden standard — best quality/size trade-off |
1# Recommended — Q8_0
2wget https://huggingface.co/kostakoff/Mixtral-8x7B-Instruct-v0.1-GGUF/resolve/main/Mixtral-8x7B-Instruct-v0.1-Q8_0.gguf
3
4# Other quantizations:
5# wget https://huggingface.co/kostakoff/Mixtral-8x7B-Instruct-v0.1-GGUF/resolve/main/Mixtral-8x7B-Instruct-v0.1-Q4_K_M.ggufRequirements: CUDA-capable GPU, CMake ≥ 3.18, CUDA Toolkit
1mkdir -p ~/llamacpp && cd ~/llamacpp
2git clone https://github.com/ggml-org/llama.cpp
3cd llama.cpp
4cmake -B build -DGGML_CUDA=ON -DGGML_NATIVE=OFF
5cmake --build build --config Releaseversion: 8334 (463b6a963)1./llama.cpp/build/bin/llama-server \
2 -m ./Mixtral-8x7B-Instruct-v0.1-Q8_0.gguf \
3 --port 8080 \
4 --host 0.0.0.01curl -s http://127.0.0.1:8080/v1/chat/completions \
2 -H "Content-Type: application/json" \
3 -d '{
4 "model": "mixtral",
5 "messages": [
6 { "role": "user", "content": "Explain the MoE architecture in simple terms." }
7 ]
8 }' | jq -r '.choices[0].message.content'llama-bench on NVIDIA GB10 (124 GB VRAM):1./llama.cpp/build/bin/llama-bench \
2 -m ./Mixtral-8x7B-Instruct-v0.1-Q8_0.gguf \
3 -ngl 9999| model | size | params | backend | ngl | test | t/s |
|---|---|---|---|---|---|---|
| llama 8x7B Q8_0 | 46.22 GiB | 46.70 B | CUDA | 9999 | pp512 | 811.58 ± 6.23 |
| llama 8x7B Q8_0 | 46.22 GiB | 46.70 B | CUDA | 9999 | tg128 | 15.75 ± 0.03 |
1cd ~/llamacpp
2python3 -m venv .venv_llamacpp
3source ./.venv_llamacpp/bin/activate
4python -m pip install --upgrade pip
5pip3 install "torch==2.10.0" "torchvision==0.25.0" "torchaudio==2.10.0" \
6 --index-url https://download.pytorch.org/whl/cu130
7pip install -r ./llama.cpp/requirements/requirements-convert_legacy_llama.txt \
8 --extra-index-url https://download.pytorch.org/whl/cu130
9pip install mistral-common[image,audio] \
10 --extra-index-url https://download.pytorch.org/whl/cu1301cd ~/llamacpp
2source ./.venv_llamacpp/bin/activate
3python ./llama.cpp/convert_hf_to_gguf.py \
4 ~/llm/models/mixtral \
5 --verbose \
6 --outfile ./Mixtral-8x7B-Instruct-v0.1-bf16.gguf \
7 --outtype bf161# Q8_0 — near-lossless
2./llama.cpp/build/bin/llama-quantize \
3 ./Mixtral-8x7B-Instruct-v0.1-bf16.gguf \
4 ./Mixtral-8x7B-Instruct-v0.1-Q8_0.gguf \
5 Q8_0
6
7# Q4_K_M — golden standard
8./llama.cpp/build/bin/llama-quantize \
9 ./Mixtral-8x7B-Instruct-v0.1-bf16.gguf \
10 ./Mixtral-8x7B-Instruct-v0.1-Q4_K_M.gguf \
11 Q4_K_M