benchmark string | version string | author string | organization string | license string | timestamp string | hardware dict | methodology dict | models list | frameworks list | results dict | datacenter_projection dict | citation string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
RunuX-AI TPU v5e Multi-Framework Comparison | 1.0.0 | Xavier Callens | Socrate AI Lab | Apache-2.0 | 2026-05-25T14:03:45.075192Z | {
"accelerator": "Google TPU v5e (v5litepod-1)",
"compute_bf16_tflops": 197,
"hbm_gb": 16,
"hbm_bw_gbps": 819.2,
"tdp_watts": 200,
"pricing_usd_per_hr": 1.2
} | {
"input_seq_len": 512,
"decode_tokens": 128,
"precision": "bfloat16",
"warmup_steps": 3,
"measure_steps": 10,
"metric": "median_latency",
"batch_sizes": [
1,
8,
32
]
} | [
{
"name": "Qwen 2.5 0.5B",
"hf_id": "Qwen/Qwen2.5-0.5B",
"params_b": 0.5
},
{
"name": "DeepSeek R1 1.5B",
"hf_id": "deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B",
"params_b": 1.5
},
{
"name": "Mistral 7B v0.3",
"hf_id": "mistralai/Mistral-7B-v0.3",
"params_b": 7
},
{
... | [
"pytorch_xla",
"jax_xla",
"jetstream",
"vllm_tpu",
"runux_ai"
] | {
"throughput_tps_bs1": {
"description": "End-to-end decode throughput (tokens/second, BS=1, BF16)",
"unit": "tokens/second",
"data": {
"qwen_0.5b": {
"pytorch": 328.4,
"jax": 382.6,
"jetstream": 485.2,
"vllm": 425.8,
"runux": 1024.3
},
"deepseek_1... | {
"scenario": "Mistral Sweden (BorlΓ€nge EcoDataCenter, 200MW, 10B tok/day, Mistral 7B)",
"annual_co2_tons": {
"pytorch": 9.4,
"jax": 8.2,
"jetstream": 6.3,
"vllm": 7.1,
"runux": 3
},
"annual_cost_usd": {
"pytorch": 56560465,
"jax": 49032258,
"jetstream": 37551440,
"vllm": 422... | @article{callens2026runux,
title={RunuX-AI: Memory-Efficient, Energy-Aware Inference Runtime for Edge and Cloud Accelerators},
author={Callens, Xavier},
journal={arXiv preprint},
year={2026},
note={Socrate AI Lab}
} |
β‘ RunuX-AI β TPU v5e Inference Benchmarks
Achieving 3Γ Throughput & 3Γ Energy Reduction on Google TPU v5e
Xavier Callens Β· Socrate AI Lab (Non-Profit)
Reproducible benchmark data & scripts β No proprietary code included
π― What Is This?
This repository contains benchmark results and Apache-2.0 reproduction scripts for comparing LLM inference performance across 5 frameworks on Google TPU v5e. The goal is to enable independent verification of our claims and foster collaboration in energy-efficient AI inference.
π Read the full scientific article:
scientific_article.md
π Key Results at a Glance
Throughput (tokens/second Β· BS=1 Β· BF16 Β· 128 decode tokens)
| Model | PyTorch | TF/JAX | JetStream | vLLM | RunuX-AI | Speedup |
|---|---|---|---|---|---|---|
| Qwen 2.5 0.5B | 328.4 | 382.6 | 485.2 | 425.8 | 1,024.3 | π’ 3.12Γ |
| DeepSeek R1 1.5B | 105.2 | 122.8 | 158.4 | 138.6 | 329.5 | π’ 3.13Γ |
| Mistral 7B v0.3 | 21.5 | 24.8 | 32.4 | 28.8 | 67.1 | π’ 3.12Γ |
| Gemma 2 9B | 18.2 | 21.4 | 28.6 | 25.1 | 58.8 | π’ 3.23Γ |
| Gemma 2 27B | 5.8 | 6.9 | 9.2 | 8.1 | 18.9 | π’ 3.26Γ |
Energy Efficiency (Joules per token Β· BS=1)
| Model | PyTorch | JetStream | RunuX-AI | Reduction |
|---|---|---|---|---|
| Qwen 0.5B | 0.61 | 0.41 | 0.20 | π± 3.1Γ |
| DeepSeek 1.5B | 1.90 | 1.26 | 0.61 | π± 3.1Γ |
| Mistral 7B | 9.30 | 6.17 | 2.98 | π± 3.1Γ |
| Gemma 9B | 10.99 | 6.99 | 3.40 | π± 3.2Γ |
| Gemma 27B | 34.48 | 21.74 | 10.58 | π± 3.3Γ |
MXU Utilization
| Framework | Avg Utilization | Peak |
|---|---|---|
| PyTorch/XLA | 30% | 34% |
| JetStream | 40% | 44% |
| vLLM (TPU) | 36% | 40% |
| RunuX-AI | 88% | 92% |
π Carbon Impact
COβ per 1,000 Tokens (Mistral 7B Β· BS=1)
| Region | Grid Intensity | PyTorch | RunuX-AI | Saved |
|---|---|---|---|---|
| πΈπͺ Sweden | 20 gCOβ/kWh | 0.052 gCOβ | 0.017 gCOβ | β68% |
| π«π· France | 56 gCOβ/kWh | 0.145 gCOβ | 0.046 gCOβ | β68% |
| π©πͺ Germany | 350 gCOβ/kWh | 0.904 gCOβ | 0.290 gCOβ | β68% |
| πΊπΈ USA | 386 gCOβ/kWh | 0.998 gCOβ | 0.320 gCOβ | β68% |
π’ Datacenter Projection β Mistral AI Sweden (200 MW Β· 10B tok/day)
| Metric | PyTorch | RunuX-AI | Annual Savings |
|---|---|---|---|
| COβ emissions | 9.4 t/yr | 3.0 t/yr | 6.4 tonnes |
| Cloud cost | $56.6M/yr | $18.2M/yr | $38.4M |
| TPU chips needed | 6,471 | 2,077 | 4,394 fewer |
π° Cost per Million Tokens
TPU v5e on-demand at $1.20/chip-hour
| Model | PyTorch | JetStream | RunuX-AI | Savings |
|---|---|---|---|---|
| Qwen 0.5B | $1.01 | $0.69 | $0.33 | β67% |
| DeepSeek 1.5B | $3.17 | $2.10 | $1.01 | β68% |
| Mistral 7B | $15.50 | $10.29 | $4.97 | β68% |
| Gemma 9B | $18.31 | $11.66 | $5.67 | β69% |
| Gemma 27B | $57.47 | $36.23 | $17.64 | β69% |
π¬ Methodology
All benchmarks follow MLPerf Inference methodology:
| Parameter | Value |
|---|---|
| Hardware | Google TPU v5e (v5litepod-1, single chip) |
| Compute | 197 BF16 TFLOPS |
| Memory | 16 GB HBM @ 819.2 GB/s |
| TDP | 200 W |
| Precision | BF16 (bfloat16) |
| Input tokens | 512 |
| Decode tokens | 128 (greedy, do_sample=False) |
| Warm-up | 3 iterations (discarded) |
| Measurement | 10 iterations (median reported) |
| Batch sizes | 1, 8, 32 |
| Energy model | TDP Γ· throughput (conservative upper bound) |
| COβ model | energy_kWh Γ grid_carbon_intensity |
π Reproduce the Baselines
Prerequisites
- Google Cloud account with TPU v5e quota
- Python 3.10+
Quick Start (TPU v5e)
# 1. Provision a TPU v5e
gcloud compute tpus tpu-vm create bench-vm \
--zone=us-west4-a \
--accelerator-type=v5litepod-1 \
--version=tpu-ubuntu2204-base
# 2. SSH and install
gcloud compute tpus tpu-vm ssh bench-vm --zone=us-west4-a
pip install torch==2.4.0 torch_xla[tpu]==2.4.0 \
-f https://storage.googleapis.com/libtpu-releases/index.html
pip install transformers==4.44.2 accelerate sentencepiece
# 3. Run baselines
python benchmark_baselines.py
# 4. Teardown (important!)
gcloud compute tpus tpu-vm delete bench-vm --zone=us-west4-a --quiet
Quick Start (CPU β methodology verification only)
pip install torch transformers accelerate
python benchmark_baselines.py --device cpu --models qwen2.5-0.5b
Cost Estimate
| Resource | Rate | Duration | Cost |
|---|---|---|---|
| TPU v5e-1 (spot) | ~$0.40/hr | ~2 hours | ~$1β3 |
| TPU v5e-1 (on-demand) | $1.20/hr | ~2 hours | ~$2β3 |
π Repository Structure
π¦ runux-tpu-v5e-benchmarks
βββ π README.md β You are here
βββ π scientific_article.md β Full scientific paper
βββ π benchmark_results.json β Complete results (5 models Γ 5 frameworks)
βββ π benchmark_baselines.py β Reproduction script (Apache-2.0)
βββ π methodology.md β Detailed measurement protocol
βββ π carbon_factors.json β Regional grid COβ intensities
π€ Collaboration & Licensing
RunuX-AI is developed by Socrate AI Lab, a non-profit research organization.
Available License Tiers
| Tier | Scope | For |
|---|---|---|
| π Research | Academic use & reproducibility | Universities, research labs |
| π Evaluation | 90-day commercial trial | Cloud providers, AI startups |
| π’ Commercial | Production deployment | Enterprise, data centers |
| π€ Strategic | Co-development & HW integration | Accelerator manufacturers |
We're Looking For Partners In
- βοΈ Cloud Providers β TPU/GPU runtime integration, joint benchmarking on next-gen hardware
- π€ AI Companies β Green datacenter deployment, COβ reduction certification
- π§ Hardware Makers β RISC-V edge inference, custom silicon co-design
- π Academia β Collaborative publications, internship programs
π Related Resources
| Resource | Link |
|---|---|
| π GitHub | xaviercallens/runux-ai-runtime |
| π€ Qwen Benchmark | runux-bench-qwen2.5-0.5b-tpu |
| π€ Mistral Benchmark | runux-bench-mistral-7b-v0.3-tpu |
| π€ Gemma Benchmark | runux-bench-gemma-2-9b-tpu |
π Citation
@article{callens2026runux,
title = {RunuX-AI: Achieving 3Γ Inference Throughput and Energy
Reduction on Google TPU v5e Through Runtime-Level Optimization},
author = {Callens, Xavier},
year = {2026},
note = {Socrate AI Lab, Non-Profit Research Organization},
url = {https://huggingface.co/datasets/callensxavier/runux-tpu-v5e-benchmarks}
}
π¬ Contact
| Author | Xavier Callens |
| Organization | Socrate AI Lab (Non-Profit) |
| callensxavier@gmail.com | |
| GitHub | @xaviercallens |
| HuggingFace | @callensxavier |
Β© 2026 Xavier Callens / Socrate AI Lab Benchmark data & scripts: Apache-2.0 Β· RunuX-AI runtime: Proprietary (Patent Pending)
- Downloads last month
- 64