Skip to content

Instantly share code, notes, and snippets.

@EricCousineau-TRI
Created February 28, 2022 21:19
Show Gist options
  • Select an option

  • Save EricCousineau-TRI/f32c27ebddd551a57ab90e93db45172d to your computer and use it in GitHub Desktop.

Select an option

Save EricCousineau-TRI/f32c27ebddd551a57ab90e93db45172d to your computer and use it in GitHub Desktop.
`ray start --help` using v1.9.2
Usage: ray [OPTIONS] COMMAND [ARGS]...
Try 'ray --help' for help.
Error: No such command 'help'.
ubuntu@ip-10-161-49-237:~$ ray start --help
+ /home/ubuntu/anzu/run //tools:ray start --help
Usage: ray start [OPTIONS]
Start Ray processes manually on the local machine.
Options:
--node-ip-address TEXT the IP address of this node
--address TEXT the address to use for Ray
--port INTEGER the port of the head ray process. If not
provided, defaults to 6379; if port is set
to 0, we will allocate an available port.
--object-manager-port INTEGER the port to use for starting the object
manager
--node-manager-port INTEGER the port to use for starting the node
manager
--gcs-server-port INTEGER Port number for the GCS server.
--min-worker-port INTEGER the lowest port number that workers will
bind on. If not set, random ports will be
chosen.
--max-worker-port INTEGER the highest port number that workers will
bind on. If set, '--min-worker-port' must
also be set.
--worker-port-list TEXT a comma-separated list of open ports for
workers to bind on. Overrides '--min-worker-
port' and '--max-worker-port'.
--ray-client-server-port INTEGER
the port number the ray client server will
bind on. If not set, the ray client server
will not be started.
--object-store-memory INTEGER The amount of memory (in bytes) to start the
object store with. By default, this is
capped at 20GB but can be set higher.
--num-cpus INTEGER the number of CPUs on this node
--num-gpus INTEGER the number of GPUs on this node
--resources TEXT a JSON serialized dictionary mapping
resource name to resource quantity
--head provide this argument for the head node
--include-dashboard BOOLEAN provide this argument to start the Ray
dashboard GUI
--dashboard-host TEXT the host to bind the dashboard server to,
either localhost (127.0.0.1) or 0.0.0.0
(available from all interfaces). By default,
thisis localhost.
--dashboard-port INTEGER the port to bind the dashboard server to--
defaults to 8265
--block provide this argument to block forever in
this command
--plasma-directory TEXT object store directory for memory mapped
files
--autoscaling-config TEXT the file that contains the autoscaling
config
--no-redirect-worker-output do not redirect worker stdout and stderr to
files
--no-redirect-output do not redirect non-worker stdout and stderr
to files
--plasma-store-socket-name TEXT
manually specify the socket name of the
plasma store
--raylet-socket-name TEXT manually specify the socket path of the
raylet process
--ray-debugger-external Make the Ray debugger available externally
to the node. This is onlysafe to activate if
the node is behind a firewall.
--log-style [auto|record|pretty]
If 'pretty', outputs with formatting and
color. If 'record', outputs record-style
without formatting. 'auto' defaults to
'pretty', and disables pretty logging if
stdin is *not* a TTY.
--log-color [auto|false|true] Use color logging. Auto enables color
logging if stdout is a TTY.
-v, --verbose
--help Show this message and exit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment