Skip to content

Commit d61482c

Browse files
committed
update
1 parent 3dbd995 commit d61482c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
export RAY_ROTATION_MAX_BYTES=1024
22
export RAY_ROTATION_BACKUP_COUNT=1
3-
CUDA_VISIBLE_DEVICES=0,1,2,3 ray start --head --port=6379 --num-gpus=4 --disable-usage-stats --include-dashboard=false
4-
CUDA_VISIBLE_DEVICES=4,5,6,7 ray start --address=127.0.0.1:6379 --num-gpus=4
3+
CUDA_VISIBLE_DEVICES=0,1,2,3 ray start --head --port=6379 --num-gpus=4 --disable-usage-stats --temp-dir=/dashscope/caches/application/ray_logs
54
CUDA_VISIBLE_DEVICES="" ray start --address=127.0.0.1:6379 --num-gpus=0
65
python server.py

cookbook/client/server/megatron/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# Resolve the path to server_config.yaml relative to this script's location
1717
file_dir = os.path.abspath(os.path.dirname(__file__))
18-
config_path = os.path.join(file_dir, 'server_config_4b.yaml')
18+
config_path = os.path.join(file_dir, 'server_config.yaml')
1919

2020
# Launch the Twinkle server — this call blocks until the server is shut down
2121
launch_server(config_path=config_path)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
./prometheus --config.file=/dashscope/caches/application/ray_logs/session_latest/metrics/prometheus/prometheus.yml

0 commit comments

Comments
 (0)