[Placement Group]Add soft pack strategy (#10099)

This commit is contained in:
fangfengbin
2020-08-17 12:01:34 +08:00
committed by GitHub
parent 8f0f7371a0
commit edd783bc32
11 changed files with 195 additions and 69 deletions
+2
View File
@@ -174,6 +174,8 @@ cdef extern from "src/ray/protobuf/common.pb.h" nogil:
"ray::PlacementStrategy::PACK"
cdef CPlacementStrategy PLACEMENT_STRATEGY_SPREAD \
"ray::PlacementStrategy::SPREAD"
cdef CPlacementStrategy PLACEMENT_STRATEGY_STRICT_PACK \
"ray::PlacementStrategy::STRICT_PACK"
cdef extern from "ray/common/task/scheduling_resources.h" nogil:
cdef cppclass ResourceSet "ray::ResourceSet":