ray-project/tutorial — an open-source project — sits at 791 GitHub stars.
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
NOTE: These sets of tutorials have been deprecated. A portion of their modules have
been incorporated into the new Anyscale Academy tutorials at https://github.com/anyscale/academy.
Tuning hyperparameters is often the most expensive part of the machine learning workflow. Ray Tune <http://tune.io>_ is built to address this, demonstrating an efficient and scalable solution for this pain point.
Exercise 1 <https://github.com/ray-project/tutorial/tree/master/tune_exercises/exercise_1_basics.ipynb>_ covers basics of using Tune - creating your first training function and using Tune. This tutorial uses Keras.
Exercise 3 <https://github.com/ray-project/tutorial/tree/master/tune_exercises/exercise_3_pbt.ipynb>_ covers using Population-Based Training (PBT) and uses the advanced Trainable API with save and restore functions and checkpointing.
Make sure you have Python installed (we recommend using the Anaconda Python distribution_). Ray works with both Python 2 and Python 3. If you are unsure
which to use, then use Python 3.
If not using conda, continue to step 2.
If using conda, you can then run the following commands and skip the next 4 steps:
Verify that you can run import tensorflow and import gym in a Python
interpreter.
Note: If you have trouble installing these Python modules, note that
almost all of the exercises can be done without them.
If you want to run the pong exercise (in rl_exercises/rl_exercise05.ipynb),
you will need to do pip install utilities/pong_py.
Exercises
Each file exercises/exercise*.ipynb is a separate exercise. They can be
opened in Jupyter lab by running the following commands.
.. code-block:: bash
cd tutorial/exercises
jupyter-lab
If you don't have jupyter-lab, try jupyter-notebook. If it asks for a password, just hit enter.
Instructions are written in each file. To do each exercise, first run all of
the cells in Jupyter lab. Then modify the ones that need to be modified
in order to prevent any exceptions from being raised. Throughout these
exercises, you may find the Ray documentation_ helpful.
Exercise 1: Define a remote function, and execute multiple remote functions
in parallel.
Exercise 2: Execute remote functions in parallel with some dependencies.
Exercise 3: Call remote functions from within remote functions.
Exercise 4: Use actors to share state between tasks. See the documentation
on using actors_.
Exercise 5: Pass actor handles to tasks so that multiple tasks can invoke
methods on the same actor.
Exercise 6: Use ray.wait to ignore stragglers. See the
documentation for wait_.
Exercise 7: Use ray.wait to process tasks in the order that they finish.
See the documentation for wait_.
Exercise 8: Use ray.put to avoid serializing and copying the same
object into shared memory multiple times.
Exercise 9: Specify that an actor requires some GPUs. For a complete
example that does something similar, you may want to see the ResNet example_.
Exercise 10: Specify that a remote function requires certain custom
resources. See the documentation on custom resources_.
Exercise 11: Extract neural network weights from an actor on one process,
and set them in another actor. You may want to read the documentation on
using Ray with TensorFlow_.
Exercise 12: Pass object IDs into tasks to construct dependencies between
tasks and perform a tree reduce.
Sharded Parameter Server: This exercise involves implementing a parameter
server as a Ray actor, implementing a simple asynchronous distributed training
algorithm, and sharding the parameter server to improve throughput.
Speed Up Pandas: This exercise involves using Modin_ to speed up your
pandas workloads.
MapReduce: This exercise shows how to implement a toy version of the
MapReduce system on top of Ray.
No homepage URL was recorded for ray-project/tutorial in TopGit's last sync. The README tab above frequently contains screenshots and demo links, or check the repository description on GitHub.
Does ray-project/tutorial have any tags?
TopGit's last sync did not record any GitHub topics for ray-project/tutorial. GitHub topics appear in the right sidebar of a repository page; that's the authoritative place to check.
How active is development on ray-project/tutorial?
The most recent commit recorded on ray-project/tutorial was 4.7 years ago, based on the GitHub push timestamp. The repository has 213 forks — one of the better signals of community interest.
How many stars does ray-project/tutorial have?
ray-project/tutorial has 791 GitHub stars — refresh the page for the live number, or check github.com/ray-project/tutorial. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
Is ray-project/tutorial open source?
TopGit's metadata for ray-project/tutorial does not record a license. Most public repositories on GitHub ARE open source, but the exact terms vary — verify by opening the LICENSE file directly.
Where do I read more about ray-project/tutorial?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/ray-project/tutorial is the definitive source.
Read full README in the tab above.
Want a second opinion on tutorial?
Ask an AI that can read this page — one click and you get its take on tutorial.