Ray Class

Defines the version and arguments for the Ray framework.

For more information about Ray, see https://github.com/ray-project/ray.

Initializes the version and arguments for the Ray framework.

Inheritance
azureml.contrib.train.rl._rl_framework.RLFramework
Ray

Constructor

Ray(version=None, framework_arguments=None, *args, **kwargs)

Parameters

version
str
default value: None

The version of the Ray framework to use. If not specified, Ray.default_framework_version is used.

framework_arguments
list
default value: None

Additional arguments passed to the ray start command when starting the Ray cluster. For example, you can set the redis memory size by specifying ['–redis-max-memory=100000000']. Note: these arguments are only applied when starting the head node and are not specified for worker nodes.

version
str
Required

The version of the Ray framework to use. If not specified, Ray.default_framework_version is used.

framework_arguments
list
Required

Additional arguments passed to the ray start command when starting the Ray cluster. For example, you can set the redis memory size by specifying ['–redis-max-memory=100000000']. Note: these arguments are only applied when starting the head node and are not specified for worker nodes.

Methods

default_framework_version

The version of the Ray framework to use if one is explicitly specified.

supported_versions

The list of supported Ray versions.

default_framework_version

The version of the Ray framework to use if one is explicitly specified.

default_framework_version()

Returns

The version.

Return type

str

supported_versions

The list of supported Ray versions.

supported_versions()

Returns

The list of versions.

Return type