Skip to content

Commit

Permalink
Merge branch 'ray-project:master' into resource_changing_scheduler_air
Browse files Browse the repository at this point in the history
  • Loading branch information
Yard1 committed Jul 6, 2022
2 parents fb93294 + 29358f9 commit 9aca411
Show file tree
Hide file tree
Showing 84 changed files with 3,182 additions and 1,072 deletions.
22 changes: 22 additions & 0 deletions doc/source/ray-core/objects/object-spilling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,28 @@ If you are using an HDD, it is recommended that you specify a large buffer size
},
)
To prevent running out of disk space, local object spilling will throw ``OutOfDiskError`` if the disk utilization exceeds the predefined threshold.
If multiple physical devices are used, any physical device's over-usage will trigger the ``OutOfDiskError``.
The default threshold is 0.95 (95%). You can adjust the threshold by setting ``local_fs_capacity_threshold``, or set it to 1 to disable the protection.

.. code-block:: python
ray.init(
_system_config={
# Allow spilling until the local disk is 99% utilized.
# This only affects spilling to the local file system.
"local_fs_capacity_threshold": 0.99,
"object_spilling_config": json.dumps(
{
"type": "filesystem",
"params": {
"directory_path": "/tmp/spill",
},
)
},
)
To enable object spilling to remote storage (any URI supported by `smart_open <https://pypi.org/project/smart-open/>`__):
.. code-block:: python
Expand Down
1 change: 1 addition & 0 deletions java/dependencies.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def gen_java_deps():
version = "7.3.0",
exclusions = [
"org.yaml:snakeyaml",
"com.google.guava:guava",
]
),
],
Expand Down
87 changes: 0 additions & 87 deletions java/serve/src/main/java/io/ray/serve/DeploymentConfig.java

This file was deleted.

46 changes: 0 additions & 46 deletions java/serve/src/main/java/io/ray/serve/DeploymentVersion.java

This file was deleted.

46 changes: 0 additions & 46 deletions java/serve/src/main/java/io/ray/serve/RayServeConfig.java

This file was deleted.

115 changes: 0 additions & 115 deletions java/serve/src/main/java/io/ray/serve/ReplicaConfig.java

This file was deleted.

Loading

0 comments on commit 9aca411

Please sign in to comment.