Text Generation
MLX
Safetensors
English
qwen2
quantization
mlx-q5
apple-silicon
quantized
q5
conversational
5-bit
Instructions to use LibraxisAI/QwQ-32B-MLX-Q5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use LibraxisAI/QwQ-32B-MLX-Q5 with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("LibraxisAI/QwQ-32B-MLX-Q5") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use LibraxisAI/QwQ-32B-MLX-Q5 with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "LibraxisAI/QwQ-32B-MLX-Q5"
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "LibraxisAI/QwQ-32B-MLX-Q5" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use LibraxisAI/QwQ-32B-MLX-Q5 with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "LibraxisAI/QwQ-32B-MLX-Q5"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "LibraxisAI/QwQ-32B-MLX-Q5" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "LibraxisAI/QwQ-32B-MLX-Q5", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use LibraxisAI/QwQ-32B-MLX-Q5 with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "LibraxisAI/QwQ-32B-MLX-Q5"
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default LibraxisAI/QwQ-32B-MLX-Q5
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use LibraxisAI/QwQ-32B-MLX-Q5 with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "LibraxisAI/QwQ-32B-MLX-Q5"
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "LibraxisAI/QwQ-32B-MLX-Q5" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
docs: add Tested inference path section, reorganize model card
Browse files
README.md
CHANGED
|
@@ -51,6 +51,20 @@ widget:
|
|
| 51 |
|
| 52 |
This card only reports metadata present in the Hugging Face repository, existing card frontmatter, or public config files. Missing benchmark, dataset, or training-run details are left explicit rather than reconstructed.
|
| 53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
## Usage
|
| 55 |
|
| 56 |
### CLI
|
|
@@ -96,7 +110,7 @@ print(response)
|
|
| 96 |
|
| 97 |
## Example output
|
| 98 |
|
| 99 |
-
No public sample output is currently declared for this checkpoint.
|
| 100 |
|
| 101 |
## Quantization notes
|
| 102 |
|
|
@@ -129,15 +143,6 @@ No public sample output is currently declared for this checkpoint. Run the usage
|
|
| 129 |
note = {MLX checkpoint published by LibraxisAI}
|
| 130 |
}
|
| 131 |
```
|
| 132 |
-
|
| 133 |
-
## Inference tested on
|
| 134 |
-
|
| 135 |
-
[`LibraxisAI/mlx-batch-server`](https://github.com/LibraxisAI/mlx-batch-server)
|
| 136 |
-
|
| 137 |
-
## Related
|
| 138 |
-
|
| 139 |
-
- Base model: [`Qwen/QwQ-32B`](https://huggingface.co/Qwen/QwQ-32B)
|
| 140 |
-
|
| 141 |
---
|
| 142 |
|
| 143 |
π
ππππππππππ. with AI Agents by VetCoders (c)2024-2026 LibraxisAI
|
|
|
|
| 51 |
|
| 52 |
This card only reports metadata present in the Hugging Face repository, existing card frontmatter, or public config files. Missing benchmark, dataset, or training-run details are left explicit rather than reconstructed.
|
| 53 |
|
| 54 |
+
## Tested inference path
|
| 55 |
+
|
| 56 |
+
> **Inference for this checkpoint has been tested with [`LibraxisAI/mlx-batch-server`](https://github.com/LibraxisAI/mlx-batch-server).**\
|
| 57 |
+
> This is the recommended tested path for operator-controlled local inference on Apple Silicon.
|
| 58 |
+
|
| 59 |
+
| Aspect | Status |
|
| 60 |
+
|---|---|
|
| 61 |
+
| Tested runtime | `LibraxisAI/mlx-batch-server` |
|
| 62 |
+
| Target hardware | Apple Silicon |
|
| 63 |
+
| Inference mode | Local / self-hosted |
|
| 64 |
+
| Hugging Face Hosted Inference | Disabled for this repository (`inference: false`) |
|
| 65 |
+
|
| 66 |
+
This does not claim compatibility with every possible serving stack. It documents the path that has been exercised for this published checkpoint.
|
| 67 |
+
|
| 68 |
## Usage
|
| 69 |
|
| 70 |
### CLI
|
|
|
|
| 110 |
|
| 111 |
## Example output
|
| 112 |
|
| 113 |
+
No public sample output is currently declared for this checkpoint.
|
| 114 |
|
| 115 |
## Quantization notes
|
| 116 |
|
|
|
|
| 143 |
note = {MLX checkpoint published by LibraxisAI}
|
| 144 |
}
|
| 145 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 146 |
---
|
| 147 |
|
| 148 |
π
ππππππππππ. with AI Agents by VetCoders (c)2024-2026 LibraxisAI
|