mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
75 lines
1.5 KiB
ReStructuredText
75 lines
1.5 KiB
ReStructuredText
.. _ray-job-submission-api-ref:
|
|
|
|
Ray Job Submission API
|
|
======================
|
|
|
|
For an overview with examples see :ref:`Ray Job Submission<jobs-overview>`.
|
|
|
|
.. _ray-job-submission-cli-ref:
|
|
|
|
Job Submission CLI
|
|
------------------
|
|
|
|
.. _ray-job-submit-doc:
|
|
|
|
.. click:: ray.dashboard.modules.job.cli:submit
|
|
:prog: ray job submit
|
|
|
|
.. warning::
|
|
|
|
When using the CLI, do not wrap the entrypoint command in quotes. For example, use
|
|
``ray job submit --working_dir="." -- python script.py`` instead of ``ray job submit --working_dir="." -- "python script.py"``.
|
|
Otherwise you may encounter the error ``/bin/sh: 1: python script.py: not found``.
|
|
|
|
.. _ray-job-status-doc:
|
|
|
|
.. click:: ray.dashboard.modules.job.cli:status
|
|
:prog: ray job status
|
|
:show-nested:
|
|
|
|
.. _ray-job-stop-doc:
|
|
|
|
.. click:: ray.dashboard.modules.job.cli:stop
|
|
:prog: ray job stop
|
|
:show-nested:
|
|
|
|
.. _ray-job-logs-doc:
|
|
|
|
.. click:: ray.dashboard.modules.job.cli:logs
|
|
:prog: ray job logs
|
|
:show-nested:
|
|
|
|
.. _ray-job-list-doc:
|
|
|
|
.. click:: ray.dashboard.modules.job.cli:list
|
|
:prog: ray job list
|
|
:show-nested:
|
|
|
|
.. _ray-job-submission-sdk-ref:
|
|
|
|
Job Submission SDK
|
|
------------------
|
|
|
|
.. _job-submission-client-ref:
|
|
|
|
JobSubmissionClient
|
|
~~~~~~~~~~~~~~~~~~~
|
|
|
|
.. autoclass:: ray.job_submission.JobSubmissionClient
|
|
:members:
|
|
|
|
.. _job-status-ref:
|
|
|
|
JobStatus
|
|
~~~~~~~~~
|
|
|
|
.. autoclass:: ray.job_submission.JobStatus
|
|
:members:
|
|
|
|
.. _job-info-ref:
|
|
|
|
JobInfo
|
|
~~~~~~~
|
|
|
|
.. autoclass:: ray.job_submission.JobInfo
|
|
:members:
|