|
10 | 10 | }, |
11 | 11 | { |
12 | 12 | "cell_type": "code", |
13 | | - "execution_count": null, |
| 13 | + "execution_count": 1, |
14 | 14 | "id": "b55bc3ea-4ce3-49bf-bb1f-e209de8ca47a", |
15 | 15 | "metadata": {}, |
16 | 16 | "outputs": [], |
|
46 | 46 | }, |
47 | 47 | { |
48 | 48 | "cell_type": "code", |
49 | | - "execution_count": null, |
| 49 | + "execution_count": 2, |
50 | 50 | "id": "0f4bc870-091f-4e11-9642-cba145710159", |
51 | 51 | "metadata": {}, |
52 | | - "outputs": [], |
| 52 | + "outputs": [ |
| 53 | + { |
| 54 | + "name": "stdout", |
| 55 | + "output_type": "stream", |
| 56 | + "text": [ |
| 57 | + "Written to: instascaletest.yaml\n" |
| 58 | + ] |
| 59 | + } |
| 60 | + ], |
53 | 61 | "source": [ |
54 | 62 | "# Create and configure our cluster object (and appwrapper)\n", |
55 | 63 | "cluster = Cluster(ClusterConfiguration(\n", |
|
76 | 84 | }, |
77 | 85 | { |
78 | 86 | "cell_type": "code", |
79 | | - "execution_count": null, |
| 87 | + "execution_count": 3, |
80 | 88 | "id": "f0884bbc-c224-4ca0-98a0-02dfa09c2200", |
81 | 89 | "metadata": {}, |
82 | | - "outputs": [], |
| 90 | + "outputs": [ |
| 91 | + { |
| 92 | + "name": "stdout", |
| 93 | + "output_type": "stream", |
| 94 | + "text": [ |
| 95 | + "Waiting for requested resources to be set up...\n", |
| 96 | + "Requested cluster up and running!\n" |
| 97 | + ] |
| 98 | + } |
| 99 | + ], |
83 | 100 | "source": [ |
84 | 101 | "# Bring up the cluster\n", |
85 | 102 | "cluster.up()\n", |
|
98 | 115 | }, |
99 | 116 | { |
100 | 117 | "cell_type": "code", |
101 | | - "execution_count": null, |
| 118 | + "execution_count": 4, |
102 | 119 | "id": "7fd45bc5-03c0-4ae5-9ec5-dd1c30f1a084", |
103 | 120 | "metadata": {}, |
104 | | - "outputs": [], |
| 121 | + "outputs": [ |
| 122 | + { |
| 123 | + "data": { |
| 124 | + "text/html": [ |
| 125 | + "<pre style=\"white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace\"><span style=\"font-style: italic\"> </span><span style=\"font-weight: bold; font-style: italic\"> 🚀 CodeFlare Cluster Details 🚀</span><span style=\"font-style: italic\"> </span>\n", |
| 126 | + "<span style=\"font-weight: bold\"> </span>\n", |
| 127 | + " ╭─────────────────────────────────────────────────────────────────────╮ \n", |
| 128 | + " │ <span style=\"color: #c0c0c0; text-decoration-color: #c0c0c0; background-color: #008000; font-weight: bold\">Name</span> │ \n", |
| 129 | + " │ <span style=\"font-weight: bold; text-decoration: underline\">instascaletest</span> Active ✅ │ \n", |
| 130 | + " │ │ \n", |
| 131 | + " │ <span style=\"font-weight: bold\">URI:</span> ray://instascaletest-head-svc.default.svc:10001 │ \n", |
| 132 | + " │ │ \n", |
| 133 | + " │ <a href=\"http://ray-dashboard-instascaletest-default.apps.meyceoz-07122023.psap.aws.rhperfscale.org\" target=\"_blank\"><span style=\"color: #000080; text-decoration-color: #000080; text-decoration: underline\">Dashboard🔗</span></a> │ \n", |
| 134 | + " │ │ \n", |
| 135 | + " │ <span style=\"font-style: italic\"> Cluster Resources </span> │ \n", |
| 136 | + " │ ╭── Workers ──╮ ╭───────── Worker specs(each) ─────────╮ │ \n", |
| 137 | + " │ │ <span style=\"font-weight: bold\"> # Workers </span> │ │ <span style=\"font-weight: bold\"> Memory CPU GPU </span> │ │ \n", |
| 138 | + " │ │ <span style=\"color: #800080; text-decoration-color: #800080\"> </span> │ │ <span style=\"color: #008080; text-decoration-color: #008080\"> </span><span style=\"color: #800080; text-decoration-color: #800080\"> </span> │ │ \n", |
| 139 | + " │ │ <span style=\"color: #800080; text-decoration-color: #800080\"> 2 </span> │ │ <span style=\"color: #008080; text-decoration-color: #008080\"> 8~8 </span><span style=\"color: #800080; text-decoration-color: #800080\"> 2 1 </span> │ │ \n", |
| 140 | + " │ │ <span style=\"color: #800080; text-decoration-color: #800080\"> </span> │ │ <span style=\"color: #008080; text-decoration-color: #008080\"> </span><span style=\"color: #800080; text-decoration-color: #800080\"> </span> │ │ \n", |
| 141 | + " │ ╰─────────────╯ ╰──────────────────────────────────────╯ │ \n", |
| 142 | + " ╰─────────────────────────────────────────────────────────────────────╯ \n", |
| 143 | + "</pre>\n" |
| 144 | + ], |
| 145 | + "text/plain": [ |
| 146 | + "\u001b[3m \u001b[0m\u001b[1;3m 🚀 CodeFlare Cluster Details 🚀\u001b[0m\u001b[3m \u001b[0m\n", |
| 147 | + "\u001b[1m \u001b[0m\u001b[1m \u001b[0m\u001b[1m \u001b[0m\n", |
| 148 | + " ╭─────────────────────────────────────────────────────────────────────╮ \n", |
| 149 | + " │ \u001b[1;37;42mName\u001b[0m │ \n", |
| 150 | + " │ \u001b[1;4minstascaletest\u001b[0m Active ✅ │ \n", |
| 151 | + " │ │ \n", |
| 152 | + " │ \u001b[1mURI:\u001b[0m ray://instascaletest-head-svc.default.svc:10001 │ \n", |
| 153 | + " │ │ \n", |
| 154 | + " │ \u001b]8;id=65933;http://ray-dashboard-instascaletest-default.apps.meyceoz-07122023.psap.aws.rhperfscale.org\u001b\\\u001b[4;34mDashboard🔗\u001b[0m\u001b]8;;\u001b\\ │ \n", |
| 155 | + " │ │ \n", |
| 156 | + " │ \u001b[3m Cluster Resources \u001b[0m │ \n", |
| 157 | + " │ ╭── Workers ──╮ ╭───────── Worker specs(each) ─────────╮ │ \n", |
| 158 | + " │ │ \u001b[1m \u001b[0m\u001b[1m# Workers\u001b[0m\u001b[1m \u001b[0m │ │ \u001b[1m \u001b[0m\u001b[1mMemory \u001b[0m\u001b[1m \u001b[0m\u001b[1m \u001b[0m\u001b[1mCPU \u001b[0m\u001b[1m \u001b[0m\u001b[1m \u001b[0m\u001b[1mGPU \u001b[0m\u001b[1m \u001b[0m │ │ \n", |
| 159 | + " │ │ \u001b[35m \u001b[0m\u001b[35m \u001b[0m\u001b[35m \u001b[0m │ │ \u001b[36m \u001b[0m\u001b[36m \u001b[0m\u001b[36m \u001b[0m\u001b[35m \u001b[0m\u001b[35m \u001b[0m\u001b[35m \u001b[0m\u001b[35m \u001b[0m\u001b[35m \u001b[0m\u001b[35m \u001b[0m │ │ \n", |
| 160 | + " │ │ \u001b[35m \u001b[0m\u001b[35m2 \u001b[0m\u001b[35m \u001b[0m │ │ \u001b[36m \u001b[0m\u001b[36m8~8 \u001b[0m\u001b[36m \u001b[0m\u001b[35m \u001b[0m\u001b[35m2 \u001b[0m\u001b[35m \u001b[0m\u001b[35m \u001b[0m\u001b[35m1 \u001b[0m\u001b[35m \u001b[0m │ │ \n", |
| 161 | + " │ │ \u001b[35m \u001b[0m\u001b[35m \u001b[0m\u001b[35m \u001b[0m │ │ \u001b[36m \u001b[0m\u001b[36m \u001b[0m\u001b[36m \u001b[0m\u001b[35m \u001b[0m\u001b[35m \u001b[0m\u001b[35m \u001b[0m\u001b[35m \u001b[0m\u001b[35m \u001b[0m\u001b[35m \u001b[0m │ │ \n", |
| 162 | + " │ ╰─────────────╯ ╰──────────────────────────────────────╯ │ \n", |
| 163 | + " ╰─────────────────────────────────────────────────────────────────────╯ \n" |
| 164 | + ] |
| 165 | + }, |
| 166 | + "metadata": {}, |
| 167 | + "output_type": "display_data" |
| 168 | + }, |
| 169 | + { |
| 170 | + "data": { |
| 171 | + "text/plain": [ |
| 172 | + "RayCluster(name='instascaletest', status=<RayClusterStatus.READY: 'ready'>, workers=2, worker_mem_min=8, worker_mem_max=8, worker_cpu=2, worker_gpu=1, namespace='default', dashboard='http://ray-dashboard-instascaletest-default.apps.meyceoz-07122023.psap.aws.rhperfscale.org')" |
| 173 | + ] |
| 174 | + }, |
| 175 | + "execution_count": 4, |
| 176 | + "metadata": {}, |
| 177 | + "output_type": "execute_result" |
| 178 | + } |
| 179 | + ], |
105 | 180 | "source": [ |
106 | 181 | "cluster.details()" |
107 | 182 | ] |
|
116 | 191 | }, |
117 | 192 | { |
118 | 193 | "cell_type": "code", |
119 | | - "execution_count": null, |
| 194 | + "execution_count": 5, |
120 | 195 | "id": "5f36db0f-31f6-4373-9503-dc3c1c4c3f57", |
121 | 196 | "metadata": {}, |
122 | 197 | "outputs": [], |
|
159 | 234 | "name": "python", |
160 | 235 | "nbconvert_exporter": "python", |
161 | 236 | "pygments_lexer": "ipython3", |
162 | | - "version": "3.8.13" |
| 237 | + "version": "3.8.17" |
163 | 238 | }, |
164 | 239 | "vscode": { |
165 | 240 | "interpreter": { |
|
0 commit comments