Revert "Disable scheduler_report_pinned_bytes_only (#22132)" (#22786)

This reverts commit 88d2e21585.
This commit is contained in:
mwtian 2022-03-02 18:29:31 -08:00 committed by GitHub
parent e8c823791b
commit b98c9c77f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ def test_scaledown_shared_objects(shutdown_only):
) )
try: try:
cluster.start(_system_config={"scheduler_report_pinned_bytes_only": True}) cluster.start()
ray.init("auto") ray.init("auto")
# Triggers the addition of a GPU node. # Triggers the addition of a GPU node.

View file

@ -140,7 +140,7 @@ RAY_CONFIG(float, scheduler_spread_threshold, 0.5);
/// Whether to only report the usage of pinned copies of objects in the /// Whether to only report the usage of pinned copies of objects in the
/// object_store_memory resource. This means nodes holding secondary copies only /// object_store_memory resource. This means nodes holding secondary copies only
/// will become eligible for removal in the autoscaler. /// will become eligible for removal in the autoscaler.
RAY_CONFIG(bool, scheduler_report_pinned_bytes_only, false) RAY_CONFIG(bool, scheduler_report_pinned_bytes_only, true)
// The max allowed size in bytes of a return object from direct actor calls. // The max allowed size in bytes of a return object from direct actor calls.
// Objects larger than this size will be spilled/promoted to plasma. // Objects larger than this size will be spilled/promoted to plasma.