镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Decouple the argument settings for common/ps. #2103

Open

Description

@brightcoder01

Currently the argument parser setting for PS is tightly coupled with common parameters. But there are a lot of parameters which are not required by the parameter server. We need decouple these two parts.

def parse_ps_args(ps_args=None):
parser = argparse.ArgumentParser(description="ElasticDL PS")
parser.add_argument(
"--ps_id", help="ID unique to the PS", type=int, required=True
)
parser.add_argument(
"--port", help="Port used by the PS pod", type=int, required=True
)
parser.add_argument("--master_addr", help="Master ip:port")
add_common_params(parser)
add_train_params(parser)

Activity

  1. self-assigned this
    on Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions