|
| 1 | +# SOME DESCRIPTIVE TITLE. |
| 2 | +# Copyright (C) 2022-2023, Xprobe Inc. |
| 3 | +# This file is distributed under the same license as the Xorbits package. |
| 4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, 2023. |
| 5 | +# |
| 6 | +#, fuzzy |
| 7 | +msgid "" |
| 8 | +msgstr "" |
| 9 | +"Project-Id-Version: Xorbits \n" |
| 10 | +"Report-Msgid-Bugs-To: \n" |
| 11 | +"POT-Creation-Date: 2023-01-12 11:23+0800\n" |
| 12 | +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 13 | +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 14 | +" Language-Team: LANGUAGE <[email protected]>\n" |
| 15 | +"MIME-Version: 1.0\n" |
| 16 | +"Content-Type: text/plain; charset=utf-8\n" |
| 17 | +"Content-Transfer-Encoding: 8bit\n" |
| 18 | +"Generated-By: Babel 2.11.0\n" |
| 19 | + |
| 20 | +#: ../../source/deployment/cluster.rst:5 |
| 21 | +msgid "Cluster deployment" |
| 22 | +msgstr "" |
| 23 | + |
| 24 | +#: ../../source/deployment/cluster.rst:7 |
| 25 | +msgid "" |
| 26 | +"If you have some machines either on the cloud or not, and you want to " |
| 27 | +"deploy Xorbits via command lines, you can refer to this documentation." |
| 28 | +msgstr "" |
| 29 | + |
| 30 | +#: ../../source/deployment/cluster.rst:11 |
| 31 | +msgid "Installation" |
| 32 | +msgstr "" |
| 33 | + |
| 34 | +#: ../../source/deployment/cluster.rst:13 |
| 35 | +msgid "" |
| 36 | +"First, ensure Xorbits is correctly installed on each machine, if not, see" |
| 37 | +" :ref:`installation document <installation>`." |
| 38 | +msgstr "" |
| 39 | + |
| 40 | +#: ../../source/deployment/cluster.rst:16 |
| 41 | +msgid "Starting Supervisor" |
| 42 | +msgstr "" |
| 43 | + |
| 44 | +#: ../../source/deployment/cluster.rst:18 |
| 45 | +msgid "" |
| 46 | +"Among the machines, pick at least one as the supervisor which ships with " |
| 47 | +"a web service as well, starting supervisor via command:" |
| 48 | +msgstr "" |
| 49 | + |
| 50 | +#: ../../source/deployment/cluster.rst:25 |
| 51 | +#: ../../source/deployment/cluster.rst:46 |
| 52 | +msgid "Or using ``python -m``:" |
| 53 | +msgstr "" |
| 54 | + |
| 55 | +#: ../../source/deployment/cluster.rst:31 |
| 56 | +msgid "`<web_port>` is used for creating a web service, which is used for:" |
| 57 | +msgstr "" |
| 58 | + |
| 59 | +#: ../../source/deployment/cluster.rst:33 |
| 60 | +msgid "" |
| 61 | +"Provide a web UI to show cluster status and detailed information of " |
| 62 | +"submitted tasks." |
| 63 | +msgstr "" |
| 64 | + |
| 65 | +#: ../../source/deployment/cluster.rst:34 |
| 66 | +msgid "" |
| 67 | +"Accept connections from clients when users call " |
| 68 | +"`xorbits.init(\"<supervisor_ip>:<web_port>\")` to connect to a cluster." |
| 69 | +msgstr "" |
| 70 | + |
| 71 | +#: ../../source/deployment/cluster.rst:38 |
| 72 | +msgid "Starting Workers" |
| 73 | +msgstr "" |
| 74 | + |
| 75 | +#: ../../source/deployment/cluster.rst:40 |
| 76 | +msgid "The rest of the machines can be started as workers via command:" |
| 77 | +msgstr "" |
| 78 | + |
| 79 | +#: ../../source/deployment/cluster.rst:53 |
| 80 | +msgid "Connecting to Created Cluster" |
| 81 | +msgstr "" |
| 82 | + |
| 83 | +#: ../../source/deployment/cluster.rst:55 |
| 84 | +msgid "" |
| 85 | +"Now, you can connect to the supervisor from anywhere that can run Python " |
| 86 | +"code." |
| 87 | +msgstr "" |
| 88 | + |
| 89 | +#: ../../source/deployment/cluster.rst:63 |
| 90 | +msgid "" |
| 91 | +"Replace the ``<supervisor_ip>`` with the supervisor IP that you just " |
| 92 | +"specified and ``<supervisor_web_port>`` with the supervisor web port." |
| 93 | +msgstr "" |
| 94 | + |
| 95 | +#: ../../source/deployment/cluster.rst:67 |
| 96 | +msgid "Xorbits Web UI" |
| 97 | +msgstr "" |
| 98 | + |
| 99 | +#: ../../source/deployment/cluster.rst:69 |
| 100 | +msgid "" |
| 101 | +"You can open a web browser and type " |
| 102 | +"``http://<supervisor_ip>:<supervisor_web_port>`` to open Xorbits Web UI " |
| 103 | +"to look up resource usage of workers and execution progress of submitted " |
| 104 | +"tasks." |
| 105 | +msgstr "" |
| 106 | + |
| 107 | +#: ../../source/deployment/cluster.rst:73 |
| 108 | +msgid "Command Line Options" |
| 109 | +msgstr "" |
| 110 | + |
| 111 | +#: ../../source/deployment/cluster.rst:76 |
| 112 | +msgid "Common Options" |
| 113 | +msgstr "" |
| 114 | + |
| 115 | +#: ../../source/deployment/cluster.rst:78 |
| 116 | +msgid "Common Command line options are listed below." |
| 117 | +msgstr "" |
| 118 | + |
| 119 | +#: ../../source/deployment/cluster.rst:81 |
| 120 | +#: ../../source/deployment/cluster.rst:107 |
| 121 | +#: ../../source/deployment/cluster.rst:116 |
| 122 | +msgid "Argument" |
| 123 | +msgstr "" |
| 124 | + |
| 125 | +#: ../../source/deployment/cluster.rst:81 |
| 126 | +#: ../../source/deployment/cluster.rst:107 |
| 127 | +#: ../../source/deployment/cluster.rst:116 |
| 128 | +msgid "Description" |
| 129 | +msgstr "" |
| 130 | + |
| 131 | +#: ../../source/deployment/cluster.rst:83 |
| 132 | +msgid "``-H``" |
| 133 | +msgstr "" |
| 134 | + |
| 135 | +#: ../../source/deployment/cluster.rst:83 |
| 136 | +msgid "Service IP binding, ``0.0.0.0`` by default" |
| 137 | +msgstr "" |
| 138 | + |
| 139 | +#: ../../source/deployment/cluster.rst:85 |
| 140 | +msgid "``-p``" |
| 141 | +msgstr "" |
| 142 | + |
| 143 | +#: ../../source/deployment/cluster.rst:85 |
| 144 | +msgid "Port of the service. If absent, a randomized port will be used" |
| 145 | +msgstr "" |
| 146 | + |
| 147 | +#: ../../source/deployment/cluster.rst:87 |
| 148 | +msgid "``-f``" |
| 149 | +msgstr "" |
| 150 | + |
| 151 | +#: ../../source/deployment/cluster.rst:87 |
| 152 | +msgid "Path to service configuration file. Absent when use default configuration." |
| 153 | +msgstr "" |
| 154 | + |
| 155 | +#: ../../source/deployment/cluster.rst:90 |
| 156 | +msgid "``-s``" |
| 157 | +msgstr "" |
| 158 | + |
| 159 | +#: ../../source/deployment/cluster.rst:90 |
| 160 | +msgid "" |
| 161 | +"List of supervisor endpoints, separated by commas. Useful for workers to " |
| 162 | +"spot supervisors, or when you want to run more than one supervisor" |
| 163 | +msgstr "" |
| 164 | + |
| 165 | +#: ../../source/deployment/cluster.rst:94 |
| 166 | +msgid "``--log-level``" |
| 167 | +msgstr "" |
| 168 | + |
| 169 | +#: ../../source/deployment/cluster.rst:94 |
| 170 | +msgid "Log level, can be ``debug``, ``info``, ``warning``, ``error``" |
| 171 | +msgstr "" |
| 172 | + |
| 173 | +#: ../../source/deployment/cluster.rst:96 |
| 174 | +msgid "``--log-format``" |
| 175 | +msgstr "" |
| 176 | + |
| 177 | +#: ../../source/deployment/cluster.rst:96 |
| 178 | +msgid "Log format, can be Python logging format" |
| 179 | +msgstr "" |
| 180 | + |
| 181 | +#: ../../source/deployment/cluster.rst:98 |
| 182 | +msgid "``--log-conf``" |
| 183 | +msgstr "" |
| 184 | + |
| 185 | +#: ../../source/deployment/cluster.rst:98 |
| 186 | +msgid "Python logging configuration file, ``logging.conf`` by default" |
| 187 | +msgstr "" |
| 188 | + |
| 189 | +#: ../../source/deployment/cluster.rst:100 |
| 190 | +msgid "``--use-uvloop``" |
| 191 | +msgstr "" |
| 192 | + |
| 193 | +#: ../../source/deployment/cluster.rst:100 |
| 194 | +msgid "Whether to use ``uvloop`` to accelerate, ``auto`` by default" |
| 195 | +msgstr "" |
| 196 | + |
| 197 | +#: ../../source/deployment/cluster.rst:104 |
| 198 | +msgid "Extra Options for Supervisors" |
| 199 | +msgstr "" |
| 200 | + |
| 201 | +#: ../../source/deployment/cluster.rst:109 |
| 202 | +msgid "``-w``" |
| 203 | +msgstr "" |
| 204 | + |
| 205 | +#: ../../source/deployment/cluster.rst:109 |
| 206 | +msgid "Port of web service in supervisor" |
| 207 | +msgstr "" |
| 208 | + |
| 209 | +#: ../../source/deployment/cluster.rst:113 |
| 210 | +msgid "Extra Options for Workers" |
| 211 | +msgstr "" |
| 212 | + |
| 213 | +#: ../../source/deployment/cluster.rst:118 |
| 214 | +msgid "``--n-cpu``" |
| 215 | +msgstr "" |
| 216 | + |
| 217 | +#: ../../source/deployment/cluster.rst:118 |
| 218 | +msgid "" |
| 219 | +"Number of CPU cores to use. If absent, the value will be the available " |
| 220 | +"number of cores" |
| 221 | +msgstr "" |
| 222 | + |
| 223 | +#: ../../source/deployment/cluster.rst:121 |
| 224 | +msgid "``--n-io-process``" |
| 225 | +msgstr "" |
| 226 | + |
| 227 | +#: ../../source/deployment/cluster.rst:121 |
| 228 | +msgid "Number of IO processes for network operations. 1 by default" |
| 229 | +msgstr "" |
| 230 | + |
| 231 | +#: ../../source/deployment/cluster.rst:123 |
| 232 | +msgid "``--cuda-devices``" |
| 233 | +msgstr "" |
| 234 | + |
| 235 | +#: ../../source/deployment/cluster.rst:123 |
| 236 | +msgid "" |
| 237 | +"Index of CUDA devices to use. If not specified, all devices will be used." |
| 238 | +" Specifying an empty string will ignore all devices" |
| 239 | +msgstr "" |
| 240 | + |
| 241 | +#: ../../source/deployment/cluster.rst:129 |
| 242 | +msgid "Example" |
| 243 | +msgstr "" |
| 244 | + |
| 245 | +#: ../../source/deployment/cluster.rst:131 |
| 246 | +msgid "" |
| 247 | +"For instance, if you want to start a Xorbits cluster with one supervisor " |
| 248 | +"and two workers, you can run commands below (memory and CPU tunings are " |
| 249 | +"omitted):" |
| 250 | +msgstr "" |
| 251 | + |
| 252 | +#: ../../source/deployment/cluster.rst:134 |
| 253 | +msgid "On Supervisor (192.168.1.10):" |
| 254 | +msgstr "" |
| 255 | + |
| 256 | +#: ../../source/deployment/cluster.rst:140 |
| 257 | +msgid "On Worker 1 (192.168.1.20):" |
| 258 | +msgstr "" |
| 259 | + |
| 260 | +#: ../../source/deployment/cluster.rst:146 |
| 261 | +msgid "On Worker 2 (192.168.1.21):" |
| 262 | +msgstr "" |
| 263 | + |
| 264 | +#: ../../source/deployment/cluster.rst:152 |
| 265 | +msgid "" |
| 266 | +"On a client which is able to connect to supervisor, you can run the " |
| 267 | +"Python code below to verify:" |
| 268 | +msgstr "" |
| 269 | + |
0 commit comments