From 1e2b313fc63496d4c933b1196c86b266f9a61e6c Mon Sep 17 00:00:00 2001 From: Jonas Werner Date: Tue, 17 Feb 2026 12:55:09 +0900 Subject: [PATCH] fix(arena sunk): removing redundant print statement to fix double printout of command output removing redundant print statement to fix double printout of command output --- .../arena_sunk_cluster_walkthrough_benchmarks.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arena/notebooks/arena_sunk_cluster_walkthrough_benchmarks.py b/arena/notebooks/arena_sunk_cluster_walkthrough_benchmarks.py index e25f519..968b9aa 100644 --- a/arena/notebooks/arena_sunk_cluster_walkthrough_benchmarks.py +++ b/arena/notebooks/arena_sunk_cluster_walkthrough_benchmarks.py @@ -84,21 +84,21 @@ def _(mo): @app.cell def _(shell): # Slurm cluster info: - print(shell("sinfo")) + shell("sinfo") return @app.cell def _(shell): # Slurm user info: - print(shell("sacctmgr show users")) + shell("sacctmgr show users") return @app.cell def _(shell): # Slurm accounting info: - print(shell("sacctmgr show associations format=User,Account,Partition,QOS")) + shell("sacctmgr show associations format=User,Account,Partition,QOS") return @@ -113,7 +113,7 @@ def _(mo): @app.cell def _(shell): # Node info - print(shell("scontrol show nodes")) + shell("scontrol show nodes") return @@ -127,7 +127,7 @@ def _(mo): @app.cell def _(shell): - print(shell("scontrol show partition")) + shell("scontrol show partition") return @@ -184,7 +184,7 @@ def _(num_nodes, shell, submit_btn): if submit_btn.value: cmd = f"cd /mnt/data/arena/benchmarks/nccl/nccl-tests/slurm && sbatch -N {num_nodes.value} nccl-test-distributed-h100-64.slurm" print(f"Running: sbatch -N {num_nodes.value} ...") - print(shell(cmd)) + shell(cmd) else: print("Click 'Submit NCCL Test Job' to run the benchmark") return @@ -192,13 +192,13 @@ def _(num_nodes, shell, submit_btn): @app.cell def _(shell): - print(shell("squeue")) + shell("squeue") return @app.cell def _(shell): - print(shell("ls /mnt/data/arena/benchmarks/nccl/nccl-tests/slurm/*.out")) + shell("ls /mnt/data/arena/benchmarks/nccl/nccl-tests/slurm/*.out") return