-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
merge fluid dist tests #8573
merge fluid dist tests #8573
Conversation
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.
The demo code is too long, so can we reduce them?
if is_local: | ||
train_loop(fluid.default_main_program()) | ||
else: | ||
port = os.getenv("PADDLE_INIT_PORT", "6174") |
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.
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.
Thought both ways are OK, PADDLE_INIT_PORT
is also used in v2 when calling paddle.init()
raise AssertionError("Fit a line cost is too large, {0:2.2}".format( | ||
avg_loss_value[0])) | ||
|
||
if is_local: |
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.
Is is_local
necessary? We can run the local mode with the code under book
directory.
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.
Got it, this PR merge book and book_dist folder.
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.
LGTM, please fix the conflict, it's better to merge this PR ASAP to make sure dist demo code is running correctly.
… fix_dist_demos
0c4714a
… fix_dist_demos
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.
LGTM
Fix #8571
Fix #8598