Instructions to use tensorblock/Light-R1-32B-DS-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/Light-R1-32B-DS-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="tensorblock/Light-R1-32B-DS-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/Light-R1-32B-DS-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/Light-R1-32B-DS-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/Light-R1-32B-DS-GGUF", filename="Light-R1-32B-DS-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/Light-R1-32B-DS-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/Light-R1-32B-DS-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/Light-R1-32B-DS-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/Light-R1-32B-DS-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/Light-R1-32B-DS-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/Light-R1-32B-DS-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/Light-R1-32B-DS-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/Light-R1-32B-DS-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/Light-R1-32B-DS-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/Light-R1-32B-DS-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/Light-R1-32B-DS-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tensorblock/Light-R1-32B-DS-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/Light-R1-32B-DS-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tensorblock/Light-R1-32B-DS-GGUF:Q2_K
- SGLang
How to use tensorblock/Light-R1-32B-DS-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "tensorblock/Light-R1-32B-DS-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/Light-R1-32B-DS-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "tensorblock/Light-R1-32B-DS-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/Light-R1-32B-DS-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use tensorblock/Light-R1-32B-DS-GGUF with Ollama:
ollama run hf.co/tensorblock/Light-R1-32B-DS-GGUF:Q2_K
- Unsloth Studio new
How to use tensorblock/Light-R1-32B-DS-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/Light-R1-32B-DS-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/Light-R1-32B-DS-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/Light-R1-32B-DS-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/Light-R1-32B-DS-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/Light-R1-32B-DS-GGUF:Q2_K
- Lemonade
How to use tensorblock/Light-R1-32B-DS-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/Light-R1-32B-DS-GGUF:Q2_K
Run and chat with the model
lemonade run user.Light-R1-32B-DS-GGUF-Q2_K
List all available models
lemonade list
Keep Q2_K/Q3_K_M gguf only
Browse files- Light-R1-32B-DS-Q3_K_L.gguf +0 -3
- Light-R1-32B-DS-Q3_K_S.gguf +0 -3
- Light-R1-32B-DS-Q4_0.gguf +0 -3
- Light-R1-32B-DS-Q4_K_M.gguf +0 -3
- Light-R1-32B-DS-Q4_K_S.gguf +0 -3
- Light-R1-32B-DS-Q5_0.gguf +0 -3
- Light-R1-32B-DS-Q5_K_M.gguf +0 -3
- Light-R1-32B-DS-Q5_K_S.gguf +0 -3
- Light-R1-32B-DS-Q6_K.gguf +0 -3
- Light-R1-32B-DS-Q8_0.gguf +0 -3
Light-R1-32B-DS-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:39c7de75263ac0a60ef3e7eab046bc157c40ac3b9b6cb55ce7ac5526eba40817
|
| 3 |
-
size 17247078688
|
|
|
|
|
|
|
|
|
|
|
|
Light-R1-32B-DS-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:587e7d35e77ec5d07f2858e94a1ca5816baa33b74371723345217318f90b6c2a
|
| 3 |
-
size 14392330528
|
|
|
|
|
|
|
|
|
|
|
|
Light-R1-32B-DS-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:653c3e75ce39b047a8de3703632461bafbbaf6dab4f436e7c210282eb51a3b73
|
| 3 |
-
size 18640230688
|
|
|
|
|
|
|
|
|
|
|
|
Light-R1-32B-DS-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:95fdfd18f329e278849e4c9f3e0ebc2896bf66079569cad82af2b67fd1e4b960
|
| 3 |
-
size 19851335968
|
|
|
|
|
|
|
|
|
|
|
|
Light-R1-32B-DS-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:c5135a766f15b9abb6b247e4cd551f47826bb827dfd2753ce878b062fac509e8
|
| 3 |
-
size 18784409888
|
|
|
|
|
|
|
|
|
|
|
|
Light-R1-32B-DS-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:30f4cae40e3fc6f85e4362687ac3fe2a61dfbc3f10eb60fc558ad82c2316db39
|
| 3 |
-
size 22638254368
|
|
|
|
|
|
|
|
|
|
|
|
Light-R1-32B-DS-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:1bcd861607d7cc16150a26c098cd47dada86fc6bdc594e1376032b898820c3bb
|
| 3 |
-
size 23262157088
|
|
|
|
|
|
|
|
|
|
|
|
Light-R1-32B-DS-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:a514b2f237a92b5289d1f82536582d9c8c7aa0e7abfb6c9e30b8a4c5c3b486fe
|
| 3 |
-
size 22638254368
|
|
|
|
|
|
|
|
|
|
|
|
Light-R1-32B-DS-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:d71a2a0d74dfb9f9f0d4d65fabd09d08e52c93cee2463e45d22da3d51e2da4cd
|
| 3 |
-
size 26886154528
|
|
|
|
|
|
|
|
|
|
|
|
Light-R1-32B-DS-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:2f14888760b955a5d7ca713dabf74643c42e54412c48f782bf7057ff61a406e9
|
| 3 |
-
size 34820884768
|
|
|
|
|
|
|
|
|
|
|
|