mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
133 lines
4 KiB
INI
133 lines
4 KiB
INI
[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
|
|
|
|
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
|
|
|
|
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%/api/target/classes =
|
|
%CONFIG_FILE_DIR%/api/target/test-classes =
|
|
|
|
%CONFIG_FILE_DIR%/runtime/target/classes =
|
|
%CONFIG_FILE_DIR%/runtime/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%/api/target/ray-api-1.0.jar =
|
|
%CONFIG_FILE_DIR%/runtime/target/ray-runtime-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
|
|
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
|
|
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
|
|
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
|