Instructions to use majentik/gemma-4-31B-it-RotorQuant-GGUF-Q4_K_M 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 majentik/gemma-4-31B-it-RotorQuant-GGUF-Q4_K_M 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 majentik/gemma-4-31B-it-RotorQuant-GGUF-Q4_K_M:Q4_K_M # Run inference directly in the terminal: llama cli -hf majentik/gemma-4-31B-it-RotorQuant-GGUF-Q4_K_M:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf majentik/gemma-4-31B-it-RotorQuant-GGUF-Q4_K_M:Q4_K_M # Run inference directly in the terminal: llama cli -hf majentik/gemma-4-31B-it-RotorQuant-GGUF-Q4_K_M:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf majentik/gemma-4-31B-it-RotorQuant-GGUF-Q4_K_M:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf majentik/gemma-4-31B-it-RotorQuant-GGUF-Q4_K_M:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf majentik/gemma-4-31B-it-RotorQuant-GGUF-Q4_K_M:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf majentik/gemma-4-31B-it-RotorQuant-GGUF-Q4_K_M:Q4_K_M
Use Docker
docker model run hf.co/majentik/gemma-4-31B-it-RotorQuant-GGUF-Q4_K_M:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use majentik/gemma-4-31B-it-RotorQuant-GGUF-Q4_K_M with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "majentik/gemma-4-31B-it-RotorQuant-GGUF-Q4_K_M" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "majentik/gemma-4-31B-it-RotorQuant-GGUF-Q4_K_M", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/majentik/gemma-4-31B-it-RotorQuant-GGUF-Q4_K_M:Q4_K_M
- Ollama
How to use majentik/gemma-4-31B-it-RotorQuant-GGUF-Q4_K_M with Ollama:
ollama run hf.co/majentik/gemma-4-31B-it-RotorQuant-GGUF-Q4_K_M:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use majentik/gemma-4-31B-it-RotorQuant-GGUF-Q4_K_M with Docker Model Runner:
docker model run hf.co/majentik/gemma-4-31B-it-RotorQuant-GGUF-Q4_K_M:Q4_K_M
- Lemonade
How to use majentik/gemma-4-31B-it-RotorQuant-GGUF-Q4_K_M with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull majentik/gemma-4-31B-it-RotorQuant-GGUF-Q4_K_M:Q4_K_M
Run and chat with the model
lemonade run user.gemma-4-31B-it-RotorQuant-GGUF-Q4_K_M-Q4_K_M
List all available models
lemonade list
- Atomic Chat
fix: family model links majentik/gemma4-* -> majentik/gemma-4-* (reported by @shramee in gemma-4-31B-TurboQuant-MLX-4bit#1)
Browse files
README.md
CHANGED
|
@@ -175,25 +175,25 @@ For VRAM-constrained setups, standard q8_0 KV cache quantization already halves
|
|
| 175 |
|
| 176 |
## Variants in this family
|
| 177 |
|
| 178 |
-
(Showing 18 sibling variants under `majentik/
|
| 179 |
|
| 180 |
| Variant | Runtime | Approx size | Use case |
|
| 181 |
|---|---|---|---|
|
| 182 |
-
| [RotorQuant](https://huggingface.co/majentik/
|
| 183 |
-
| [RotorQuant-AWQ-4bit](https://huggingface.co/majentik/
|
| 184 |
-
| [RotorQuant-AWQ-8bit](https://huggingface.co/majentik/
|
| 185 |
-
| [RotorQuant-GGUF-IQ4_XS](https://huggingface.co/majentik/
|
| 186 |
-
| [RotorQuant-GGUF-Q2_K](https://huggingface.co/majentik/
|
| 187 |
-
| [RotorQuant-GGUF-Q3_K_M](https://huggingface.co/majentik/
|
| 188 |
| **RotorQuant-GGUF-Q4_K_M** | llama.cpp | ~34 GB | Balanced default |
|
| 189 |
-
| [RotorQuant-GGUF-Q5_K_M](https://huggingface.co/majentik/
|
| 190 |
-
| [RotorQuant-GGUF-Q8_0](https://huggingface.co/majentik/
|
| 191 |
-
| [RotorQuant-MLX-2bit](https://huggingface.co/majentik/
|
| 192 |
-
| [RotorQuant-MLX-4bit](https://huggingface.co/majentik/
|
| 193 |
-
| [RotorQuant-MLX-8bit](https://huggingface.co/majentik/
|
| 194 |
-
| [TurboQuant](https://huggingface.co/majentik/
|
| 195 |
-
| [TurboQuant-AWQ-4bit](https://huggingface.co/majentik/
|
| 196 |
-
| [TurboQuant-AWQ-8bit](https://huggingface.co/majentik/
|
| 197 |
-
| [TurboQuant-MLX-2bit](https://huggingface.co/majentik/
|
| 198 |
-
| [TurboQuant-MLX-4bit](https://huggingface.co/majentik/
|
| 199 |
-
| [TurboQuant-MLX-8bit](https://huggingface.co/majentik/
|
|
|
|
| 175 |
|
| 176 |
## Variants in this family
|
| 177 |
|
| 178 |
+
(Showing 18 sibling variants under `majentik/gemma-4-31b-it-*`. The current variant — `RotorQuant-GGUF-Q4_K_M` — is **bolded**.)
|
| 179 |
|
| 180 |
| Variant | Runtime | Approx size | Use case |
|
| 181 |
|---|---|---|---|
|
| 182 |
+
| [RotorQuant](https://huggingface.co/majentik/gemma-4-31b-it-rotorquant) | runtime modifier | n/a | KV-cache root (weight-agnostic) |
|
| 183 |
+
| [RotorQuant-AWQ-4bit](https://huggingface.co/majentik/gemma-4-31b-it-rotorquant-awq-4bit) | transformers | ~19 GB | GPU 4-bit (AutoAWQ) |
|
| 184 |
+
| [RotorQuant-AWQ-8bit](https://huggingface.co/majentik/gemma-4-31b-it-rotorquant-awq-8bit) | transformers | ~34 GB | GPU 8-bit (AutoAWQ) |
|
| 185 |
+
| [RotorQuant-GGUF-IQ4_XS](https://huggingface.co/majentik/gemma-4-31b-it-rotorquant-gguf-IQ4_XS) | llama.cpp | ~27 GB | Lossy 4-bit, low-RAM CPU/edge |
|
| 186 |
+
| [RotorQuant-GGUF-Q2_K](https://huggingface.co/majentik/gemma-4-31b-it-rotorquant-gguf-Q2_K) | llama.cpp | ~19 GB | Lossy, low-RAM CPU/edge |
|
| 187 |
+
| [RotorQuant-GGUF-Q3_K_M](https://huggingface.co/majentik/gemma-4-31b-it-rotorquant-gguf-Q3_K_M) | llama.cpp | ~24 GB | Smaller 3-bit, CPU-friendly |
|
| 188 |
| **RotorQuant-GGUF-Q4_K_M** | llama.cpp | ~34 GB | Balanced default |
|
| 189 |
+
| [RotorQuant-GGUF-Q5_K_M](https://huggingface.co/majentik/gemma-4-31b-it-rotorquant-gguf-Q5_K_M) | llama.cpp | ~41 GB | Higher fidelity, more RAM |
|
| 190 |
+
| [RotorQuant-GGUF-Q8_0](https://huggingface.co/majentik/gemma-4-31b-it-rotorquant-gguf-Q8_0) | llama.cpp | ~65 GB | Near-lossless reference |
|
| 191 |
+
| [RotorQuant-MLX-2bit](https://huggingface.co/majentik/gemma-4-31b-it-rotorquant-mlx-2bit) | mlx-lm | ~9.9 GB | Apple Silicon, smallest |
|
| 192 |
+
| [RotorQuant-MLX-4bit](https://huggingface.co/majentik/gemma-4-31b-it-rotorquant-mlx-4bit) | mlx-lm | ~19 GB | Apple Silicon balanced |
|
| 193 |
+
| [RotorQuant-MLX-8bit](https://huggingface.co/majentik/gemma-4-31b-it-rotorquant-mlx-8bit) | mlx-lm | ~37 GB | Apple Silicon reference |
|
| 194 |
+
| [TurboQuant](https://huggingface.co/majentik/gemma-4-31b-it-turboquant) | runtime modifier | n/a | KV-cache root (weight-agnostic) |
|
| 195 |
+
| [TurboQuant-AWQ-4bit](https://huggingface.co/majentik/gemma-4-31b-it-turboquant-awq-4bit) | transformers | ~19 GB | GPU 4-bit (AutoAWQ) |
|
| 196 |
+
| [TurboQuant-AWQ-8bit](https://huggingface.co/majentik/gemma-4-31b-it-turboquant-awq-8bit) | transformers | ~34 GB | GPU 8-bit (AutoAWQ) |
|
| 197 |
+
| [TurboQuant-MLX-2bit](https://huggingface.co/majentik/gemma-4-31b-it-turboquant-mlx-2bit) | mlx-lm | ~9.9 GB | Apple Silicon, smallest |
|
| 198 |
+
| [TurboQuant-MLX-4bit](https://huggingface.co/majentik/gemma-4-31b-it-turboquant-mlx-4bit) | mlx-lm | ~19 GB | Apple Silicon balanced |
|
| 199 |
+
| [TurboQuant-MLX-8bit](https://huggingface.co/majentik/gemma-4-31b-it-turboquant-mlx-8bit) | mlx-lm | ~37 GB | Apple Silicon reference |
|