mirror of
https://github.com/wassname/ray.git
synced 2026-07-21 12:50:45 +08:00
renaming project, halo -> ray (#95)
This commit is contained in:
committed by
Philipp Moritz
parent
44ae1788ee
commit
4cc024ae36
+4
-4
@@ -1,6 +1,6 @@
|
||||
# Aliasing
|
||||
|
||||
An important feature of Halo is that a remote call sent to the scheduler
|
||||
An important feature of Ray is that a remote call sent to the scheduler
|
||||
immediately returns object references to the outputs of the task, and the actual
|
||||
outputs of the task are only associated with the relevant object references
|
||||
after the task has been executed and the outputs have been computed. This allows
|
||||
@@ -10,15 +10,15 @@ However, to provide a more flexible API, we allow tasks to not only return
|
||||
values, but to also return object references to values. As an examples, consider
|
||||
the following code.
|
||||
```python
|
||||
@halo.remote([], [np.ndarray])
|
||||
@ray.remote([], [np.ndarray])
|
||||
def f()
|
||||
return np.zeros(5)
|
||||
|
||||
@halo.remote([], [np.ndarray])
|
||||
@ray.remote([], [np.ndarray])
|
||||
def g()
|
||||
return f()
|
||||
|
||||
@halo.remote([], [np.ndarray])
|
||||
@ray.remote([], [np.ndarray])
|
||||
def h()
|
||||
return g()
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user