Skip to content

Documentation says that one can run "ray submit" but the submit command doesn't seem to exist #3441

@GiliR4t1qbit

Description

@GiliR4t1qbit

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): macOS 10.13.6
  • Ray installed from (source or binary): binary (via pip)
  • Ray version: 0.5.3
  • Python version: 2.7.14
  • Exact command to reproduce: "ray submit cluster.yaml --tmux --start --stop tune_experiment.py" (after running "ray up cluster.yaml") see: https://github.com/ray-project/ray/blob/master/doc/source/autoscaling.rst

Describe the problem

The documentation for the autoscaler mentions the following:

You can also use ray submit to execute Python scripts on clusters. This will rsync the designated file onto the cluster and execute it with the given arguments.

# Run a Python script in a detached tmux session $ ray submit cluster.yaml --tmux --start --stop tune_experiment.py

However, trying to run the above gives the following error:

Usage: ray [OPTIONS] COMMAND [ARGS]...

Error: No such command "submit".

Running ray --help gives a list of available commands which does not include submit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions