-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Doc] Restructure core API docs (#32236)
Similar to #31204, refactor the core api reference for better layout and view. Signed-off-by: Jiajun Yao <jeromeyjj@gmail.com>
- Loading branch information
Showing
46 changed files
with
491 additions
and
710 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
Core API | ||
======== | ||
|
||
.. autosummary:: | ||
:toctree: doc/ | ||
|
||
ray.init | ||
ray.shutdown | ||
ray.is_initialized | ||
|
||
Tasks | ||
----- | ||
|
||
.. autosummary:: | ||
:toctree: doc/ | ||
|
||
ray.remote | ||
ray.remote_function.RemoteFunction.options | ||
ray.cancel | ||
|
||
Actors | ||
------ | ||
|
||
.. autosummary:: | ||
:toctree: doc/ | ||
|
||
ray.remote | ||
ray.actor.ActorClass.options | ||
ray.method | ||
ray.get_actor | ||
ray.kill | ||
|
||
Objects | ||
------- | ||
|
||
.. autosummary:: | ||
:toctree: doc/ | ||
|
||
ray.get | ||
ray.wait | ||
ray.put | ||
|
||
.. _runtime-context-apis: | ||
|
||
Runtime Context | ||
--------------- | ||
.. autosummary:: | ||
:toctree: doc/ | ||
|
||
ray.runtime_context.get_runtime_context | ||
ray.runtime_context.RuntimeContext | ||
ray.get_gpu_ids | ||
|
||
Cross Language | ||
-------------- | ||
.. autosummary:: | ||
:toctree: doc/ | ||
|
||
ray.cross_language.java_function | ||
ray.cross_language.java_actor_class |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
.. _ray-core-exceptions: | ||
|
||
Exceptions | ||
========== | ||
|
||
.. autosummary:: | ||
:toctree: doc/ | ||
|
||
ray.exceptions.RayError | ||
ray.exceptions.RayTaskError | ||
ray.exceptions.RayActorError | ||
ray.exceptions.TaskCancelledError | ||
ray.exceptions.TaskUnschedulableError | ||
ray.exceptions.ActorUnschedulableError | ||
ray.exceptions.AsyncioActorExit | ||
ray.exceptions.LocalRayletDiedError | ||
ray.exceptions.WorkerCrashedError | ||
ray.exceptions.TaskPlacementGroupRemoved | ||
ray.exceptions.ActorPlacementGroupRemoved | ||
ray.exceptions.ObjectStoreFullError | ||
ray.exceptions.OutOfDiskError | ||
ray.exceptions.ObjectLostError | ||
ray.exceptions.ObjectFetchTimedOutError | ||
ray.exceptions.GetTimeoutError | ||
ray.exceptions.OwnerDiedError | ||
ray.exceptions.PlasmaObjectNotAvailable | ||
ray.exceptions.ObjectReconstructionFailedError | ||
ray.exceptions.ObjectReconstructionFailedMaxAttemptsExceededError | ||
ray.exceptions.ObjectReconstructionFailedLineageEvictedError | ||
ray.exceptions.RuntimeEnvSetupError | ||
ray.exceptions.CrossLanguageError | ||
ray.exceptions.RaySystemError |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Ray Core API | ||
============ | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
core.rst | ||
scheduling.rst | ||
runtime-env.rst | ||
utility.rst | ||
exceptions.rst | ||
cli.rst | ||
../../ray-observability/api/state/cli.rst | ||
../../ray-observability/api/state/api.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Runtime Env API | ||
=============== | ||
|
||
.. autosummary:: | ||
:toctree: doc/ | ||
|
||
ray.runtime_env.RuntimeEnvConfig | ||
ray.runtime_env.RuntimeEnv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Scheduling API | ||
============== | ||
|
||
Scheduling Strategy | ||
------------------- | ||
|
||
.. autosummary:: | ||
:toctree: doc/ | ||
|
||
ray.util.scheduling_strategies.PlacementGroupSchedulingStrategy | ||
ray.util.scheduling_strategies.NodeAffinitySchedulingStrategy | ||
|
||
.. _ray-placement-group-ref: | ||
|
||
Placement Group | ||
--------------- | ||
|
||
.. autosummary:: | ||
:toctree: doc/ | ||
|
||
ray.util.placement_group.placement_group | ||
ray.util.placement_group.PlacementGroup | ||
ray.util.placement_group.placement_group_table | ||
ray.util.placement_group.remove_placement_group | ||
ray.util.placement_group.get_current_placement_group |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
Utility | ||
======= | ||
|
||
.. autosummary:: | ||
:toctree: doc/ | ||
|
||
ray.util.ActorPool | ||
ray.util.queue.Queue | ||
ray.nodes | ||
ray.cluster_resources | ||
ray.available_resources | ||
|
||
.. _custom-metric-api-ref: | ||
|
||
Custom Metrics | ||
-------------- | ||
|
||
.. autosummary:: | ||
:toctree: doc/ | ||
|
||
ray.util.metrics.Counter | ||
ray.util.metrics.Gauge | ||
ray.util.metrics.Histogram | ||
|
||
.. _package-ref-debugging-apis: | ||
|
||
Debugging | ||
--------- | ||
|
||
.. autosummary:: | ||
:toctree: doc/ | ||
|
||
ray.util.pdb.set_trace | ||
ray.util.inspect_serializability | ||
ray.timeline |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.