mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 20:22:39 +08:00
[Placement Group]Add soft pack strategy (#10099)
This commit is contained in:
@@ -11,7 +11,11 @@ public enum PlacementStrategy {
|
||||
/**
|
||||
* Places Bundles across distinct nodes as even as possible.
|
||||
*/
|
||||
SPREAD(1);
|
||||
SPREAD(1),
|
||||
/**
|
||||
* Packs Bundles into one node. The group is not allowed to span multiple nodes.
|
||||
*/
|
||||
STRICT_PACK(2);
|
||||
|
||||
private int value = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user