Skip to content

Send & Get Datasets#2960

Merged
karlhigley merged 44 commits intoOpenMined:masterfrom
abogaziah:master
Mar 16, 2020
Merged

Send & Get Datasets#2960
karlhigley merged 44 commits intoOpenMined:masterfrom
abogaziah:master

Conversation

@abogaziah
Copy link
Member

first milestone in the issue #2670

@abogaziah abogaziah requested a review from LaRiffle January 24, 2020 09:28
Copy link
Contributor

@LaRiffle LaRiffle left a comment

Choose a reason for hiding this comment

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

Add a small test and we're good

@abogaziah abogaziah requested a review from LaRiffle January 24, 2020 16:24
@abogaziah abogaziah removed the request for review from LaRiffle January 25, 2020 21:48
owner=None,
tags: List[str] = None,
description: str = None,
child=None,
Copy link
Contributor

Choose a reason for hiding this comment

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

for conciseness just put **kwargs and report them in super().__init__(**kwargs)

Copy link
Member Author

Choose a reason for hiding this comment

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

done

@abogaziah abogaziah marked this pull request as ready for review January 25, 2020 23:58
LaRiffle
LaRiffle previously approved these changes Jan 26, 2020
@LaRiffle LaRiffle dismissed their stale review January 26, 2020 18:10

We're adding more stuff to this PR

@LaRiffle LaRiffle changed the title dataset inherits abstractobject Send & Get Datasets Jan 27, 2020
@abogaziah abogaziah requested a review from LaRiffle February 17, 2020 15:06
Copy link
Contributor

@LaRiffle LaRiffle left a comment

Choose a reason for hiding this comment

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

Great job and thanks for the tests! :)
One last question left

# for a tensor we don't own, then it's probably someone else's
# decision to decide when to delete the tensor.
ptr = obj.create_pointer(garbage_collect_data=False, owner=sy.local_worker).wrap()
ptr = obj.create_pointer(garbage_collect_data=False, owner=sy.local_worker, location=self).wrap()
Copy link
Contributor

Choose a reason for hiding this comment

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

Why did you need to change this location argument?

Copy link
Member Author

@abogaziah abogaziah Feb 19, 2020

Choose a reason for hiding this comment

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

because if the location wasn't passed it would assume the location is the local worker, which isn't correct. the search result would be always: (me | id -> me | id_at_location) instead of (me | id -> location | id_at_location)

Copy link
Contributor

@LaRiffle LaRiffle left a comment

Choose a reason for hiding this comment

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

Let’s fix the last tests and merge it!

@LaRiffle LaRiffle mentioned this pull request Mar 6, 2020
@abogaziah abogaziah requested a review from a team March 16, 2020 10:54
@karlhigley karlhigley merged commit f77938a into OpenMined:master Mar 16, 2020
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