|
22 | 22 | }, |
23 | 23 | { |
24 | 24 | "cell_type": "code", |
25 | | - "execution_count": 3, |
| 25 | + "execution_count": 2, |
26 | 26 | "id": "renewable-western", |
27 | 27 | "metadata": {}, |
28 | 28 | "outputs": [ |
29 | 29 | { |
30 | 30 | "name": "stderr", |
31 | 31 | "output_type": "stream", |
32 | 32 | "text": [ |
33 | | - "2021-02-26 11:46:09,384\tINFO services.py:1166 -- View the Ray dashboard at \u001b[1m\u001b[32mhttp://127.0.0.1:8265\u001b[39m\u001b[22m\n" |
| 33 | + "2021-05-04 16:17:33,432\tINFO services.py:1092 -- View the Ray dashboard at \u001b[1m\u001b[32mhttp://127.0.0.1:8266\u001b[39m\u001b[22m\n" |
34 | 34 | ] |
35 | 35 | }, |
36 | 36 | { |
37 | 37 | "data": { |
38 | 38 | "text/plain": [ |
39 | | - "{'node_ip_address': '192.168.1.37',\n", |
40 | | - " 'raylet_ip_address': '192.168.1.37',\n", |
41 | | - " 'redis_address': '192.168.1.37:6379',\n", |
42 | | - " 'object_store_address': '/tmp/ray/session_2021-02-26_11-46-08_157773_47098/sockets/plasma_store',\n", |
43 | | - " 'raylet_socket_name': '/tmp/ray/session_2021-02-26_11-46-08_157773_47098/sockets/raylet',\n", |
44 | | - " 'webui_url': '127.0.0.1:8265',\n", |
45 | | - " 'session_dir': '/tmp/ray/session_2021-02-26_11-46-08_157773_47098',\n", |
46 | | - " 'metrics_export_port': 61984}" |
| 39 | + "{'node_ip_address': '9.160.24.40',\n", |
| 40 | + " 'raylet_ip_address': '9.160.24.40',\n", |
| 41 | + " 'redis_address': '9.160.24.40:29280',\n", |
| 42 | + " 'object_store_address': '/tmp/ray/session_2021-05-04_16-17-32_831080_96327/sockets/plasma_store',\n", |
| 43 | + " 'raylet_socket_name': '/tmp/ray/session_2021-05-04_16-17-32_831080_96327/sockets/raylet',\n", |
| 44 | + " 'webui_url': '127.0.0.1:8266',\n", |
| 45 | + " 'session_dir': '/tmp/ray/session_2021-05-04_16-17-32_831080_96327',\n", |
| 46 | + " 'metrics_export_port': 58844,\n", |
| 47 | + " 'node_id': 'c8ed8ccd822336e1bcfc1d946811186c9b954ceb'}" |
47 | 48 | ] |
48 | 49 | }, |
49 | | - "execution_count": 3, |
| 50 | + "execution_count": 2, |
50 | 51 | "metadata": {}, |
51 | 52 | "output_type": "execute_result" |
52 | 53 | } |
|
57 | 58 | }, |
58 | 59 | { |
59 | 60 | "cell_type": "code", |
60 | | - "execution_count": 4, |
| 61 | + "execution_count": 3, |
61 | 62 | "id": "scheduled-miami", |
62 | 63 | "metadata": {}, |
63 | 64 | "outputs": [], |
|
67 | 68 | }, |
68 | 69 | { |
69 | 70 | "cell_type": "code", |
70 | | - "execution_count": 5, |
| 71 | + "execution_count": 4, |
71 | 72 | "id": "leading-sheriff", |
72 | 73 | "metadata": {}, |
73 | 74 | "outputs": [], |
|
89 | 90 | "\n", |
90 | 91 | "pipeline = dm.Pipeline()\n", |
91 | 92 | "\n", |
92 | | - "node_a = dm.Node('a', transformer)\n", |
93 | | - "node_b = dm.Node('b', transformer)\n", |
94 | | - "node_c = dm.Node('c', transformer)\n", |
95 | | - "node_d = dm.Node('d', transformer)\n", |
| 93 | + "node_a = dm.OrNode('a', transformer)\n", |
| 94 | + "node_b = dm.OrNode('b', transformer)\n", |
| 95 | + "node_c = dm.OrNode('c', transformer)\n", |
| 96 | + "node_d = dm.OrNode('d', transformer)\n", |
96 | 97 | "\n", |
97 | 98 | "pipeline.add_edge(node_a, node_b)\n", |
98 | 99 | "pipeline.add_edge(node_b, node_c)\n", |
|
239 | 240 | { |
240 | 241 | "data": { |
241 | 242 | "text/plain": [ |
242 | | - "[[<com.ibm.research.ray.graph.Datamodel.XYRef at 0x7fbc48525c50>]]" |
| 243 | + "[[<com.ibm.research.ray.graph.Datamodel.XYRef at 0x7f9898928190>]]" |
243 | 244 | ] |
244 | 245 | }, |
245 | 246 | "execution_count": 17, |
246 | 247 | "metadata": {}, |
247 | 248 | "output_type": "execute_result" |
248 | | - }, |
249 | | - { |
250 | | - "name": "stderr", |
251 | | - "output_type": "stream", |
252 | | - "text": [ |
253 | | - "2021-02-28 11:00:54,243\tERROR worker.py:981 -- print_logs: Connection closed by server.\n" |
254 | | - ] |
255 | 249 | } |
256 | 250 | ], |
257 | 251 | "source": [ |
258 | 252 | "ray.get(out_args[node_c])" |
259 | 253 | ] |
| 254 | + }, |
| 255 | + { |
| 256 | + "cell_type": "code", |
| 257 | + "execution_count": null, |
| 258 | + "id": "b0188d6f", |
| 259 | + "metadata": {}, |
| 260 | + "outputs": [], |
| 261 | + "source": [] |
260 | 262 | } |
261 | 263 | ], |
262 | 264 | "metadata": { |
|
0 commit comments