Instructions to use meshllm/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use meshllm/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="meshllm/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers", filename="layers/layer-000.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 meshllm/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf meshllm/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers # Run inference directly in the terminal: llama-cli -hf meshllm/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf meshllm/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers # Run inference directly in the terminal: llama-cli -hf meshllm/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers
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 meshllm/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers # Run inference directly in the terminal: ./llama-cli -hf meshllm/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers
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 meshllm/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers # Run inference directly in the terminal: ./build/bin/llama-cli -hf meshllm/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers
Use Docker
docker model run hf.co/meshllm/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers
- LM Studio
- Jan
- vLLM
How to use meshllm/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "meshllm/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "meshllm/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/meshllm/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers
- Ollama
How to use meshllm/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers with Ollama:
ollama run hf.co/meshllm/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers
- Unsloth Studio new
How to use meshllm/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers 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 meshllm/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers 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 meshllm/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for meshllm/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers to start chatting
- Docker Model Runner
How to use meshllm/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers with Docker Model Runner:
docker model run hf.co/meshllm/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers
- Lemonade
How to use meshllm/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull meshllm/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers
Run and chat with the model
lemonade run user.DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers-{{QUANT_TAG}}List all available models
lemonade list
GGUF layer package for running DeepSeek-R1-Distill-Qwen-32B-Q4_K_M across a local Mesh LLM cluster.
This package is derived from unsloth/DeepSeek-R1-Distill-Qwen-32B-GGUF and keeps the original GGUF distribution split into per-layer artifacts for distributed inference.
Highlights
| Run locally | Pool multiple machines | OpenAI-compatible | Package variant |
|---|---|---|---|
| Private inference on your hardware | Split layers across peers | Serve /v1/chat/completions locally |
Q4_K_M layer package |
Model Overview
| Property | Value |
|---|---|
| Source model | unsloth/DeepSeek-R1-Distill-Qwen-32B-GGUF |
| Model id | unsloth/DeepSeek-R1-Distill-Qwen-32B-GGUF:Q4_K_M |
| Family | DeepSeek |
| Parameter scale | 32B |
| Quantization | Q4_K_M |
| Layer count | 64 |
| Activation width | 5120 |
| Package size | 18.9 GB |
| Source file | DeepSeek-R1-Distill-Qwen-32B-Q4_K_M.gguf |
| Package repo | meshllm/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers |
Recommended Use
- Local and private inference with Mesh LLM.
- Multi-machine serving when the full GGUF is too large for one host.
- OpenAI-compatible chat/completions workflows through Mesh LLM's local API.
For upstream architecture details, chat template guidance, sampling recommendations, license terms, and benchmark notes, see the source model card: unsloth/DeepSeek-R1-Distill-Qwen-32B-GGUF.
Quickstart
# Run this on each machine that should contribute memory/compute.
mesh-llm serve --model "meshllm/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers" --split
# Check the mesh and discover the OpenAI-compatible model name.
curl -s http://localhost:3131/api/status
curl -s http://localhost:3131/v1/models
# Send an OpenAI-compatible chat request.
curl -s http://localhost:3131/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "unsloth/DeepSeek-R1-Distill-Qwen-32B-GGUF:Q4_K_M",
"messages": [{"role": "user", "content": "Write a tiny hello-world function in Rust."}],
"max_tokens": 128
}'
Package Variant
| Property | Value |
|---|---|
| Format | layer-package |
| Canonical source ref | unsloth/DeepSeek-R1-Distill-Qwen-32B-GGUF@main/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M.gguf |
| Source revision | main |
| Source SHA-256 | ca171ca03554ee20cf67ad6b540610ae7eabb95af00c0abd36bb73542e140fb5 |
| Skippy ABI | 0.1.24 |
| Package manifest SHA-256 | 52a2a98921bd46dbe0424f28fb053264ea596a06f71a63c0d9e02dbbcd0da554 |
What Is Included
| Artifact | Path | Contents | SHA-256 |
|---|---|---|---|
| Manifest | model-package.json |
Package schema, source identity, checksums | 52a2a98921bd46dbe0424f28fb053264ea596a06f71a63c0d9e02dbbcd0da554 |
| Metadata | shared/metadata.gguf |
0 tensors, 5.7 MB | d17a036a47dce40ea24df9ba0c8ad2ad4e9a37329d87ddf895d799405b6317e7 |
| Embeddings | shared/embeddings.gguf |
1 tensors, 423.3 MB | 4f302840f7d77705a1688858fe61f7f48eb9e2ee0a838a0e74522f63e9ddefc6 |
| Output head | shared/output.gguf |
2 tensors, 614.8 MB | b4ada8e27b043a4a2397f09905a7775c87e62478b8222902e00f77e1b62c6c12 |
| Transformer layers | layers/layer-*.gguf |
64 layer artifacts, 768 tensors, 17.8 GB | see model-package.json |
Validation
Generated by the Mesh LLM HF Jobs splitter from mesh-llm ref main.
Each artifact is checksummed as it is written, uploaded to this repository, and removed from the job workspace before the next artifact is produced.
skippy-model-package write-package "/source/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M.gguf" --out-dir "/tmp/meshllm-layer-job-meshllm_DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers-193/package"
Links
- Source model: unsloth/DeepSeek-R1-Distill-Qwen-32B-GGUF
- Mesh LLM website: meshllm.cloud
- Mesh LLM: github.com/Mesh-LLM/mesh-llm
- Discord: discord.gg/rs6fmc63eN
- Package catalog: meshllm/catalog
- Package format: layer-package-repos.md
- Downloads last month
- -
We're not able to determine the quantization variants.
Model tree for meshllm/DeepSeek-R1-Distill-Qwen-32B-Q4_K_M-layers
Base model
deepseek-ai/DeepSeek-R1-Distill-Qwen-32B