Skip to content

Commit 571813e

Browse files
committed
test(srt): give the DRAM-cap test cluster a GPU exporter
Main's native single-node power telemetry (#3781) stages the cluster's GPU exporter for every non-eval single-node point and stops preparation when the cluster record has none, so the DRAM-cap driver test's ad hoc cluster now needs default_gpu_exporter to reach submission.
1 parent 6ff24a7 commit 571813e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎inferencex-e2e/infx/tests/launch/test_srt_driver.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,10 @@ def test_single_node_jobs_cap_dram_only_on_shared_nodes(harness, dram, exclusive
229229
slurm = {
230230
"partition": "p", "exclusive": True, "srun-args": ["--container-remap-root"],
231231
"volumes": {"hf-hub-cache": {"path": str(harness.tmp / "hf")}},
232-
"srt-slurm": {"network-interface": "", "single-node-exclusive": exclusive},
232+
"srt-slurm": {
233+
"network-interface": "", "single-node-exclusive": exclusive,
234+
"extra": {"default_gpu_exporter": {"container_image": "exporter:tag", "port": 9400}},
235+
},
233236
} # fmt: skip
234237
cluster = {"gpus-per-node": 8, "arch": "x86_64", "scheduler": "slurm", "slurm": slurm}
235238
if dram is not None:

0 commit comments

Comments
 (0)