Repository Details
Shared by
HelloGitHub Rating
0 ratings
Free•Apache-2.0
Claim
Discuss
Collect
Share
33.7k
Stars
No
Chinese
Python
Language
Yes
Active
1k
Contributors
4k
Issues
Yes
Organization
ray-2.38.0
Latest
6k
Forks
Apache-2.0
License
More
基于 Python 的分布式计算框架,采用动态图计算模型。使用起来很方便可通过装饰器的方式,仅需修改极少的的代码,让原本运行在单机的 Python 代码轻松实现分布式计算。目前多用于机器学习方面
```python
import ray
ray.init()
@ray.remote
def f(x):
return x * x
futures = [f.remote(i) for i in range(4)]
print(ray.get(futures))
```
Comments
Rating:
No comments yet