Giter VIP home page Giter VIP 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

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

Watchers

James Cloos 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.