Views
No views yet
| Base model | google/gemma-4-E4B-it |
| Parameters | 8B total, 4B effective (PLE architecture) |
| Modalities | Text, Image, Audio, Video |
| Context | 128K native, 8K recommended for 12GB GPUs |
| License | Apache 2.0 |
| Method | auto-round (RTN mode, GPTQ-compatible output) |
| Bits | 4 |
| Group size | 128 |
| Symmetric | Yes |
| Format | auto_gptq (vLLM-compatible) |
| Quantized layers | Language model only (vision/audio towers kept at full precision) |
| Model loading VRAM | ~9.65 GiB |
1vllm serve ./gemma-4-E4B-it-W4A16 \
2 --quantization gptq \
3 --max-model-len 8192 \
4 --enforce-eager \
5 --enable-auto-tool-choice \
6 --tool-call-parser gemma4 \
7 --port 8000e4b variant in the service script:1GEMMA_VARIANT=e4b ./service.sh up
2GEMMA_VARIANT=e4b ./service.sh test1from openai import OpenAI
2
3client = OpenAI(base_url="http://localhost:8000/v1", api_key="unused")
4
5response = client.chat.completions.create(
6 model="gemma-4-E4B-it",
7 messages=[{"role": "user", "content": "What's the weather in Paris?"}],
8 tools=[{
9 "type": "function",
10 "function": {
11 "name": "get_weather",
12 "description": "Get the current weather for a location",
13 "parameters": {
14 "type": "object",
15 "properties": {
16 "location": {"type": "string"}
17 },
18 "required": ["location"],
19 },
20 },
21 }],
22 tool_choice="auto",
23)--max-model-len 8192 or lower. Reduce to 4096 if you hit OOM.