|
2 | 2 | "cells": [ |
3 | 3 | { |
4 | 4 | "cell_type": "code", |
5 | | - "execution_count": 1, |
| 5 | + "execution_count": null, |
6 | 6 | "id": "918d5f68-2b90-4f0d-a90e-32baedf27f39", |
7 | 7 | "metadata": {}, |
8 | 8 | "outputs": [], |
|
13 | 13 | }, |
14 | 14 | { |
15 | 15 | "cell_type": "code", |
16 | | - "execution_count": 8, |
| 16 | + "execution_count": null, |
17 | 17 | "id": "58449e85-14df-442d-adfb-380a878d310d", |
18 | 18 | "metadata": {}, |
19 | 19 | "outputs": [], |
|
42 | 42 | }, |
43 | 43 | { |
44 | 44 | "cell_type": "code", |
45 | | - "execution_count": 3, |
| 45 | + "execution_count": null, |
46 | 46 | "id": "0327976e-b27b-47d4-9a04-68bcebe217df", |
47 | 47 | "metadata": {}, |
48 | | - "outputs": [ |
49 | | - { |
50 | | - "name": "stderr", |
51 | | - "output_type": "stream", |
52 | | - "text": [ |
53 | | - "2024-02-27 19:21:33,231\tINFO worker.py:1458 -- Connecting to existing Ray cluster at address: 10.210.154.158:8786...\n", |
54 | | - "2024-02-27 19:21:33,262\tINFO worker.py:1633 -- Connected to Ray cluster. View the dashboard at \u001b[1m\u001b[32mhttp://10.210.154.158:8000 \u001b[39m\u001b[22m\n" |
55 | | - ] |
56 | | - }, |
57 | | - { |
58 | | - "name": "stdout", |
59 | | - "output_type": "stream", |
60 | | - "text": [ |
61 | | - "https://453f3e01-e179-4204-a29b-3eb6bb94a853-8000.job.console.elementai.com\n" |
62 | | - ] |
63 | | - } |
64 | | - ], |
| 48 | + "outputs": [], |
65 | 49 | "source": [ |
66 | 50 | "import ray_server\n", |
67 | 51 | "server = ray_server.get_ray_server()" |
68 | 52 | ] |
69 | 53 | }, |
70 | 54 | { |
71 | 55 | "cell_type": "code", |
72 | | - "execution_count": 4, |
| 56 | + "execution_count": null, |
73 | 57 | "id": "ce27b201-7e22-48fa-b646-80eebeb6cac0", |
74 | 58 | "metadata": {}, |
75 | | - "outputs": [ |
76 | | - { |
77 | | - "data": { |
78 | | - "text/plain": [ |
79 | | - "'OK'" |
80 | | - ] |
81 | | - }, |
82 | | - "execution_count": 4, |
83 | | - "metadata": {}, |
84 | | - "output_type": "execute_result" |
85 | | - } |
86 | | - ], |
| 59 | + "outputs": [], |
87 | 60 | "source": [ |
88 | 61 | "server.scale_cluster(60)" |
89 | 62 | ] |
|
98 | 71 | }, |
99 | 72 | { |
100 | 73 | "cell_type": "code", |
101 | | - "execution_count": 5, |
| 74 | + "execution_count": null, |
102 | 75 | "id": "ea60c091-265f-441b-9293-5cc66d7c7c6f", |
103 | 76 | "metadata": {}, |
104 | 77 | "outputs": [], |
|
117 | 90 | }, |
118 | 91 | { |
119 | 92 | "cell_type": "code", |
120 | | - "execution_count": 6, |
| 93 | + "execution_count": null, |
121 | 94 | "id": "430fa2fa-326a-481e-bdc9-a29482090908", |
122 | 95 | "metadata": {}, |
123 | 96 | "outputs": [], |
|
136 | 109 | "execution_count": null, |
137 | 110 | "id": "5f9668d8-c01f-4c67-8131-d2b82a2a4d7e", |
138 | 111 | "metadata": {}, |
139 | | - "outputs": [ |
140 | | - { |
141 | | - "name": "stderr", |
142 | | - "output_type": "stream", |
143 | | - "text": [ |
144 | | - "2024-02-27 20:06:57,855\tWARNING worker.py:2058 -- The node with node id: eb6161373dd810eb1c6006acce4ba31c2b4cdb21c55e1d1fcdd4f6cb and address: 10.210.142.8 and node name: 10.210.142.8 has been marked dead because the detector has missed too many heartbeats from it. This can happen when a \t(1) raylet crashes unexpectedly (OOM, preempted node, etc.) \n", |
145 | | - "\t(2) raylet has lagging heartbeats due to slow network or busy workload.\n", |
146 | | - "2024-02-27 20:09:21,012\tWARNING worker.py:2058 -- The node with node id: 28835ff69e9f4134cdda660fa1096ee90823f4cd0de1a6e955788c6c and address: 10.210.174.138 and node name: 10.210.174.138 has been marked dead because the detector has missed too many heartbeats from it. This can happen when a \t(1) raylet crashes unexpectedly (OOM, preempted node, etc.) \n", |
147 | | - "\t(2) raylet has lagging heartbeats due to slow network or busy workload.\n", |
148 | | - "2024-02-27 20:16:55,405\tWARNING worker.py:2058 -- The node with node id: 78ddbe7cece04c64f1b371c5c91410545212c1f8192be1b401e4ed5d and address: 10.210.142.229 and node name: 10.210.142.229 has been marked dead because the detector has missed too many heartbeats from it. This can happen when a \t(1) raylet crashes unexpectedly (OOM, preempted node, etc.) \n", |
149 | | - "\t(2) raylet has lagging heartbeats due to slow network or busy workload.\n", |
150 | | - "2024-02-27 20:35:15,246\tWARNING worker.py:2058 -- The node with node id: b9c718c14c17e89b35bb1594f649731911f6b573ab1c0285aedb3569 and address: 10.210.51.136 and node name: 10.210.51.136 has been marked dead because the detector has missed too many heartbeats from it. This can happen when a \t(1) raylet crashes unexpectedly (OOM, preempted node, etc.) \n", |
151 | | - "\t(2) raylet has lagging heartbeats due to slow network or busy workload.\n" |
152 | | - ] |
153 | | - } |
154 | | - ], |
| 112 | + "outputs": [], |
155 | 113 | "source": [ |
156 | 114 | "util.repo_names_licenses_convert_to_sqlite(\n", |
157 | 115 | " cfg.repo_licenses_path / Path(cfg.repo_licenses_s3['path']).name,\n", |
|
316 | 274 | "outputs": [], |
317 | 275 | "source": [ |
318 | 276 | "params = process_commit_pairs.FilterParams()\n", |
319 | | - "res = util.ray_map(\n", |
| 277 | + "res = ray_util.ray_map(\n", |
320 | 278 | " process_commit_pairs.clean_files_bucket,\n", |
321 | 279 | " files,\n", |
322 | 280 | " dst=dst,\n", |
|
344 | 302 | "source": [ |
345 | 303 | "res = regroup.ray_shuffle.remote(\n", |
346 | 304 | " cfg.pr_commid_pairs_files_filtered_cleaned_path,\n", |
347 | | - " cfg.pr_commid_pairs_files_filtered_cleaned_grouped_path',\n", |
| 305 | + " cfg.pr_commid_pairs_files_filtered_cleaned_grouped_path,\n", |
348 | 306 | " 'pull_request.guid',\n", |
349 | 307 | " 3\n", |
350 | 308 | ")" |
|
354 | 312 | "cell_type": "code", |
355 | 313 | "execution_count": null, |
356 | 314 | "id": "2ab3999f-237a-4c9d-a08a-609f546954c9", |
357 | | - "metadata": {}, |
| 315 | + "metadata": { |
| 316 | + "scrolled": true |
| 317 | + }, |
358 | 318 | "outputs": [], |
359 | 319 | "source": [ |
360 | 320 | "res = ray.get(res)" |
|
0 commit comments