jrapin / ray

A system for parallel and distributed Python that unifies the ML ecosystem.

Home Page:https://ray.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

https://github.com/ray-project/ray/raw/master/doc/source/images/ray_header_logo.png

https://travis-ci.com/ray-project/ray.svg?branch=master https://readthedocs.org/projects/ray/badge/?version=latest

Ray is a flexible, high-performance distributed execution framework.

Ray is easy to install: pip install ray

Example Use

Basic Python Distributed with Ray
# Execute f serially.


def f():
    time.sleep(1)
    return 1



results = [f() for i in range(4)]
# Execute f in parallel.

@ray.remote
def f():
    time.sleep(1)
    return 1


ray.init()
results = ray.get([f.remote() for i in range(4)])

Ray comes with libraries that accelerate deep learning and reinforcement learning development:

Installation

Ray can be installed on Linux and Mac with pip install ray.

To build Ray from source or to install the nightly versions, see the installation documentation.

More Information

Getting Involved

About

A system for parallel and distributed Python that unifies the ML ecosystem.

https://ray.readthedocs.io/en/latest/

License:Apache License 2.0


Languages

Language:Python 64.1%Language:C++ 20.0%Language:Java 10.9%Language:Shell 1.6%Language:CMake 1.5%Language:HTML 0.7%Language:C 0.5%Language:CSS 0.2%Language:JavaScript 0.2%Language:Jupyter Notebook 0.1%Language:Dockerfile 0.1%Language:Ruby 0.0%Language:Smarty 0.0%