apaszke / ray

A fast and simple framework for building and running distributed applications. Ray is packaged with RLlib, a scalable reinforcement learning library, and Tune, a scalable hyperparameter tuning library.

Home Page:https://ray.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

image

image

image

Ray is a fast and simple framework for building and running distributed applications.

Ray is packaged with the following libraries for accelerating machine learning workloads:

  • Tune: Scalable Hyperparameter Tuning
  • RLlib: Scalable Reinforcement Learning
  • RaySGD: Distributed Training Wrappers

Install Ray with: pip install ray. For nightly wheels, see the Installation page.

NOTE: We are deprecating Python 2 support soon.

Quick Start

Execute Python functions in parallel.

To use Ray's actor model:

Ray programs can run on a single machine, and can also seamlessly scale to large clusters. To execute the above Ray script in the cloud, just download this configuration file, and run:

ray submit [CLUSTER.YAML] example.py --start

Read more about launching clusters.

Tune Quick Start

image

Tune is a library for hyperparameter tuning at any scale.

To run this example, you will need to install the following:

This example runs a parallel grid search to train a Convolutional Neural Network using PyTorch.

If TensorBoard is installed, automatically visualize all trial results:

RLlib Quick Start

image

RLlib is an open-source library for reinforcement learning built on top of Ray that offers both high scalability and a unified API for a variety of applications.

More Information

Getting Involved

About

A fast and simple framework for building and running distributed applications. Ray is packaged with RLlib, a scalable reinforcement learning library, and Tune, a scalable hyperparameter tuning library.

https://ray.io

License:Apache License 2.0


Languages

Language:Python 54.0%Language:C++ 30.4%Language:Java 10.5%Language:Starlark 2.0%Language:TypeScript 0.9%Language:Shell 0.8%Language:HTML 0.4%Language:C 0.4%Language:Go 0.4%Language:CSS 0.1%Language:Dockerfile 0.1%Language:Makefile 0.0%Language:Jupyter Notebook 0.0%Language:JavaScript 0.0%