mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 11:21:15 +08:00
@@ -168,7 +168,7 @@ public class RayConfig {
|
||||
// raylet parameters
|
||||
rayletConfigParameters = new ArrayList<String>();
|
||||
Config rayletConfig = config.getConfig("ray.raylet.config");
|
||||
for (java.util.Map.Entry<java.lang.String,ConfigValue> entry : rayletConfig.entrySet()) {
|
||||
for (Map.Entry<String,ConfigValue> entry : rayletConfig.entrySet()) {
|
||||
String parameter = entry.getKey() + "," + String.valueOf(entry.getValue().unwrapped());
|
||||
rayletConfigParameters.add(parameter);
|
||||
}
|
||||
@@ -233,6 +233,7 @@ public class RayConfig {
|
||||
+ ", redirectOutput=" + redirectOutput
|
||||
+ ", libraryPath=" + libraryPath
|
||||
+ ", classpath=" + classpath
|
||||
+ ", jvmParameters=" + jvmParameters
|
||||
+ ", redisAddress='" + redisAddress + '\''
|
||||
+ ", redisIp='" + redisIp + '\''
|
||||
+ ", redisPort=" + redisPort
|
||||
@@ -241,9 +242,13 @@ public class RayConfig {
|
||||
+ ", objectStoreSocketName='" + objectStoreSocketName + '\''
|
||||
+ ", objectStoreSize=" + objectStoreSize
|
||||
+ ", rayletSocketName='" + rayletSocketName + '\''
|
||||
+ ", rayletConfigParameters=" + rayletConfigParameters
|
||||
+ ", redisServerExecutablePath='" + redisServerExecutablePath + '\''
|
||||
+ ", redisModulePath='" + redisModulePath + '\''
|
||||
+ ", plasmaStoreExecutablePath='" + plasmaStoreExecutablePath + '\''
|
||||
+ ", rayletExecutablePath='" + rayletExecutablePath + '\''
|
||||
+ ", driverResourcePath='" + driverResourcePath + '\''
|
||||
+ ", pythonWorkerCommand='" + pythonWorkerCommand + '\''
|
||||
+ '}';
|
||||
}
|
||||
|
||||
|
||||
@@ -205,7 +205,7 @@ public class RunManager {
|
||||
"0", // number of initial workers
|
||||
String.valueOf(maximumStartupConcurrency),
|
||||
ResourceUtil.getResourcesStringFromMap(rayConfig.resources),
|
||||
String.join(",", rayConfig.rayletConfigParameters), // The internal config list.
|
||||
String.join(",", rayConfig.rayletConfigParameters), // The internal config list.
|
||||
buildPythonWorkerCommand(), // python worker command
|
||||
buildWorkerCommandRaylet() // java worker command
|
||||
);
|
||||
|
||||
@@ -88,6 +88,8 @@ ray {
|
||||
|
||||
// See src/ray/ray_config_def.h for options.
|
||||
config {
|
||||
// Maximum size of an inline object (bytes).
|
||||
inline_object_max_size_bytes: 0
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user