mirror of
https://github.com/wassname/ray.git
synced 2026-07-26 13:37:24 +08:00
[Placement Group]Add detached support for placement group. (#13582)
This commit is contained in:
@@ -1184,7 +1184,8 @@ cdef class CoreWorker:
|
||||
self,
|
||||
c_string name,
|
||||
c_vector[unordered_map[c_string, double]] bundles,
|
||||
c_string strategy):
|
||||
c_string strategy,
|
||||
c_bool is_detached):
|
||||
cdef:
|
||||
CPlacementGroupID c_placement_group_id
|
||||
CPlacementStrategy c_strategy
|
||||
@@ -1208,7 +1209,8 @@ cdef class CoreWorker:
|
||||
CPlacementGroupCreationOptions(
|
||||
name,
|
||||
c_strategy,
|
||||
bundles
|
||||
bundles,
|
||||
is_detached
|
||||
),
|
||||
&c_placement_group_id))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user