I hereby claim:
- I am stephanie-wang on github.
- I am swangster (https://keybase.io/swangster) on keybase.
- I have a public key whose fingerprint is F1D6 D5F3 C4CB 8E56 D7BD 0234 FB3A 8743 AFA6 D9A2
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| WARNING: 3 workers have been started. This could be a result of using a large number of actors, or it could be a consequence of using nested tasks (see https://github.com/ray-project/ray/issues/3644) for some a discussion of workarounds. | |
| WARNING: 3 workers have been started. This could be a result of using a large number of actors, or it could be a consequence of using nested tasks (see https://github.com/ray-project/ray/issues/3644) for some a discussion of workarounds. | |
| WARNING: 3 workers have been started. This could be a result of using a large number of actors, or it could be a consequence of using nested tasks (see https://github.com/ray-project/ray/issues/3644) for some a discussion of workarounds. | |
| WARNING: 3 workers have been started. This could be a result of using a large number of actors, or it could be a consequence of using nested tasks (see https://github.com/ray-project/ray/issues/3644) for some a discussion of workarounds. | |
| WARNING: 3 workers have been started. This could be a result of using a |
| import time | |
| import ray | |
| from ray.tests.cluster_utils import Cluster | |
| # Create a cluster with some worker nodes with 1 CPU each, to force colocated | |
| # tasks to run one at a time. | |
| cluster = Cluster(initialize_head=True, connect=True, head_node_args={'num_cpus': 0}) | |
| num_nodes = 3 | |
| for _ in range(num_nodes): | |
| cluster.add_node(num_cpus=1) |
I hereby claim:
To claim this, I am signing this object:
| import subprocess | |
| import cv2 | |
| import os.path | |
| import numpy as np | |
| import time | |
| import json | |
| import threading | |
| import tempfile | |
| import ray |
| @ray.remote | |
| def f(): | |
| return 1 | |
| @ray.remote | |
| def g(x): | |
| return x + 1 | |
| x_id = f.remote() # ({'CPU': 1}, args=[]) | |
| g.remote(x_id) # ({'CPU': 1}, args=[x]) --> ({'CPU': 1}, args=[]) |
| import ray | |
| import time | |
| @ray.remote | |
| def foo(arg): | |
| return | |
| @ray.remote |
| import ray | |
| from ray.test_utils import SignalActor | |
| @ray.remote | |
| class Driver: | |
| def __init__(self): | |
| pass | |
| def start(self, signal): | |
| signal.send.remote() |
| import ray | |
| import numpy as np | |
| import time | |
| ray.init(address="auto") | |
| @ray.remote | |
| def f(x): |
| import dask | |
| import dask.dataframe as dd | |
| import json | |
| import pandas as pd | |
| import numpy as np | |
| import os.path | |
| import csv | |
| import fastparquet | |
| from dask.distributed import Client |