Điểm qua ray-project/tutorial: 791 sao trên GitHub, viết chủ yếu bằng Jupyter Notebook.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
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.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/ray-project/tutorial là nguồn chính thức.
ray-project/tutorial có bao nhiêu sao?
ray-project/tutorial có 791 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/ray-project/tutorial. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
ray-project/tutorial có phải mã nguồn mở không?
TopGit chưa ghi nhận license cho ray-project/tutorial. Phần lớn repo public trên GitHub là mã nguồn mở, nhưng điều khoản khác nhau từng repo — mở file LICENSE để xác nhận.
ray-project/tutorial có tag gì không?
Bản đồng bộ chưa ghi nhận topic GitHub nào cho ray-project/tutorial. GitHub topics hiển thị ở thanh bên phải trang repo — đó là nơi đáng kiểm tra nhất.
ray-project/tutorial có website riêng không?
TopGit chưa ghi nhận URL trang chủ cho ray-project/tutorial. Phần README ở tab phía trên thường có link demo, hoặc xem mô tả GitHub của repo.
ray-project/tutorial còn đang phát triển không?
Commit gần nhất trên ray-project/tutorial là 4.4 năm trước (theo timestamp GitHub). Repo có 213 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
Đọc đầy đủ README ở tab phía trên.
Vẫn đang phân vân về tutorial?
Một cú bấm sẽ gửi câu hỏi kèm trang này cho AI — xem AI nói gì về tutorial.