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

Support public datacenter #122

Merged
merged 3 commits into from
Jun 5, 2017
Merged

Conversation

Yancey1989
Copy link
Collaborator

Add public datacenter

@@ -275,18 +275,29 @@
# "mount_path" "/pfs/%s/home/%s/" # mount_path % ( dc, username )
# }
#}
FSTYPE_CEPHFS = "fstype"
Copy link
Collaborator

Choose a reason for hiding this comment

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

FSTYPE_CEPHFS = "fstype" => FSTYPE_CEPHFS = "cephfs"

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

@@ -275,18 +275,29 @@
# "mount_path" "/pfs/%s/home/%s/" # mount_path % ( dc, username )
# }
#}
FSTYPE_CEPHFS = "fstype"
FSTYPE_HOSTPATH = "hostpath"
DATACENTERS = {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we change this name to "STORAGE_SERVICES" or something more meaningful?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

In the configuration file of the client, we should configure the datacenters and the current-datacenter which is configured by settings.DATACENTERS, so maybe STORAGE_SERVICES only means a storage configuration?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Okay, leave it as it was.

Copy link
Collaborator

@typhoonzero typhoonzero left a comment

Choose a reason for hiding this comment

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

LGTM

@Yancey1989 Yancey1989 merged commit a0d4da5 into PaddlePaddle:develop Jun 5, 2017
@Yancey1989 Yancey1989 deleted the demo_trainer branch June 5, 2017 09:56
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