Overview

Ray 2.10, released on April 15, 2024, improves scheduler performance and object transfer.

Main Features

Improved performance

The scheduler distributes tasks faster and object transfer between nodes is optimized.

python
import ray

ray.init()

@ray.remote
def compute(x):
    return x ** 2

futures = [compute.remote(i) for i in range(1000)]
results = ray.get(futures)
print(f'Total: {sum(results)}')

Sources