You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/cupynumeric/source/examples/torchswe.ipynb
+1-1
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
"id": "5be6c57b-7cae-4fc1-b78f-899becabc6ee",
6
6
"metadata": {},
7
7
"source": [
8
-
"<h1>TorchSWE case study</h1>\n",
8
+
"# TorchSWE case study\n",
9
9
"\n",
10
10
"\n",
11
11
"[TorchSWE](https://github.com/piyueh/TorchSWE) is a shallow-water solver created by Dr. Pi-Yueh Chuang and Prof. Lorena Barba that solves the vertically averaged Navier-Stokes equations using MPI and CuPy. It can simulate free-surface water flow in rivers, channels, and coastal areas, as well as model flood inundation. Given a topography, TorchSWE can predict flood-prone areas and the height of water inundation, making it a valuable tool for risk mapping.\n",
Legate is a task-based runtime software stack that enables development of
17
17
scalable and composable libraries for distributed and accelerated computing.
@@ -101,14 +101,13 @@ How to handle Out-Of-Memory errors?
101
101
102
102
.. code-block:: text
103
103
104
-
[0 - 7fb9fc426000] 0.985000 {5}{cupynumeric.mapper}: Mapper cupynumeric on Node 0 failed to allocate 144000000 bytes on memory 1e00000000000000 (of kind SYSTEM_MEM: Visible to all processors on a node) for region requirement 1 of Task cupynumeric::WhereTask[./script.py:90] (UID 39).
104
+
[0 - 7fda18f26000] 0.805182 {5}{cunumeric.mapper}: Failed to allocate 8388608 bytes on memory 1e00000000000000 (of kind SYSTEM_MEM) for region requirement(s) 1 of Task cupynumeric::BinaryOpTask[oom.py:24] (UID 18)
105
105
106
106
The above error indicates that the application ran out of memory during
107
107
execution. More granular details on the type of memory, the task that triggered
108
-
the error are provided in the error message, but this usually indicates that
109
-
resources (add more cores/threads/ GPUs, or increase the amount of system
110
-
memory or framebuffer memory) or decrease the problem size and confirm that you
111
-
are able to run the program to completion.
108
+
the error, and what was using up the available memory are provided in the error
109
+
message. If possible, try increasing the amount of system memory or framebuffer
110
+
memory allocated to the program, or decrease the problem size.
112
111
113
112
Reducing the ``--eager-alloc-percentage`` to, say, 10 or less can also help
114
113
since this reduces the amount of available memory available to the eager memory
@@ -151,7 +150,7 @@ Check out the :ref:`benchmarking` section for information on how to accurately
151
150
measure cuPyNumeric execution.
152
151
153
152
Why is cuPyNumeric slower than NumPy on my laptop?
Check out this `blog post <https://developer.nvidia.com/blog/accelerating-python-applications-with-cupynumeric-and-legate/>`_
197
+
or this `tutorial <https://github.com/NVIDIA/accelerated-computing-hub/blob/main/Accelerated_Python_User_Guide/notebooks/Chapter_X_Distributed_Computing_cuPyNumeric.ipynb>`_
198
198
to learn more about cuPyNumeric.
199
199
200
-
Technical questions?
201
-
--------------------
200
+
Questions?
201
+
----------
202
202
203
203
For technical questions about cuPyNumeric and Legate-based tools, please visit
204
204
the `community discussion forum <https://github.com/nv-legate/discussion>`_.
205
205
206
-
Other questions?
207
-
----------------
208
-
209
-
Follow us on `GitHub <https://github.com/nv-legate>`_ or reach out to us there.
206
+
If you have other questions, please contact us at *[email protected]*.
0 commit comments