GGUF
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 lm-kit/gemma-2-9b-gguf:
# Run inference directly in the terminal:
llama-cli -hf lm-kit/gemma-2-9b-gguf:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf lm-kit/gemma-2-9b-gguf:
# Run inference directly in the terminal:
llama-cli -hf lm-kit/gemma-2-9b-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 lm-kit/gemma-2-9b-gguf:
# Run inference directly in the terminal:
./llama-cli -hf lm-kit/gemma-2-9b-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 lm-kit/gemma-2-9b-gguf:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf lm-kit/gemma-2-9b-gguf:
Use Docker
docker model run hf.co/lm-kit/gemma-2-9b-gguf:
Quick Links

Model Summary

This repository hosts quantized versions of the Google Gemma 2 9B Instruct model.

Format: GGUF
Converter: llama.cpp fc4ca27b25464a11b3b86c9dbb5b6ed6065965c2
Quantizer: LM-Kit.NET 2024.8.0

For more detailed information on the base model, please visit the following link:

Downloads last month
159
GGUF
Model size
9B params
Architecture
gemma2
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

16-bit

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