Gemma 4 QAT heretic-gguf
Collection
6 items • Updated
How to use pegasus912/gemma-4-31B-it-qat-heretic-Q4_0.gguf with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf pegasus912/gemma-4-31B-it-qat-heretic-Q4_0.gguf:Q4_0 # Run inference directly in the terminal: llama cli -hf pegasus912/gemma-4-31B-it-qat-heretic-Q4_0.gguf:Q4_0
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf pegasus912/gemma-4-31B-it-qat-heretic-Q4_0.gguf:Q4_0 # Run inference directly in the terminal: llama cli -hf pegasus912/gemma-4-31B-it-qat-heretic-Q4_0.gguf:Q4_0
# 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 pegasus912/gemma-4-31B-it-qat-heretic-Q4_0.gguf:Q4_0 # Run inference directly in the terminal: ./llama-cli -hf pegasus912/gemma-4-31B-it-qat-heretic-Q4_0.gguf:Q4_0
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 pegasus912/gemma-4-31B-it-qat-heretic-Q4_0.gguf:Q4_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf pegasus912/gemma-4-31B-it-qat-heretic-Q4_0.gguf:Q4_0
docker model run hf.co/pegasus912/gemma-4-31B-it-qat-heretic-Q4_0.gguf:Q4_0
How to use pegasus912/gemma-4-31B-it-qat-heretic-Q4_0.gguf with Ollama:
ollama run hf.co/pegasus912/gemma-4-31B-it-qat-heretic-Q4_0.gguf:Q4_0
How to use pegasus912/gemma-4-31B-it-qat-heretic-Q4_0.gguf with Pi:
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf pegasus912/gemma-4-31B-it-qat-heretic-Q4_0.gguf:Q4_0
# Install Pi:
npm install -g @earendil-works/pi-coding-agent
# Add to ~/.pi/agent/models.json:
{
"providers": {
"llama-cpp": {
"baseUrl": "http://localhost:8080/v1",
"api": "openai-completions",
"apiKey": "none",
"models": [
{
"id": "pegasus912/gemma-4-31B-it-qat-heretic-Q4_0.gguf:Q4_0"
}
]
}
}
}# Start Pi in your project directory: pi
How to use pegasus912/gemma-4-31B-it-qat-heretic-Q4_0.gguf with Docker Model Runner:
docker model run hf.co/pegasus912/gemma-4-31B-it-qat-heretic-Q4_0.gguf:Q4_0
How to use pegasus912/gemma-4-31B-it-qat-heretic-Q4_0.gguf with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull pegasus912/gemma-4-31B-it-qat-heretic-Q4_0.gguf:Q4_0
lemonade run user.gemma-4-31B-it-qat-heretic-Q4_0.gguf-Q4_0
lemonade list
How to use pegasus912/gemma-4-31B-it-qat-heretic-Q4_0.gguf with Hermes Agent:
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf pegasus912/gemma-4-31B-it-qat-heretic-Q4_0.gguf:Q4_0
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default pegasus912/gemma-4-31B-it-qat-heretic-Q4_0.gguf:Q4_0
hermes
How to use pegasus912/gemma-4-31B-it-qat-heretic-Q4_0.gguf with OpenClaw:
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf pegasus912/gemma-4-31B-it-qat-heretic-Q4_0.gguf:Q4_0
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "pegasus912/gemma-4-31B-it-qat-heretic-Q4_0.gguf:Q4_0" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
openclaw agent --local --agent main --message "Hello from Hugging Face"
Quantized from https://huggingface.co/coder3101/gemma-4-31B-it-qat-q4_0-unquantized-heretic using Quant-em (https://github.com/thomas9120/Quant-em)
4-bit
Base model
google/gemma-4-31B