feat: Add RAY_DISABLE_METRICS=1 to disable Ray metrics across cluster configurations and scripts.

This commit is contained in:
Donato Capitella
2026-02-01 21:52:48 +00:00
parent 965cd2c339
commit 0d8afba093
3 changed files with 6 additions and 0 deletions
+2
View File
@@ -54,6 +54,7 @@ setup_head() {
ray stop --force
# Critical Config
export RAY_DISABLE_METRICS=1
export RAY_EXPERIMENTAL_NOSET_ROCR_VISIBLE_DEVICES=1
export RAY_memory_monitor_refresh_ms=0
export VLLM_HOST_IP=$HEAD_IP
@@ -78,6 +79,7 @@ setup_worker() {
ray stop --force
# Critical Config
export RAY_DISABLE_METRICS=1
export RAY_EXPERIMENTAL_NOSET_ROCR_VISIBLE_DEVICES=1
export RAY_memory_monitor_refresh_ms=0
export VLLM_HOST_IP=$WORKER_IP
+2
View File
@@ -141,6 +141,7 @@ def setup_worker_node(worker_ip, head_ip):
source /etc/profile
# Silece the kill command
ray stop --force > /dev/null 2>&1 || true
export RAY_DISABLE_METRICS=1
export RAY_EXPERIMENTAL_NOSET_ROCR_VISIBLE_DEVICES=1
export RAY_memory_monitor_refresh_ms=0
export VLLM_HOST_IP={worker_ip}
@@ -175,6 +176,7 @@ def setup_head_node(head_ip):
script = f"""
# Silence the kill command
ray stop --force > /dev/null 2>&1 || true
export RAY_DISABLE_METRICS=1
export RAY_EXPERIMENTAL_NOSET_ROCR_VISIBLE_DEVICES=1
export RAY_memory_monitor_refresh_ms=0
export VLLM_HOST_IP={head_ip}