This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import datetime | |
import random | |
import time | |
import ray | |
from ray import ray_constants | |
from ray import cloudpickle | |
from collections import defaultdict | |
ray.init(address="auto") |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import datetime | |
import time | |
import ray | |
from ray import ray_constants | |
from ray import cloudpickle | |
OBJ_REFS = 500 # number of put_object tasks to run, and number of top-level object refs input to ray.get() | |
EMBEDDED_OBJ_REFS = 2400 # number of embedded object refs per input object | |
REF_HIDING = False # whether to hide embedded object refs via cloudpickle.dumps(ray.put(input_object))) |