How to use from
llama.cpp
Install from brew
brew install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf aniljava/Meta-Llama-3.1-8B-Instruct-GGUF:
# Run inference directly in the terminal:
llama-cli -hf aniljava/Meta-Llama-3.1-8B-Instruct-GGUF:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf aniljava/Meta-Llama-3.1-8B-Instruct-GGUF:
# Run inference directly in the terminal:
llama-cli -hf aniljava/Meta-Llama-3.1-8B-Instruct-GGUF:
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 aniljava/Meta-Llama-3.1-8B-Instruct-GGUF:
# Run inference directly in the terminal:
./llama-cli -hf aniljava/Meta-Llama-3.1-8B-Instruct-GGUF:
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 aniljava/Meta-Llama-3.1-8B-Instruct-GGUF:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf aniljava/Meta-Llama-3.1-8B-Instruct-GGUF:
Use Docker
docker model run hf.co/aniljava/Meta-Llama-3.1-8B-Instruct-GGUF:
Quick Links

With fixes applied for:

  • 3.1 rope scaling factors (#8676)
  • llama-bpe as tokenizer Proper Llama 3.1 Support in llama.cpp (#8650)
  • <|python_tag|> works for tool calls.

Following files are fixed and others are being replaced.

  • Meta-Llama-3.1-8B-Instruct.Q4_K_M.gguf
  • Meta-Llama-3.1-8B-Instruct.IQ4_XS.gguf

REF

https://github.com/ggerganov/llama.cpp/issues/8650 https://github.com/ggerganov/llama.cpp/pull/8676

Downloads last month
158
GGUF
Model size
8B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

5-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support