GGUF
conversational
How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="g0chu/gemma-4-12B-it-qat-w4a16-ct-gguf",
	filename="gemma-4-12B-it-qat-w4a16-ct.gguf",
)
llm.create_chat_completion(
	messages = "No input example has been defined for this model task."
)

Notes:

  • -sm tensor flag causes a crash on llama-server startup.

Tested with:

/home/gochu/workspace/repos/llama.cpp/build/bin/llama-server \
  -m /home/gochu/workspace/models/gguf/gemma/qat/gemma-4-12B-it-qat-w4a16-ct.gguf \
  -md /home/gochu/workspace/models/gguf/gemma/draft/gemma-4-12B-it-qat-q4_0-unquantized-assistant-q8_0.gguf \
  --spec-type draft-mtp \
  --spec-draft-n-max 3 \
  --host 0.0.0.0 \
  --port 8080 \
  -c 128000 \
  -b 2048 \
  -ub 512 \
  -ngl 99 \
  -fa on \
  --jinja \
  -np 1 \
  --reasoning on \
  --mmproj /home/gochu/workspace/models/gguf/gemma/mmproj/mmproj-gemma-4-12b-it-qat-q4_0.gguf
Downloads last month
67
GGUF
Model size
13B params
Architecture
gemma4
Hardware compatibility
Log In to add your hardware

We're not able to determine the quantization variants.

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for g0chu/gemma-4-12B-it-qat-w4a16-ct-gguf