Skip to content
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

Python pass #120

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Python pass #120

wants to merge 4 commits into from

Conversation

jcarreira
Copy link
Owner

No description provided.


if num_lambdas == None:
if num_lambdas == None: # not clear when this can happen. It seems to me self.get_num_lambdas() never returns None
Copy link
Owner Author

Choose a reason for hiding this comment

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

@yangryan0 Can you please check this?

Copy link
Collaborator

Choose a reason for hiding this comment

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

self.get_num_lambdas returns none when there is no response from the parameter server or the connection times out.


# it doesn't make sense to have this code here
# why are we launching lambdas in a get_update_per_seconds() method?
# isn't that what the wait_then_maintain_workers code does?
Copy link
Owner Author

Choose a reason for hiding this comment

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

@yangryan0 Can you please comment?

@@ -236,8 +254,7 @@ def kill(self):


def is_dead(self):
return self.dead

return self.dead # when does this dead turns True?
Copy link
Owner Author

Choose a reason for hiding this comment

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

@jcarreira jcarreira requested a review from yangryan0 March 8, 2019 07:13
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.

None yet

2 participants