/RunnableRayDocCode

Grab-and-runnable scripts, collected from https://docs.ray.io/en/latest/.

Primary LanguagePython

Runnable Ray Documentation Code

NOTE: Working on Ray 1.12.0.

Grab-and-runnable scripts, reorganized from Ray documentation.

Contents

./core: For Ray Core User Guides

Basic context description provided in comments, eg:

# https://docs.ray.io/en/latest/ray-core/tasks.html

# Remote functions can be canceled by calling ray.cancel 
# (docstring) on the returned Object ref.

# Code...

From core/tasks/cancel.py.