Skip to content

Commit 929ef62

Browse files
mtsokolclaude
authored andcommitted
Restore v7x entry in the provisioning command generator
The TPU v7x hardware button in tpu_setup.md needs the is_gce_only handling that was part of this branch before the interactive components were split into vllm-project#3297, since PROVISION_DATA in the merged interactive.js does not include v7x. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: Mateusz Sokół <mat646@gmail.com>
1 parent b4e69d0 commit 929ef62

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

docs/mkdocs/javascripts/interactive.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ function updateCommandGenerator() {
9999
}
100100

101101
const PROVISION_DATA = {
102+
"v7x": {
103+
is_gce_only: true,
104+
inst: "TPU v7x (Ironwood) is provisioned directly via Google Compute Engine (GCE) or GKE, not through the legacy Cloud TPU API. Please see the <a href='../../deployment_guides/ironwood/'>Deploying on GCE -> v7x setup</a> guide for exact provisioning instructions."
105+
},
102106
"v6e": {
103107
runtime: "v2-alpha-tpuv6e",
104108
zone: "us-east5-a",
@@ -157,6 +161,12 @@ function updateProvisionGenerator() {
157161
const containerEl = document.querySelector('#prov-generator .cg-output-container');
158162

159163
if (cmdEl && instEl && data) {
164+
if (data.is_gce_only) {
165+
containerEl.style.display = 'none';
166+
instEl.innerHTML = data.inst;
167+
return;
168+
}
169+
160170
containerEl.style.display = 'block';
161171

162172
// Grey out invalid chip counts for this hardware

0 commit comments

Comments
 (0)