Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By xbill9v0.1.0Apache-2.0In 1 marketplace
Manage vLLM serving of Gemma 4 E2B as 4-bit weights end to end (xbill9/gemma-4-E2B-it-qat-q4_0-w4a16-ct-text-emb4: QAT W4A16 with int4 embeddings, text only) on one NVIDIA Tesla T4 (Turing, SM 7.5) already attached to a Compute Engine VM, via the gpu-vllm-t4-2b-w4a16 MCP server: host capacity across three filesystems, GPU architecture verification, the Triton shared-memory clamp Turing needs, server lifecycle and SRE diagnostics. Carries the repack tools that built the checkpoint. Forked from gpu-vllm-t4-2b 2026-09-29; slot 5 is the only difference. Measured: 2.86 GiB loaded, 1,099,362 KV tokens, 109.7 tok/s at c=1.
Connected while the plugin is enabled; Claude calls their tools.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
vLLM on one NVIDIA Tesla T4 already attached to a Compute Engine VM, serving
Gemma 4 E2B as 4-bit weights end to end:
xbill9/gemma-4-E2B-it-qat-q4_0-w4a16-ct-text-emb4.
Forked 2026-09-29 from gpu-vllm-t4-2b, which serves the bf16
reference build on the same GPU. Slot 5 is the only difference between the two.
Read CLAUDE.md before changing anything.
vLLM 0.29.0, --dtype float16 --gpu-memory-utilization 0.90 --max-model-len 16384 --max-num-seqs 8, compile cache warm, 2026-09-29:
| Build | Model loading | KV cache | Decode, c=1 |
|---|---|---|---|
Google -qat-w4a16-ct | 8.02 GiB | — | — |
xbill9 multimodal repack, --language-model-only | 6.37 GiB | 707,617 | — |
xbill9 -text (bf16 embeddings) | 6.33 GiB | 711,539 | 81.6 tok/s |
xbill9 -text-emb4 (served) | 2.86 GiB | 1,099,362 | 109.7 tok/s |
Evidence in evidence/. A concurrency sweep of the served build
(input {512, 4096} x c {1, 4, 8, 16}, 3 repeats, the same prompts as the parent
rig's bf16 and QAT runs) is in
benchmarks/runs/2026-09-29-emb4-sweep-t4/:
239.6 output tok/s at 512/c=8, +11% over Google's QAT export and 1.46x bf16.
Speculative decoding with Google's drafter at c=1 is in
benchmarks/runs/2026-09-29-specdec-c1-t4/.
Google's QAT export stores bf16 values that already sit on a 4-bit grid, in groups of 32. The embedding tables are on it too. Each step below recovers that grid rather than quantizing, and aborts on any off-grid group.
PY="env PYTHONUSERBASE=/opt1/pyuser /usr/bin/python3.13"
$PY repack/repack_q4_0.py repack SRC OUT # linears -> W4A16
$PY repack/text_only.py OUT OUT-text # drop vision/audio towers
$PY repack/embed_int4.py OUT-text OUT-text-emb4 --embed-tokens # PLE, embed_tokens, lm_head -> int4
Write outputs under /opt1: unchanged shards are hard-linked, and the root disk
has a few GB free.
./vllm-t4 start # also: stop | status | query | log | swap
vllm-t4 drives the rig it sits in: it turns on the swapfile vLLM needs on this
7.8 GB host, refuses to start unless the Turing clamp is confirmed, launches vLLM
detached with every flag read from tpu.env, and waits for /health. On this VM
~/bin/vllm-t4 is the same script with this rig as its default. The MCP server's
start_vllm_server also works. Not make serve: its short-lived interpreter kills
vLLM about a second after launch.
One rig serves at a time: this rig and
gpu-vllm-t4-2b share the GPU and port 8000, and each tracks only its own process.
After changing MODEL_NAME, restart once: the first start compiles from scratch
and undersizes the KV cache.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub xbill9/gemma4-dev --plugin gpu-vllm-t4-2b-w4a16Plugins from other owners that cover similar ground