forked from ray-project/ray
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathray.config.ini
158 lines (122 loc) · 5.19 KB
/
ray.config.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
[ray]
ray_protocol_version = 0x0000000000000000
heartbeat_timeout_milliseconds = 1000
num_heartbeats_timeout = 100
get_timeout_milliseconds = 1000
worker_get_request_size = 1000
worker_fetch_request_size = 1000
num_connect_attempts = 50
connect_timeout_milliseconds = 1000
local_scheduler_fetch_timeout_milliseconds = 1000
local_scheduler_reconstruction_timeout_milliseconds = 1000
max_num_to_reconstruct = 1000
local_scheduler_fetch_request_size = 10000
kill_worker_timeout_milliseconds = 1000
manager_timeout_milliseconds = 1000
buf_size = 4096
max_time_for_handler_milliseconds = 1000
size_limit = 100
num_elements_limit = 1000
max_time_for_loop = 1000
redis_db_connect_retries = 50
redis_db_connect_wait_milliseconds = 1000
plasma_default_release_delay = 0
L3_cache_size_bytes = 100000000
simple_fail_over = false
;store_evict_soft_max_count = 10
[ray.java]
;network_interface = en0
[ray.java.start]
; run mode for this app SINGLE_PROCESS | SINGLE_BOX | CLUSTER
;run_mode = SINGLE_PROCESS
run_mode = SINGLE_BOX
; worker mode for this app DRIVER | WORKER | NONE
worker_mode = DRIVER
; number of workers initially started
num_workers = 2
driver_id = 0123456789abcdef0123456789abcdef01234567
redis_port = 34111
num_local_schedulers = 1
max_submit_task_buffer_size_bytes = 51200
default_first_check_timeout_ms = 1000
default_get_check_interval_ms = 5000
;jvm_parameters = -XX:+TraceClassLoading
object_store_occupied_memory_MB = 2
deploy = false
onebox_delay_seconds_before_run_app_logic = 0
use_raylet = true
static_resources = CPU:4,GPU:0
; java class which main is served as the driver in a java worker
driver_class =
; arguments for the java class main function which is served at the driver
; the arguments are separated by ','
driver_args =
[ray.java.start.job]
[ray.java.path.classes.source]
%CONFIG_FILE_DIR%/common/target/classes =
%CONFIG_FILE_DIR%/common/target/test-classes =
%CONFIG_FILE_DIR%/api/target/classes =
%CONFIG_FILE_DIR%/api/target/test-classes =
%CONFIG_FILE_DIR%/runtime-common/target/classes =
%CONFIG_FILE_DIR%/runtime-common/target/test-classes =
%CONFIG_FILE_DIR%/runtime-dev/target/classes =
%CONFIG_FILE_DIR%/runtime-dev/target/test-classes =
%CONFIG_FILE_DIR%/runtime-native/target/classes =
%CONFIG_FILE_DIR%/runtime-native/target/test-classes =
%CONFIG_FILE_DIR%/tutorial/target/classes =
%CONFIG_FILE_DIR%/test/target/classes =
%CONFIG_FILE_DIR%/test/target/test-classes =
%CONFIG_FILE_DIR%/test/lib/* =
[ray.java.path.classes.package]
%CONFIG_FILE_DIR%/common/target/ray-common-1.0.jar =
%CONFIG_FILE_DIR%/api/target/ray-api-1.0.jar =
%CONFIG_FILE_DIR%/runtime-common/target/ray-runtime-common-1.0.jar =
%CONFIG_FILE_DIR%/runtime-dev/target/ray-runtime-dev-1.0.jar =
%CONFIG_FILE_DIR%/runtime-native/target/ray-runtime-native-1.0.jar =
%CONFIG_FILE_DIR%/test/target/ray-test-1.0.jar =
%CONFIG_FILE_DIR%/test/target/test-classes =
%CONFIG_FILE_DIR%/test/lib/* =
%CONFIG_FILE_DIR%/tutorial/target/ray-tutorial-1.0.jar =
[ray.java.path.classes.deploy]
%CONFIG_FILE_DIR%/java/lib/* =
[ray.java.path.jni.package]
%CONFIG_FILE_DIR%/../build/src/plasma =
%CONFIG_FILE_DIR%/../build/src/local_scheduler =
[ray.java.path.jni.deploy]
%CONFIG_FILE_DIR%/native/lib =
[ray.java.path.source]
redis_server = %CONFIG_FILE_DIR%/../build/src/common/thirdparty/redis/src/redis-server
redis_module = %CONFIG_FILE_DIR%/../build/src/common/redis_module/libray_redis_module.so
store = %CONFIG_FILE_DIR%/../build/src/plasma/plasma_store_server
store_manager = %CONFIG_FILE_DIR%/../build/src/plasma/plasma_manager
local_scheduler = %CONFIG_FILE_DIR%/../build/src/local_scheduler/local_scheduler
global_scheduler = %CONFIG_FILE_DIR%/../build/src/global_scheduler/global_scheduler
raylet = %CONFIG_FILE_DIR%/../build/src/ray/raylet/raylet
python_dir = %CONFIG_FILE_DIR%/../build/
java_runtime_rewritten_jars_dir =
java_class_paths = ray.java.path.classes.source
java_jnilib_paths = ray.java.path.jni.package
[ray.java.path.package]
redis_server = %CONFIG_FILE_DIR%/../build/src/common/thirdparty/redis/src/redis-server
redis_module = %CONFIG_FILE_DIR%/../build/src/common/redis_module/libray_redis_module.so
store = %CONFIG_FILE_DIR%/../build/src/plasma/plasma_store_server
store_manager = %CONFIG_FILE_DIR%/../build/src/plasma/plasma_manager
local_scheduler = %CONFIG_FILE_DIR%/../build/src/local_scheduler/local_scheduler
global_scheduler = %CONFIG_FILE_DIR%/../build/src/global_scheduler/global_scheduler
raylet = %CONFIG_FILE_DIR%/../build/src/ray/raylet/raylet
python_dir = %CONFIG_FILE_DIR%/../build/
java_runtime_rewritten_jars_dir =
java_class_paths = ray.java.path.classes.package
java_jnilib_paths = ray.java.path.jni.package
[ray.java.path.deploy]
redis_server = %CONFIG_FILE_DIR%/native/bin/redis-server
redis_module = %CONFIG_FILE_DIR%/native/lib/libray_redis_module.so
store = %CONFIG_FILE_DIR%/native/bin/plasma_store_server
store_manager = %CONFIG_FILE_DIR%/native/bin/plasma_manager
local_scheduler = %CONFIG_FILE_DIR%/native/bin/local_scheduler
global_scheduler = %CONFIG_FILE_DIR%/native/bin/global_scheduler
raylet = %CONFIG_FILE_DIR%/native/bin/raylet
python_dir = %CONFIG_FILE_DIR%/python
java_runtime_rewritten_jars_dir = %CONFIG_FILE_DIR%/java/lib/
java_class_paths = ray.java.path.classes.deploy
java_jnilib_paths = ray.java.path.jni.deploy