Instructions to use tensorblock/Llama-3.1-Tulu-3-8B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/Llama-3.1-Tulu-3-8B-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="tensorblock/Llama-3.1-Tulu-3-8B-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/Llama-3.1-Tulu-3-8B-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/Llama-3.1-Tulu-3-8B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/Llama-3.1-Tulu-3-8B-GGUF", filename="Llama-3.1-Tulu-3-8B-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/Llama-3.1-Tulu-3-8B-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/Llama-3.1-Tulu-3-8B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/Llama-3.1-Tulu-3-8B-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/Llama-3.1-Tulu-3-8B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/Llama-3.1-Tulu-3-8B-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/Llama-3.1-Tulu-3-8B-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/Llama-3.1-Tulu-3-8B-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/Llama-3.1-Tulu-3-8B-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/Llama-3.1-Tulu-3-8B-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/Llama-3.1-Tulu-3-8B-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/Llama-3.1-Tulu-3-8B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tensorblock/Llama-3.1-Tulu-3-8B-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/Llama-3.1-Tulu-3-8B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tensorblock/Llama-3.1-Tulu-3-8B-GGUF:Q2_K
- SGLang
How to use tensorblock/Llama-3.1-Tulu-3-8B-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/Llama-3.1-Tulu-3-8B-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/Llama-3.1-Tulu-3-8B-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/Llama-3.1-Tulu-3-8B-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/Llama-3.1-Tulu-3-8B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use tensorblock/Llama-3.1-Tulu-3-8B-GGUF with Ollama:
ollama run hf.co/tensorblock/Llama-3.1-Tulu-3-8B-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/Llama-3.1-Tulu-3-8B-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/Llama-3.1-Tulu-3-8B-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/Llama-3.1-Tulu-3-8B-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/Llama-3.1-Tulu-3-8B-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use tensorblock/Llama-3.1-Tulu-3-8B-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/Llama-3.1-Tulu-3-8B-GGUF:Q2_K
- Lemonade
How to use tensorblock/Llama-3.1-Tulu-3-8B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/Llama-3.1-Tulu-3-8B-GGUF:Q2_K
Run and chat with the model
lemonade run user.Llama-3.1-Tulu-3-8B-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- Llama-3.1-Tulu-3-8B-Q3_K_L.gguf +0 -3
- Llama-3.1-Tulu-3-8B-Q3_K_M.gguf +0 -3
- Llama-3.1-Tulu-3-8B-Q3_K_S.gguf +0 -3
- Llama-3.1-Tulu-3-8B-Q4_0.gguf +0 -3
- Llama-3.1-Tulu-3-8B-Q4_K_M.gguf +0 -3
- Llama-3.1-Tulu-3-8B-Q4_K_S.gguf +0 -3
- Llama-3.1-Tulu-3-8B-Q5_0.gguf +0 -3
- Llama-3.1-Tulu-3-8B-Q5_K_M.gguf +0 -3
- Llama-3.1-Tulu-3-8B-Q5_K_S.gguf +0 -3
- Llama-3.1-Tulu-3-8B-Q6_K.gguf +0 -3
- Llama-3.1-Tulu-3-8B-Q8_0.gguf +0 -3
Llama-3.1-Tulu-3-8B-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:b0acd25e30b13076a6010ca2b91866333e20fa393024136a618a32fed73f9112
|
| 3 |
-
size 4321998304
|
|
|
|
|
|
|
|
|
|
|
|
Llama-3.1-Tulu-3-8B-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ae9e382b2e1af8d4648cc70b39e793138faee2bd34094143e299a66ec00ae740
|
| 3 |
-
size 4018959840
|
|
|
|
|
|
|
|
|
|
|
|
Llama-3.1-Tulu-3-8B-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:cdf9445c551dbb3738bbe1b9ed9004f898a248a194204c4d3793fdaf55c89265
|
| 3 |
-
size 3664541152
|
|
|
|
|
|
|
|
|
|
|
|
Llama-3.1-Tulu-3-8B-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:0b3d23ee0d2a79a0e8b3459e37fa1f70a4cc1995107d396ecccf1a1df5d30974
|
| 3 |
-
size 4661257952
|
|
|
|
|
|
|
|
|
|
|
|
Llama-3.1-Tulu-3-8B-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:9e66850cc1bfb002c678088f7143e64416dd43675fb16cff9e8014cdeb182322
|
| 3 |
-
size 4920780512
|
|
|
|
|
|
|
|
|
|
|
|
Llama-3.1-Tulu-3-8B-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:5d8e2f68d18d01a8202cd533a76a404594362ae3230a1653baf93e4017e9055e
|
| 3 |
-
size 4692715232
|
|
|
|
|
|
|
|
|
|
|
|
Llama-3.1-Tulu-3-8B-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:84d699d700cab999efd375664abe00997c5c2c86ad54b6e8079b46e4cfc11060
|
| 3 |
-
size 5599344352
|
|
|
|
|
|
|
|
|
|
|
|
Llama-3.1-Tulu-3-8B-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:33211799d7c889979546ae76ceec2b0f2a0c0edfd9fd77bb32306af7d1bef596
|
| 3 |
-
size 5733037792
|
|
|
|
|
|
|
|
|
|
|
|
Llama-3.1-Tulu-3-8B-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:9bbf25ce4266002af4fb53f21e3a6b76b8d5e75b1151a074cf1f33f2bc8dea15
|
| 3 |
-
size 5599344352
|
|
|
|
|
|
|
|
|
|
|
|
Llama-3.1-Tulu-3-8B-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:508a305ce659c7d8945f69ac2af528d32bebe663b09156a9b53eaa1cee70fb46
|
| 3 |
-
size 6596061152
|
|
|
|
|
|
|
|
|
|
|
|
Llama-3.1-Tulu-3-8B-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:05672460fca7b595950cc8144287e9dc4811fb91207ebe12efe6708ef3565488
|
| 3 |
-
size 8540841440
|
|
|
|
|
|
|
|
|
|
|
|