mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00
Add warning about entrpoint command in quotes (#25519)
This commit is contained in:
parent
98685f415e
commit
3296345557
2 changed files with 11 additions and 0 deletions
|
@ -167,6 +167,11 @@ Here are some examples of CLI commands from the Quick Start example and their ou
|
|||
{'raysubmit_AYhLMgDJ6XBQFvFP': JobInfo(status='SUCCEEDED', message='Job finished successfully.', error_type=None, start_time=1645908622, end_time=1645908623, metadata={}, runtime_env={}),
|
||||
'raysubmit_su9UcdUviUZ86b1t': JobInfo(status='SUCCEEDED', message='Job finished successfully.', error_type=None, start_time=1645908669, end_time=1645908670, metadata={}, runtime_env={})}
|
||||
|
||||
.. 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``.
|
||||
|
||||
Using the CLI on a remote cluster
|
||||
"""""""""""""""""""""""""""""""""
|
||||
|
|
|
@ -15,6 +15,12 @@ Job Submission CLI
|
|||
.. 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
|
||||
|
|
Loading…
Add table
Reference in a new issue