From cfa2c7a52cdec96ec732f169fba7041cec95313a Mon Sep 17 00:00:00 2001 From: Jay Chia Date: Mon, 22 Jan 2024 12:30:22 -0800 Subject: [PATCH] Fix docs nits --- docs/source/10-min.ipynb | 2 +- docs/source/api_docs/expressions.rst | 2 +- docs/source/user_guide/poweruser/memory.rst | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/source/10-min.ipynb b/docs/source/10-min.ipynb index 714754e3fc..5ef31ba107 100644 --- a/docs/source/10-min.ipynb +++ b/docs/source/10-min.ipynb @@ -834,7 +834,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "For a full list of all Expression methods and operators, see: [Expressions API Docs](../api_docs/expressions.rst)" + "For a full list of all Expression methods and operators, see: [Expressions API Docs](api_docs/expressions.rst)" ] }, { diff --git a/docs/source/api_docs/expressions.rst b/docs/source/api_docs/expressions.rst index 1bb7b616d7..4b33791998 100644 --- a/docs/source/api_docs/expressions.rst +++ b/docs/source/api_docs/expressions.rst @@ -180,7 +180,7 @@ Example: ``e1.list.join(e2)`` Structs -****** +******* Operations on structs, accessible through the :meth:`Expression.image ` method accessor: diff --git a/docs/source/user_guide/poweruser/memory.rst b/docs/source/user_guide/poweruser/memory.rst index 9e9ff3aada..5cdadf46f0 100644 --- a/docs/source/user_guide/poweruser/memory.rst +++ b/docs/source/user_guide/poweruser/memory.rst @@ -28,9 +28,9 @@ Spilling to disk is a mechanism that Daft uses to ensure workload completion in There are some things you can do that will help with this. -1. Use machines with more available memory per-CPU to increase each Ray worker's available memory (e.g. `AWS EC2 r5 instances `_) +1. Use machines with more available memory per-CPU to increase each Ray worker's available memory (e.g. `AWS EC2 r5 instances `_) 2. Use more machines in your cluster to increase overall cluster memory size -3. Use machines with attached local nvme SSD drives for higher throughput when spilling (e.g. `AWS EC2 r5d instances `_) +3. Use machines with attached local nvme SSD drives for higher throughput when spilling (e.g. AWS EC2 r5d instances) For more troubleshooting, you may also wish to consult the `Ray documentation's recommendations for object spilling `_. @@ -51,7 +51,7 @@ These OOMKills are often recoverable (Daft-on-Ray will take care of retrying wor There are some options available to you. -1. Use machines with more available memory per-CPU to increase each Ray worker's available memory (e.g. `AWS EC2 r5 instances `_) +1. Use machines with more available memory per-CPU to increase each Ray worker's available memory (e.g. AWS EC2 r5 instances) 2. Use more machines in your cluster to increase overall cluster memory size 3. Aggressively filter your data so that Daft can avoid reading data that it does not have to (e.g. ``df.where(...)``) 4. Request more memory for your UDFs (see: :ref:`resource-requests`) if your UDFs are memory intensive (e.g. decompression of data, running large matrix computations etc)