ray/doc/source/package-ref.rst

193 lines
2.5 KiB
ReStructuredText
Raw Normal View History

API and Package Reference
=========================
Python API
----------
.. _ray-init-ref:
ray.init
~~~~~~~~
.. autofunction:: ray.init
.. _ray-is_initialized-ref:
ray.is_initialized
~~~~~~~~~~~~~~~~~~
.. autofunction:: ray.is_initialized
.. _ray-remote-ref:
ray.remote
~~~~~~~~~~
.. autofunction:: ray.remote
.. _ray-get-ref:
ray.get
~~~~~~~
.. autofunction:: ray.get
.. _ray-wait-ref:
ray.wait
~~~~~~~~
.. autofunction:: ray.wait
.. _ray-put-ref:
ray.put
~~~~~~~
.. autofunction:: ray.put
.. _ray-kill-ref:
ray.kill
~~~~~~~~
.. autofunction:: ray.kill
.. _ray-cancel-ref:
ray.cancel
~~~~~~~~~~
.. autofunction:: ray.cancel
.. _ray-get_gpu_ids-ref:
ray.get_gpu_ids
~~~~~~~~~~~~~~~
.. autofunction:: ray.get_gpu_ids
.. _ray-shutdown-ref:
ray.shutdown
~~~~~~~~~~~~
.. autofunction:: ray.shutdown
.. _ray-method-ref:
ray.method
~~~~~~~~~~
.. autofunction:: ray.method
ray.util.ActorPool
~~~~~~~~~~~~~~~~~~
.. autoclass:: ray.util.ActorPool
:members:
.. _ray-nodes-ref:
ray.nodes
~~~~~~~~~
2019-08-05 23:33:14 -07:00
.. autofunction:: ray.nodes
.. _ray-timeline-ref:
ray.timeline
~~~~~~~~~~~~
2019-08-05 23:33:14 -07:00
.. autofunction:: ray.timeline
.. _ray-cluster_resources-ref:
ray.cluster_resources
~~~~~~~~~~~~~~~~~~~~~
2019-08-05 23:33:14 -07:00
.. autofunction:: ray.cluster_resources
.. _ray-available_resources-ref:
ray.available_resources
~~~~~~~~~~~~~~~~~~~~~~~
2019-08-05 23:33:14 -07:00
.. autofunction:: ray.available_resources
Experimental APIs
-----------------
.. automodule:: ray.experimental
:members:
The Ray Command Line API
------------------------
.. _ray-start-doc:
.. click:: ray.scripts.scripts:start
:prog: ray start
:show-nested:
.. _ray-stop-doc:
.. click:: ray.scripts.scripts:stop
:prog: ray stop
:show-nested:
.. _ray-up-doc:
.. click:: ray.scripts.scripts:up
:prog: ray up
:show-nested:
.. _ray-down-doc:
.. click:: ray.scripts.scripts:down
:prog: ray down
:show-nested:
.. _ray-exec-doc:
.. click:: ray.scripts.scripts:exec
:prog: ray exec
:show-nested:
.. _ray-submit-doc:
.. click:: ray.scripts.scripts:submit
:prog: ray submit
:show-nested:
.. _ray-attach-doc:
.. click:: ray.scripts.scripts:attach
:prog: ray attach
:show-nested:
.. _ray-get_head_ip-doc:
.. click:: ray.scripts.scripts:get_head_ip
:prog: ray get_head_ip
:show-nested:
.. _ray-stack-doc:
.. click:: ray.scripts.scripts:stack
:prog: ray stack
:show-nested:
.. _ray-memory-doc:
.. click:: ray.scripts.scripts:memory
:prog: ray memory
:show-nested:
.. _ray-timeline-doc:
.. click:: ray.scripts.scripts:timeline
:prog: ray timeline
:show-nested: