Instructions to use Xylolabs/GigaChat4-37B-A4B-base-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Xylolabs/GigaChat4-37B-A4B-base-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Xylolabs/GigaChat4-37B-A4B-base-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Xylolabs/GigaChat4-37B-A4B-base-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Xylolabs/GigaChat4-37B-A4B-base-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Xylolabs/GigaChat4-37B-A4B-base-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf Xylolabs/GigaChat4-37B-A4B-base-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf Xylolabs/GigaChat4-37B-A4B-base-GGUF:Q4_K_M
Use Docker
docker model run hf.co/Xylolabs/GigaChat4-37B-A4B-base-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use Xylolabs/GigaChat4-37B-A4B-base-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Xylolabs/GigaChat4-37B-A4B-base-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Xylolabs/GigaChat4-37B-A4B-base-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Xylolabs/GigaChat4-37B-A4B-base-GGUF:Q4_K_M
- Ollama
How to use Xylolabs/GigaChat4-37B-A4B-base-GGUF with Ollama:
ollama run hf.co/Xylolabs/GigaChat4-37B-A4B-base-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use Xylolabs/GigaChat4-37B-A4B-base-GGUF with Docker Model Runner:
docker model run hf.co/Xylolabs/GigaChat4-37B-A4B-base-GGUF:Q4_K_M
- Lemonade
How to use Xylolabs/GigaChat4-37B-A4B-base-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Xylolabs/GigaChat4-37B-A4B-base-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.GigaChat4-37B-A4B-base-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
GigaChat4-37B-A4B-base GGUF
GGUF quants of ai-sage/GigaChat4-37B-A4B-base for llama.cpp, with the model's MTP layer for --spec-type draft-mtp.
Other builds: MLX 8-bit and MLX 4-bit of this model; the instruct model as GGUF, MLX 8-bit and MLX 4-bit.
Files
| File | Parts | Size |
|---|---|---|
GigaChat4-37B-A4B-base-Q8_0.gguf |
1 | 40.04 GB |
GigaChat4-37B-A4B-base-Q6_K.gguf |
1 | 31.44 GB |
GigaChat4-37B-A4B-base-Q5_K_M.gguf |
1 | 27.22 GB |
GigaChat4-37B-A4B-base-Q4_K_M.gguf |
1 | 23.24 GB |
GigaChat4-37B-A4B-base-Q4_K_S.gguf |
1 | 21.86 GB |
GigaChat4-37B-A4B-base-IQ4_XS.gguf |
1 | 20.63 GB |
GigaChat4-37B-A4B-base-Q3_K_M.gguf |
1 | 18.37 GB |
GigaChat4-37B-A4B-base-Q2_K.gguf |
1 | 14.14 GB |
GigaChat4-37B-A4B-base.imatrix |
1 | 291.03 MB |
How to run
Needs llama.cpp built from commit 0541e50e2f in PR #32767.
git clone https://github.com/ggml-org/llama.cpp
(
cd llama.cpp
git fetch origin pull/32767/head
git checkout 0541e50e2f
cmake -S . -B build-cuda -DGGML_CUDA=ON
cmake --build build-cuda --config Release --target llama-completion
)
./llama.cpp/build-cuda/bin/llama-completion -m GigaChat4-37B-A4B-base-Q4_K_M.gguf -p 'The capital of Australia is' -n 64 -no-cnv
Accuracy
| Quant | Size | WikiText-2 KL | top-1 | Held-out KL | top-1 | Completion answers |
|---|---|---|---|---|---|---|
| Q8_0 | 40.04 GB | 0.001784 | 98.36% | 0.002529 | 97.92% | 4/7 |
| Q6_K | 31.44 GB | 0.002544 | 98.20% | 0.003158 | 97.96% | 5/7 |
| Q5_K_M | 27.22 GB | 0.004365 | 97.10% | 0.004804 | 97.08% | 5/7 |
| Q4_K_M | 23.24 GB | 0.010865 | 96.14% | 0.009940 | 95.78% | 5/7 |
| Q4_K_S | 21.86 GB | 0.012908 | 95.94% | 0.012222 | 95.35% | 5/7 |
| IQ4_XS | 20.63 GB | 0.019319 | 94.91% | 0.015987 | 94.49% | 4/7 |
| Q3_K_M | 18.37 GB | 0.040123 | 92.09% | 0.036154 | 92.51% | 4/7 |
| Q2_K | 14.14 GB | 0.132627 | 86.19% | 0.132134 | 85.41% | 4/7 |
Which file for your hardware
For a 24 GB GPU, use Q4_K_M with --n-cpu-moe 33 to keep the experts in system RAM.
License and notices
Noncommercial License for individuals 1.0 (LICENSE.txt), the source model's license; our quantized files are offered under the same terms. Converted to GGUF and quantized by Xylolabs. Copyright (c) 2026 Giga.
Updates
- 2026-11-29: Added the importance matrix
GigaChat4-37B-A4B-base.imatrixused for the quantized levels. - 2026-11-29: Charts redrawn in the dark theme with fewer point labels.
- 2026-11-28: Card corrections.
- Downloads last month
- 710
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
Model tree for Xylolabs/GigaChat4-37B-A4B-base-GGUF
Base model
ai-sage/GigaChat4-37B-A4B-base