-
Notifications
You must be signed in to change notification settings - Fork 9
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
base: master
Are you sure you want to change the base?
Python pass #120
Conversation
|
||
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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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? |
There was a problem hiding this comment.
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? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.