fix broken stuff

Este commit está contenido en:
Donato Capitella
2026-02-19 20:29:28 +00:00
padre 726cd5ae53
commit 4a5d6c7855
Se han modificado 2 ficheros con 22 adiciones y 1 borrados
+1 -1
Ver fichero
@@ -59,7 +59,7 @@ def setup_worker_node(worker_ip, head_ip):
export NCCL_IB_TIMEOUT=23
export NCCL_IB_RETRY_CNT=7
echo "Starting Ray Worker on {worker_ip} connecting to {head_ip}..."
ray start --address='{head_ip}:6379' --num-gpus=1 --num-cpus=8 --disable-usage-stats --include-dashboard=false
ray start --address='{head_ip}:6379' --num-gpus=1 --num-cpus=8 --disable-usage-stats
"""
print(f"Setting up Worker Node ({worker_ip})...")
+21
Ver fichero
@@ -303,6 +303,27 @@ def configure_and_launch_vllm(model_idx, head_ip):
# Exec
os.execvpe("vllm", cmd, env)
def setup_ips_dialog(current_head, current_worker):
# Using a form to edit both IPs
# label y x item y x flen ilen
form_args = [
"--title", "Cluster Configuration",
"--form", "Enter IP addresses for Head and Worker nodes:",
"10", "60", "2",
"Head Node IP:", "1", "1", current_head, "1", "20", "20", "0",
"Worker Node IP:", "2", "1", current_worker, "2", "20", "20", "0"
]
result = run_dialog(form_args)
if not result:
return None
lines = result.splitlines()
if len(lines) >= 2:
return lines[0].strip(), lines[1].strip()
return None
def main():
check_dependencies()