Project fixes and cleanups (#5632)

This commit is contained in:
Stephanie Wang
2019-09-05 11:55:42 -07:00
committed by Philipp Moritz
parent 19bbf1eb4d
commit edcc56ea01
9 changed files with 102 additions and 64 deletions
+9 -5
View File
@@ -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>`__: