Skip to content

Factoring out object_info structure for use in several Ray components #101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Dec 9, 2016

Conversation

atumanov
Copy link
Contributor

@atumanov atumanov commented Dec 9, 2016

No description provided.

self.plasma_client.create(object_id, 1000)
object_str = str(uuid.uuid4())
object_str_len = random.randint(0,len(object_str))
object_str = object_str[:object_str_len]
Copy link
Collaborator

@robertnishihara robertnishihara Dec 9, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

metadata_sizes = [np.random.randint(1000) for _ in range(i)]
data_sizes = [np.random.randint(1000) for _ in range(i)]
for j in range(i):
  self.plasma_client.create(object_ids[i], size=data_sizes[i], metadata=bytearray(np.random.bytes(metadata_sizes[i])))

@pcmoritz pcmoritz merged commit 1c946b2 into ray-project:master Dec 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants