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 Google Cloud TPU capacity and Gemma 4 serving from Rust on Compute Engine TPU VMs: flex-start provisioning, capacity probing, quotas, cost estimates, and SRE diagnostics via the gce-jaxrust-v6e1-2b MCP server. The engine is Rust — rlx's JAX-shaped IR lowered to HLO and executed through libtpu's PJRT plugin, no Python in the serving path. Forked from tpu-jax-v6e1-2b 2026-08-28; nothing provisioned or measured on this path yet.
Claude loads one when your task matches it, or you run it by name.
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.
gce-jaxrust-v6e1-2b — Gemma 4 on a single TPU v6e-1, driven from RustAn inference path for Gemma 4 E2B on one Cloud TPU chip where the serving process contains no Python. The forward pass is built in rlx's JAX-shaped tensor IR, lowered to HLO, and executed through libtpu's PJRT plugin. An OpenAI-compatible HTTP/SSE server sits in front of it.
The rig also provisions the hardware it runs on: an MCP server
(gce-jaxrust-v6e1-2b) and a Claude Code skill that find capacity, create a flex-start
Compute Engine instance, build the engine on it, and run SRE diagnostics against the
endpoint.
Forked from tpu-jax-v6e1-2b on 2026-08-28 to move the engine
off CPython onto Rust, alongside gpu-jaxrust-g5g-2b doing the
same on Turing.
MEASURED on a v6e-1 (ct6e-standard-1t, europe-west4-a, spot, 2026-08-28): rlx
compiled a 256×256 f32 matmul for Device::Tpu, executed it through libtpu's PJRT plugin,
and returned 256.0 in all 65,536 elements. The whole lifecycle ran through this rig's own
MCP tools, and gemma4-engine builds on the VM with --features tpu,gemma.
Checked three ways that it was not a silent CPU fallback: /tmp/tpu_logs grew on the TPU
run and not the CPU run; libtpu logged XLA::TPU running hlo passes for 6 instructions, modules: selftest; and a second process was refused with The TPU is already in use by process with pid ….
What is still unverified: Gemma 4 E2B itself. No checkpoint has been loaded. rlx's TPU backend compiles and executes a graph correctly; that is not evidence it does so for E2B's PLE, alternating local/global attention and KV sharing. There are no throughput, latency or HBM numbers.
Three defects the deployment found, all fixed or recorded:
xla-probe cannot create a PJRT client against current libtpu — pjrt-sys 0.2.0
builds PJRT_Client_Create_Args at 72 bytes, libtpu 0.75 demands 88. rlx-tpu carries
the right layout, so the engine works where the probe cannot. The rig now gates on
tpu-selftest, which shares the engine's bindings.libopenblas-dev was missing from the startup script, and it fails at the final link
after ~150 crates compile.gemma4-engine ── rlx-gemma ──┐
├── rlx (JAX-shaped IR) ── rlx-tpu ──┐
┘ ├── libtpu.so (PJRT) ── v6e-1
xla-probe ────────────────── pjrt (PJRT C API) ─────────────────────┘
tpu-selftest takes the engine's own path minus the model — same rlx, same rlx-tpu, same
libtpu — which is what makes it predictive. xla-probe bypasses rlx and talks to the PJRT
C API directly, and that independence is exactly why it cannot be the gate: it fails on
its own schedule (today, on an ABI mismatch the engine does not have).
./init.sh # register the MCP server (writes .mcp.json)
make rust # build locally (needs protoc, clang, libopenblas-dev)
Then, through the MCP server or the skill:
create_tpu_vm_instance(workload="jaxrust") # RUNNING is not ready
wait_for_jaxrust_ready # Rust + libtpu installed. Nothing built yet.
deploy_jaxrust_engine # uploads rust/, builds release, runs the self-test
manage_jaxrust_server(action="start", model_path="/path/to/gemma-4-E2B-it")
Each step answers a smaller question than the next, so when serving fails, the step that
still passes tells you where to look. That only holds while the steps share a stack — see
rust/README.md for how xla-probe violated it.
dlopen on libtpu.so succeeds on a host with no chip attached, exactly as import jax
succeeds with no TPU backend. So tpu-selftest does not stop at "a device is listed": it
compiles a matmul, executes it, and checks that every element of the result is what
arithmetic says it should be. A plugin that loads, a client that creates and a device that
lists are three different facts, and none of them is evidence that the MXU computed
anything.
And the rig asserts on the exit code, never on the marker — because on this stack the success line is printed and then the process segfaults in teardown. That is not a hypothetical: it is what happens today, and a marker-scanning check calls it healthy.
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 gce-jaxrust-v6e1-2bPlugins from other owners that cover similar ground