|
6 | 6 | "source": [
|
7 | 7 | "# Ray Crash Course - Exploring Ray API Calls\n",
|
8 | 8 | "\n",
|
9 |
| - "© 2019-2020, Anyscale. All Rights Reserved\n", |
| 9 | + "© 2019-2021, Anyscale. All Rights Reserved\n", |
10 | 10 | "\n",
|
11 | 11 | "\n",
|
12 | 12 | "\n",
|
|
51 | 51 | "metadata": {},
|
52 | 52 | "outputs": [],
|
53 | 53 | "source": [
|
54 |
| - "print(f'Ray Dashboard: http://{ray.get_webui_url()}')" |
| 54 | + "print(f'Ray Dashboard: http://{ray.get_dashboard_url()}')" |
55 | 55 | ]
|
56 | 56 | },
|
57 | 57 | {
|
|
195 | 195 | "metadata": {},
|
196 | 196 | "outputs": [],
|
197 | 197 | "source": [
|
198 |
| - "f'http://{ray.get_webui_url()}'" |
| 198 | + "f'http://{ray.get_dashboard_url()}'" |
199 | 199 | ]
|
200 | 200 | },
|
201 | 201 | {
|
|
227 | 227 | "| :----- | :---------------- |\n",
|
228 | 228 | "| [`ray.get_gpu_ids()`](https://ray.readthedocs.io/en/latest/package-ref.html#ray.get_gpu_ids) | GPUs |\n",
|
229 | 229 | "| [`ray.get_resource_ids()`](https://ray.readthedocs.io/en/latest/package-ref.html#ray.get_resource_ids) | Resources available to the _worker_ |\n",
|
230 |
| - "| [`ray.get_webui_url()`](https://ray.readthedocs.io/en/latest/package-ref.html#ray.get_webui_url) | Ray Dashboard URL |\n", |
| 230 | + "| [`ray.get_dashboard_url()`](https://github.com/ray-project/ray/blob/master/python/ray/worker.py) | Ray Dashboard URL |\n", |
231 | 231 | "| [`ray.nodes()`](https://ray.readthedocs.io/en/latest/package-ref.html#ray.nodes) | Cluster nodes |\n",
|
232 | 232 | "| [`ray.objects()`](https://ray.readthedocs.io/en/latest/package-ref.html#ray.objects) | Objects currently in the Object Store |\n",
|
233 | 233 | "| [`ray.cluster_resources()`](https://ray.readthedocs.io/en/latest/package-ref.html#ray.cluster_resources) | All the available resources, used or not |\n",
|
|
246 | 246 | "print(f\"\"\"\n",
|
247 | 247 | "ray.get_gpu_ids(): {ray.get_gpu_ids()}\n",
|
248 | 248 | "ray.get_resource_ids(): {ray.get_resource_ids()}\n",
|
249 |
| - "ray.get_webui_url(): {ray.get_webui_url()}\n", |
| 249 | + "ray.get_dashboard_url(): {ray.get_dashboard_url()}\n", |
250 | 250 | "ray.nodes(): {ray.nodes()}\n",
|
251 | 251 | "ray.objects(): {ray.objects()}\n",
|
252 | 252 | "ray.cluster_resources(): {ray.cluster_resources()}\n",
|
|
0 commit comments