Git Product home page Git Product logo

ray's Introduction

Ray

image

image

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

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

  • Ray Tune: Hyperparameter Optimization Framework
  • Ray RLlib: A Scalable Reinforcement Learning Library

Installation

  • Ray can be installed on Linux and Mac with pip install ray.
  • To build Ray from source, see the instructions for Ubuntu and Mac.

Example Program

Basic Python Distributed with Ray
import time





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

# Execute f serially.
results = [f() for i in range(4)]
import time
import ray

ray.init()

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

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

More Information

Getting Involved

ray's People

Contributors

abishekk92 avatar alanamarzoev avatar atumanov avatar aykamko avatar cathywu avatar cbfinn avatar concretevitamin avatar crystalzyan avatar danielsuo avatar devin-petersohn avatar elibol avatar ericl avatar eugenevinitsky avatar hacksforhugs avatar istoica avatar jssmith avatar kunalgosar avatar mehrdadn avatar mitar avatar pcmoritz avatar pschafhalter avatar richardliaw avatar robertnishihara avatar rshin avatar shaneknapp avatar simon-mo avatar stephanie-wang avatar the-sea avatar ujvl avatar wapaul1 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.