Skip to content
/ ray Public
forked from ray-project/ray

A fast and simple framework for building and running distributed applications.

License

Notifications You must be signed in to change notification settings

zsiqxx/ray

 
 

Repository files navigation

image

image

image

image

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

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 fast and simple framework for building and running distributed applications.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 64.0%
  • C++ 22.0%
  • Java 10.8%
  • Shell 1.6%
  • HTML 0.7%
  • C 0.4%
  • Other 0.5%