From c4cfc37283d1d8da75879e114998fd7fb41b916c Mon Sep 17 00:00:00 2001 From: Terry Kong Date: Fri, 21 Mar 2025 12:03:01 -0700 Subject: [PATCH] feat: disable ray usage collection stats be default Signed-off-by: Terry Kong --- ray.sub | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ray.sub b/ray.sub index 0fab8a8fd9..0e254c6e67 100644 --- a/ray.sub +++ b/ray.sub @@ -19,6 +19,13 @@ MOUNTS=$MOUNTS COMMAND=${COMMAND:-} # This is a script relative to the SLURM_SUBMIT_DIR. If left empty, it will leave the cluster idle after it's brought up. ######################################################## +######################################################## +# Global settings +######################################################## +# Disable usage stats by default so that it's opt-in +export RAY_USAGE_STATS_ENABLED=${RAY_USAGE_STATS_ENABLED:-0} +######################################################## + COMMON_SRUN_ARGS="" COMMON_SRUN_ARGS+=" --export=ALL" COMMON_SRUN_ARGS+=" --no-container-mount-home"