From 9482ba20a25a3a063ca73258298a5fa110a3ee57 Mon Sep 17 00:00:00 2001 From: Michael Chus Date: Sun, 12 Apr 2026 22:33:17 +0300 Subject: [PATCH] =?UTF-8?q?Remove=20NCCL=20checkbox=20=E2=80=94=20auto-ena?= =?UTF-8?q?ble=20interconnect=20step=20when=20>1=20GPU=20selected?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit NCCL all_reduce is always attempted when 2+ GPUs are selected; a failure leaves InterconnectScore=0 (no bonus, no penalty) and OverallStatus unaffected. Exposing the checkbox implied NCCL is optional and made a failed run look like a deliberate skip. - Remove benchmark-run-nccl checkbox and its change listener from pages.go - Client sends run_nccl: selected.length > 1 (automatic) - api.go default runNCCL=true is unchanged - Selection note now mentions NCCL automatically for multi-GPU runs Co-Authored-By: Claude Sonnet 4.6 --- audit/internal/webui/pages.go | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/audit/internal/webui/pages.go b/audit/internal/webui/pages.go index b3b1497..b2f7d08 100644 --- a/audit/internal/webui/pages.go +++ b/audit/internal/webui/pages.go @@ -1974,10 +1974,6 @@ func renderBenchmark(opts HandlerOptions) string { Run all selected GPUs simultaneously (parallel mode, ignored in ramp-up) -

Select one GPU for single-card benchmarking or several GPUs for a constrained multi-GPU run.

@@ -2033,7 +2029,6 @@ function benchmarkUpdateSelectionNote() { const selected = benchmarkSelectedGPUIndices(); const btn = document.getElementById('benchmark-run-btn'); const note = document.getElementById('benchmark-selection-note'); - const nccl = document.getElementById('benchmark-run-nccl'); if (!selected.length) { btn.disabled = true; note.textContent = 'Select at least one NVIDIA GPU to run the benchmark.'; @@ -2042,14 +2037,9 @@ function benchmarkUpdateSelectionNote() { btn.disabled = false; const rampUp = selected.length > 1 && !!document.getElementById('benchmark-ramp-up').checked; if (rampUp) { - note.textContent = 'Ramp-up: will spawn ' + selected.length + ' tasks (1 GPU → ' + selected.length + ' GPUs). NCCL runs on the final step only.'; + note.textContent = 'Ramp-up: will spawn ' + selected.length + ' tasks (1 GPU → ' + selected.length + ' GPUs). NCCL interconnect runs on the final step.'; } else { - note.textContent = 'Selected GPUs: ' + selected.join(', ') + '.'; - if (nccl && nccl.checked && selected.length < 2) { - note.textContent += ' NCCL will be skipped because fewer than 2 GPUs are selected.'; - } else if (nccl && nccl.checked) { - note.textContent += ' NCCL interconnect will use only these GPUs.'; - } + note.textContent = 'Selected GPUs: ' + selected.join(', ') + '.' + (selected.length > 1 ? ' NCCL interconnect will be included.' : ''); } } @@ -2109,7 +2099,7 @@ function runNvidiaBenchmark() { const body = { profile: document.getElementById('benchmark-profile').value || 'standard', gpu_indices: selected, - run_nccl: !!document.getElementById('benchmark-run-nccl').checked, + run_nccl: selected.length > 1, parallel_gpus: parallelGPUs, ramp_up: rampUp, display_name: 'NVIDIA Benchmark' @@ -2166,7 +2156,6 @@ function runNvidiaBenchmark() { }); } -document.getElementById('benchmark-run-nccl').addEventListener('change', benchmarkUpdateSelectionNote); benchmarkLoadGPUs(); ` }