mirror of
https://github.com/wassname/ray.git
synced 2026-08-05 13:21:03 +08:00
Project fixes and cleanups (#5632)
This commit is contained in:
committed by
Philipp Moritz
parent
19bbf1eb4d
commit
edcc56ea01
@@ -16,19 +16,23 @@ Quick start (CLI)
|
||||
# .rayproject subdirectory of the current directory.
|
||||
$ ray project create <project-name>
|
||||
|
||||
# Create a new session from the given project.
|
||||
# Launch a cluster and run the appropriate command.
|
||||
$ ray session start <command> [arguments]
|
||||
# Create a new session from the given project. Launch a cluster and run
|
||||
# the command, which must be specified in the project.yaml file. If no
|
||||
# command is specified, the "default" command in .rayproject/project.yaml
|
||||
# will be used. Alternatively, use --shell to run a raw shell command.
|
||||
$ ray session start <command-name> [arguments] [--shell]
|
||||
|
||||
# Open a console for the given session.
|
||||
$ ray session attach
|
||||
|
||||
# Stop the given session and all of its worker nodes. The nodes/clusters
|
||||
# are not actually terminated.
|
||||
# Stop the given session and terminate all of its worker nodes.
|
||||
$ ray session stop
|
||||
|
||||
Examples
|
||||
--------
|
||||
See `the readme <https://github.com/ray-project/ray/blob/master/python/ray/projects/examples/README.md>`__
|
||||
for instructions on how to run these examples:
|
||||
|
||||
- `Open Tacotron <https://github.com/ray-project/ray/blob/master/python/ray/projects/examples/open-tacotron/.rayproject/project.yaml>`__:
|
||||
A TensorFlow implementation of Google's Tacotron speech synthesis with pre-trained model (unofficial)
|
||||
- `PyTorch Transformers <https://github.com/ray-project/ray/blob/master/python/ray/projects/examples/pytorch-transformers/.rayproject/project.yaml>`__:
|
||||
|
||||
Reference in New Issue
Block a user