mirror of
https://github.com/wassname/ray.git
synced 2026-07-17 11:32:33 +08:00
Support multiple core workers in one process (#7623)
This commit is contained in:
@@ -12,8 +12,8 @@ namespace api {
|
||||
|
||||
LocalModeRayRuntime::LocalModeRayRuntime(std::shared_ptr<RayConfig> config) {
|
||||
config_ = config;
|
||||
worker_ =
|
||||
std::unique_ptr<WorkerContext>(new WorkerContext(WorkerType::DRIVER, JobID::Nil()));
|
||||
worker_ = std::unique_ptr<WorkerContext>(new WorkerContext(
|
||||
WorkerType::DRIVER, ComputeDriverIdFromJob(JobID::Nil()), JobID::Nil()));
|
||||
object_store_ = std::unique_ptr<ObjectStore>(new LocalModeObjectStore(*this));
|
||||
task_submitter_ = std::unique_ptr<TaskSubmitter>(new LocalModeTaskSubmitter(*this));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user