2017-02-27 21:14:31 -08:00
|
|
|
The Ray API
|
|
|
|
===========
|
|
|
|
|
2017-03-17 16:48:25 -07:00
|
|
|
.. autofunction:: ray.init
|
|
|
|
|
2018-09-06 21:20:59 -07:00
|
|
|
.. autofunction:: ray.is_initialized
|
|
|
|
|
2017-02-27 21:14:31 -08:00
|
|
|
.. autofunction:: ray.remote
|
2017-03-17 16:48:25 -07:00
|
|
|
|
|
|
|
.. autofunction:: ray.get
|
|
|
|
|
2018-07-12 14:00:00 -05:00
|
|
|
.. autofunction:: ray.wait
|
2017-03-17 16:48:25 -07:00
|
|
|
|
|
|
|
.. autofunction:: ray.put
|
|
|
|
|
2018-07-12 14:00:00 -05:00
|
|
|
.. autofunction:: ray.get_gpu_ids
|
2017-03-17 16:48:25 -07:00
|
|
|
|
2018-07-12 14:00:00 -05:00
|
|
|
.. autofunction:: ray.get_resource_ids
|
2017-03-17 16:48:25 -07:00
|
|
|
|
2018-07-12 14:00:00 -05:00
|
|
|
.. autofunction:: ray.get_webui_url
|
2017-03-17 16:48:25 -07:00
|
|
|
|
2018-07-12 14:00:00 -05:00
|
|
|
.. autofunction:: ray.shutdown
|
2017-03-17 16:48:25 -07:00
|
|
|
|
2018-07-12 14:00:00 -05:00
|
|
|
.. autofunction:: ray.register_custom_serializer
|
2017-03-17 16:48:25 -07:00
|
|
|
|
2018-07-12 14:00:00 -05:00
|
|
|
.. autofunction:: ray.profile
|
2017-03-17 16:48:25 -07:00
|
|
|
|
2018-07-12 14:00:00 -05:00
|
|
|
.. autofunction:: ray.method
|
2017-03-17 16:48:25 -07:00
|
|
|
|
2018-07-12 14:00:00 -05:00
|
|
|
The Ray Command Line API
|
|
|
|
------------------------
|
2017-03-17 16:48:25 -07:00
|
|
|
|
2018-07-12 14:00:00 -05:00
|
|
|
.. click:: ray.scripts.scripts:start
|
|
|
|
:prog: ray start
|
|
|
|
:show-nested:
|
2017-03-17 16:48:25 -07:00
|
|
|
|
2018-07-12 14:00:00 -05:00
|
|
|
.. click:: ray.scripts.scripts:stop
|
|
|
|
:prog: ray stop
|
|
|
|
:show-nested:
|
2017-03-17 16:48:25 -07:00
|
|
|
|
2018-07-12 14:00:00 -05:00
|
|
|
.. click:: ray.scripts.scripts:create_or_update
|
2018-08-15 14:31:50 -07:00
|
|
|
:prog: ray up
|
2018-07-12 14:00:00 -05:00
|
|
|
:show-nested:
|
2017-03-17 16:48:25 -07:00
|
|
|
|
2018-07-12 14:00:00 -05:00
|
|
|
.. click:: ray.scripts.scripts:teardown
|
2018-08-15 14:31:50 -07:00
|
|
|
:prog: ray down
|
|
|
|
:show-nested:
|
|
|
|
|
|
|
|
.. click:: ray.scripts.scripts:exec_cmd
|
|
|
|
:prog: ray exec
|
|
|
|
:show-nested:
|
|
|
|
|
|
|
|
.. click:: ray.scripts.scripts:attach
|
|
|
|
:prog: ray attach
|
2018-07-12 14:00:00 -05:00
|
|
|
:show-nested:
|
2017-03-17 16:48:25 -07:00
|
|
|
|
2018-07-12 14:00:00 -05:00
|
|
|
.. click:: ray.scripts.scripts:get_head_ip
|
|
|
|
:prog: ray get_head_ip
|
|
|
|
:show-nested:
|