Repository Details
Shared by
HelloGitHub Rating
0 ratings
让分布式计算变得简单的 Python 分布式计算框架
Past 7 days Received 49 stars ✨
Use arrow keys to explore dates, Home and End for the first and last date, Escape to dismiss.| Date | Star | Daily change |
|---|---|---|
| 周二 | 44,251 | — |
| 周三 | 44,265 | +14 |
| 周四 | 44,275 | +10 |
| 周五 | 44,285 | +10 |
| 周六 | 44,289 | +4 |
| 周日 | 44,291 | +2 |
| 周一 | 44,300 | +9 |
44.3k
Stars
No
Chinese
Python
Language
Yes
Active
2k
Contributors
4k
Issues
Yes
Organization
None
Latest
8k
Forks
Apache-2.0
License

基于 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