Instructions to use tensorblock/QwQ-32B-bf16-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use tensorblock/QwQ-32B-bf16-GGUF 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("tensorblock/QwQ-32B-bf16-GGUF") 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) - llama-cpp-python
How to use tensorblock/QwQ-32B-bf16-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/QwQ-32B-bf16-GGUF", filename="QwQ-32B-bf16-Q2_K.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use tensorblock/QwQ-32B-bf16-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/QwQ-32B-bf16-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/QwQ-32B-bf16-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/QwQ-32B-bf16-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/QwQ-32B-bf16-GGUF:Q2_K
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 tensorblock/QwQ-32B-bf16-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/QwQ-32B-bf16-GGUF:Q2_K
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 tensorblock/QwQ-32B-bf16-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/QwQ-32B-bf16-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/QwQ-32B-bf16-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/QwQ-32B-bf16-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tensorblock/QwQ-32B-bf16-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/QwQ-32B-bf16-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tensorblock/QwQ-32B-bf16-GGUF:Q2_K
- Ollama
How to use tensorblock/QwQ-32B-bf16-GGUF with Ollama:
ollama run hf.co/tensorblock/QwQ-32B-bf16-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/QwQ-32B-bf16-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tensorblock/QwQ-32B-bf16-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tensorblock/QwQ-32B-bf16-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tensorblock/QwQ-32B-bf16-GGUF to start chatting
- Pi
How to use tensorblock/QwQ-32B-bf16-GGUF with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "tensorblock/QwQ-32B-bf16-GGUF"
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": "tensorblock/QwQ-32B-bf16-GGUF" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use tensorblock/QwQ-32B-bf16-GGUF 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 "tensorblock/QwQ-32B-bf16-GGUF"
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 tensorblock/QwQ-32B-bf16-GGUF
Run Hermes
hermes
- MLX LM
How to use tensorblock/QwQ-32B-bf16-GGUF with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "tensorblock/QwQ-32B-bf16-GGUF"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "tensorblock/QwQ-32B-bf16-GGUF" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/QwQ-32B-bf16-GGUF", "messages": [ {"role": "user", "content": "Hello"} ] }' - Docker Model Runner
How to use tensorblock/QwQ-32B-bf16-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/QwQ-32B-bf16-GGUF:Q2_K
- Lemonade
How to use tensorblock/QwQ-32B-bf16-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/QwQ-32B-bf16-GGUF:Q2_K
Run and chat with the model
lemonade run user.QwQ-32B-bf16-GGUF-Q2_K
List all available models
lemonade list
Keep Q2_K/Q3_K_M gguf only
Browse files- QwQ-32B-bf16-Q3_K_L.gguf +0 -3
- QwQ-32B-bf16-Q3_K_S.gguf +0 -3
- QwQ-32B-bf16-Q4_0.gguf +0 -3
- QwQ-32B-bf16-Q4_K_M.gguf +0 -3
- QwQ-32B-bf16-Q4_K_S.gguf +0 -3
- QwQ-32B-bf16-Q5_0.gguf +0 -3
- QwQ-32B-bf16-Q5_K_M.gguf +0 -3
- QwQ-32B-bf16-Q5_K_S.gguf +0 -3
- QwQ-32B-bf16-Q6_K.gguf +0 -3
- QwQ-32B-bf16-Q8_0.gguf +0 -3
QwQ-32B-bf16-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:18bdb710fd33757460ff62c6d7c50443d9bdb660adb81747d03e6e57bf2fc902
|
| 3 |
-
size 17247079040
|
|
|
|
|
|
|
|
|
|
|
|
QwQ-32B-bf16-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:67c6f8075a48bc1b09a3dd24f3b54a13cd43c7e9431b2e80ae046e5296306dfd
|
| 3 |
-
size 14392330880
|
|
|
|
|
|
|
|
|
|
|
|
QwQ-32B-bf16-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:44374233ca9378ae7492f1b2c8a68a734337430fa60daa6d7665b1b7b7d43595
|
| 3 |
-
size 18640231040
|
|
|
|
|
|
|
|
|
|
|
|
QwQ-32B-bf16-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:45a174c91c8f5d2921fc046cb6967fa10663a0c7cc5b1fafb92036e2d5a4a007
|
| 3 |
-
size 19851336320
|
|
|
|
|
|
|
|
|
|
|
|
QwQ-32B-bf16-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:15f9472a6c3559d98411fcb0b3665b575efa199bd0de23ef1553c0256980b686
|
| 3 |
-
size 18784410240
|
|
|
|
|
|
|
|
|
|
|
|
QwQ-32B-bf16-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:3226969bffa347740b4110a5cea93ef0fd21d405ceb1d72cd55389422042c82d
|
| 3 |
-
size 22638254720
|
|
|
|
|
|
|
|
|
|
|
|
QwQ-32B-bf16-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f1a1d97e97132b91f526d21d1f5c5fe20213a417c7a23232f7b71ea728824fb8
|
| 3 |
-
size 23262157440
|
|
|
|
|
|
|
|
|
|
|
|
QwQ-32B-bf16-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:69551f740615a7399b889509621a4cdfa4f48dc52c6f7885cb9c9d0033a2c1de
|
| 3 |
-
size 22638254720
|
|
|
|
|
|
|
|
|
|
|
|
QwQ-32B-bf16-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:d688b11643c3cd7cdbf5446bbb1714a6d589e14b894e22aad16f537c9346d7ad
|
| 3 |
-
size 26886154880
|
|
|
|
|
|
|
|
|
|
|
|
QwQ-32B-bf16-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:4f40f767ba7595710b55c979465a98864e4e9838587a224ef5252c7545def84e
|
| 3 |
-
size 34820885120
|
|
|
|
|
|
|
|
|
|
|
|