We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73e17f2 commit ab6b1fcCopy full SHA for ab6b1fc
1 file changed
python_libraries/ray/README.md
@@ -9,3 +9,19 @@ This will trigger the execution of the function but not block the runtime of the
9
10
In `01_parallel_calls.py` one can see the execution of a remote function, where each call needs 2 seconds.
11
The remote function runned 10 times takes approximately 2 seconds, whereas the serial takes around 20.
12
+
13
+```
14
+python 01_parallel_calls.py
15
16
17
18
+2024-11-29 16:08:09,296 INFO worker.py:1819 -- Started a local Ray instance.
19
20
+Successfully imported ray!
21
22
+sum_serial(n)=10
23
+time sum_serial=20.037309885025024
24
25
+sum_remote(n)=10
26
+time sum_remote=2.1553449630737305
27
0 commit comments