feat: Add Gemma-4 Multi-token-prediction Guide for TPUs - #520
Draft
syeda-anjum wants to merge 13 commits into
Draft
feat: Add Gemma-4 Multi-token-prediction Guide for TPUs#520syeda-anjum wants to merge 13 commits into
syeda-anjum wants to merge 13 commits into
Conversation
…der to patch-downloader.yaml
fernandorubbo
requested changes
Aug 3, 2026
| kubectl --namespace=${ira_online_tpu_kubernetes_namespace_name} logs -l app=inference-perf --tail 10" | ||
| ``` | ||
|
|
||
| - Delete the benchmark workload. |
Member
There was a problem hiding this comment.
How the result compares with standard inference (without MTP)?
Can you make an analysis here and share this with customers? Is it 30% better for this use case, 50% better? how customer analyse the results?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview:
This PR introduces a complete, end-to-end reference implementation for running Multi-Token Prediction (MTP) speculative decoding using Gemma-4 on Trillium TPUs. It provides the necessary vLLM manifests,
inference-perfbenchmarking configurations, and comprehensive architectural guidance.Key Changes:
v6e-gemma-4-31b-it-mtpKustomize overlay to support MTP on TPUs, including updating the basevllm-tpuimage tov0.25.0and ensuring the deployment is distinctly separated from the base Gemma-4 workload.inference-perfbenchmark manifests tailored forsd-mtpto accurately measure MTP latency improvements.vllm-gemma-4-mtp.mdguide, which includes:tfvarsconfiguration and downloading the assistant/drafter model.