Skip to content

Commit a5ec198

Browse files
authored
feat: disable ray usage collection stats be default (#24)
Signed-off-by: Terry Kong <terryk@nvidia.com>
1 parent 1adbb99 commit a5ec198

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ray.sub

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ MOUNTS=$MOUNTS
1919
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.
2020
########################################################
2121

22+
########################################################
23+
# Global settings
24+
########################################################
25+
# Disable usage stats by default so that it's opt-in
26+
export RAY_USAGE_STATS_ENABLED=${RAY_USAGE_STATS_ENABLED:-0}
27+
########################################################
28+
2229
COMMON_SRUN_ARGS=""
2330
COMMON_SRUN_ARGS+=" --export=ALL"
2431
COMMON_SRUN_ARGS+=" --no-container-mount-home"

0 commit comments

Comments
 (0)