Instructions to use tensorblock/Light-R1-7B-DS-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/Light-R1-7B-DS-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="tensorblock/Light-R1-7B-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-7B-DS-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/Light-R1-7B-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-7B-DS-GGUF", filename="Light-R1-7B-DS-Q2_K.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/Light-R1-7B-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-7B-DS-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/Light-R1-7B-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-7B-DS-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/Light-R1-7B-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-7B-DS-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/Light-R1-7B-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-7B-DS-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/Light-R1-7B-DS-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/Light-R1-7B-DS-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/Light-R1-7B-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-7B-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-7B-DS-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tensorblock/Light-R1-7B-DS-GGUF:Q2_K
- SGLang
How to use tensorblock/Light-R1-7B-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-7B-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-7B-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-7B-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-7B-DS-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use tensorblock/Light-R1-7B-DS-GGUF with Ollama:
ollama run hf.co/tensorblock/Light-R1-7B-DS-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/Light-R1-7B-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-7B-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-7B-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-7B-DS-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/Light-R1-7B-DS-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/Light-R1-7B-DS-GGUF:Q2_K
- Lemonade
How to use tensorblock/Light-R1-7B-DS-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/Light-R1-7B-DS-GGUF:Q2_K
Run and chat with the model
lemonade run user.Light-R1-7B-DS-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- Light-R1-7B-DS-Q3_K_L.gguf +0 -3
- Light-R1-7B-DS-Q3_K_M.gguf +0 -3
- Light-R1-7B-DS-Q3_K_S.gguf +0 -3
- Light-R1-7B-DS-Q4_0.gguf +0 -3
- Light-R1-7B-DS-Q4_K_M.gguf +0 -3
- Light-R1-7B-DS-Q4_K_S.gguf +0 -3
- Light-R1-7B-DS-Q5_0.gguf +0 -3
- Light-R1-7B-DS-Q5_K_M.gguf +0 -3
- Light-R1-7B-DS-Q5_K_S.gguf +0 -3
- Light-R1-7B-DS-Q6_K.gguf +0 -3
- Light-R1-7B-DS-Q8_0.gguf +0 -3
Light-R1-7B-DS-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:27f6251e6dac61183510bc9957b8b0a538888ae848100119391e8dcc924906b3
|
| 3 |
-
size 4088459360
|
|
|
|
|
|
|
|
|
|
|
|
Light-R1-7B-DS-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:1346038c8f15eac07f880368f3d8060f2416a7593da4a478a63b7ea330456103
|
| 3 |
-
size 3808391264
|
|
|
|
|
|
|
|
|
|
|
|
Light-R1-7B-DS-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:4590cce24070fa5f9fd098ac6f071461b13dc777a392857be6b8e76011f71d4b
|
| 3 |
-
size 3492368480
|
|
|
|
|
|
|
|
|
|
|
|
Light-R1-7B-DS-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:68e937ab71ab67e15c006bbbd0957e9f0e31b787a12b34aba48afadb35c13095
|
| 3 |
-
size 4431390816
|
|
|
|
|
|
|
|
|
|
|
|
Light-R1-7B-DS-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:fb7ea3aa64cdc7b64882305819429abe97fcc47394ce06507ead66fe39ef6cc9
|
| 3 |
-
size 4683073632
|
|
|
|
|
|
|
|
|
|
|
|
Light-R1-7B-DS-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:7e4619e38d1b37d7a70441b4a7e6fc230e3d8c385a0fe514e909eb47089275d5
|
| 3 |
-
size 4457769056
|
|
|
|
|
|
|
|
|
|
|
|
Light-R1-7B-DS-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:79b0874aceb04c8c3f53813a47622568442f0b496352b095d648a1210b31093e
|
| 3 |
-
size 5315176544
|
|
|
|
|
|
|
|
|
|
|
|
Light-R1-7B-DS-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:5fe7eb13195a04d6891de5fffcdb2649be7784f132989609fdb6496ec25b09f5
|
| 3 |
-
size 5444831328
|
|
|
|
|
|
|
|
|
|
|
|
Light-R1-7B-DS-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:00bc3b793441008aa372a100d9f2bc3dc04e3aeecbfd92c7ad2452628f6277ae
|
| 3 |
-
size 5315176544
|
|
|
|
|
|
|
|
|
|
|
|
Light-R1-7B-DS-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:397b6db65dc44dcbe411df27eabeaff4d7d35eac2054979ceff07611884b4cc6
|
| 3 |
-
size 6254198880
|
|
|
|
|
|
|
|
|
|
|
|
Light-R1-7B-DS-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:82d55b4c85de5b49684854541732712c98a92a1bb8f8ce0112b0f3b8fdd31ab8
|
| 3 |
-
size 8098525280
|
|
|
|
|
|
|
|
|
|
|
|