Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

Commit 8071bd0

Browse files
committed
prep for Ray Summit, confirm on Ray 1.4
1 parent 125d528 commit 8071bd0

9 files changed

Lines changed: 67 additions & 1152 deletions

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,15 @@
33
An introductory tutorial about leveraging [Ray](https://docs.ray.io/)
44
core features for distributed patterns.
55

6-
These examples have been tested using Python **3.6**, **3.7**, **3.8**
7-
in the following environments:
6+
These examples have been tested in the following environments:
87

98
- Ubuntu 18.04 LTS
10-
- macOS 10.13
9+
- macOS 10.15
10+
11+
Using:
12+
13+
- Ray versions 1.2, 1.3, 1.4 (not the early release candidates)
14+
- Python versions: 3.6, 3.7, 3.8
1115

1216
Currently, Python **3.9** is not supported by Ray.
1317

ex_job_lib.ipynb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@
3737
"ray.init(\n",
3838
" ignore_reinit_error=True,\n",
3939
" logging_level=logging.ERROR,\n",
40-
")\n",
41-
"\n",
42-
"print(f\"Dashboard URL: http://{ray.get_dashboard_url()}\")"
40+
")"
4341
]
4442
},
4543
{

ex_mult_pool.ipynb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@
3636
"ray.init(\n",
3737
" ignore_reinit_error=True,\n",
3838
" logging_level=logging.ERROR,\n",
39-
")\n",
40-
"\n",
41-
"print(f\"Dashboard URL: http://{ray.get_dashboard_url()}\")"
39+
")"
4240
]
4341
},
4442
{

ex_para_iter.ipynb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@
4242
"ray.init(\n",
4343
" ignore_reinit_error=True,\n",
4444
" logging_level=logging.ERROR,\n",
45-
")\n",
46-
"\n",
47-
"print(f\"Dashboard URL: http://{ray.get_dashboard_url()}\")"
45+
")"
4846
]
4947
},
5048
{

ex_remo_func.ipynb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@
3939
"ray.init(\n",
4040
" ignore_reinit_error=True,\n",
4141
" logging_level=logging.ERROR,\n",
42-
")\n",
43-
"\n",
44-
"print(f\"Dashboard URL: http://{ray.get_dashboard_url()}\")"
42+
")"
4543
]
4644
},
4745
{

ex_remo_meth.ipynb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@
3939
"ray.init(\n",
4040
" ignore_reinit_error=True,\n",
4141
" logging_level=logging.ERROR,\n",
42-
")\n",
43-
"\n",
44-
"print(f\"Dashboard URL: http://{ray.get_dashboard_url()}\")"
42+
")"
4543
]
4644
},
4745
{

ex_remo_objs.ipynb

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@
3939
"ray.init(\n",
4040
" ignore_reinit_error=True,\n",
4141
" logging_level=logging.ERROR,\n",
42-
")\n",
43-
"\n",
44-
"print(f\"Dashboard URL: http://{ray.get_dashboard_url()}\")"
42+
")"
4543
]
4644
},
4745
{
@@ -104,7 +102,7 @@
104102
"cell_type": "markdown",
105103
"metadata": {},
106104
"source": [
107-
"You can also access the values of multiple object references in parallel:"
105+
"For example, you can access the values of multiple object references in parallel:"
108106
]
109107
},
110108
{
@@ -146,7 +144,7 @@
146144
"obj_ref = long_running_function.remote()\n",
147145
"\n",
148146
"try:\n",
149-
" ray.get(obj_ref, timeout=4)\n",
147+
" ray.get(obj_ref, timeout=6)\n",
150148
"except GetTimeoutError:\n",
151149
" print(\"`get` timed out\")"
152150
]

0 commit comments

Comments
 (0)