Skip to content

How the scope should be implemented in distribute environment. #3825

@dzhwinter

Description

@dzhwinter

Background

In our current scope design, we get variable value by name string. If the variable distributes in multiple GPU, even multiple machines, the implementation is different with local machine mode.

questions

1、Do we really need an API functionvalue = get_variable_value(remote_server/job_name, var_name)? And the distributed version?
2、How the scope should be partitioned and distributed to GPU/nodes?
3、Suppose users need the get_variable_value interface to debug, every node shares a global scope. Should variable name record its node/GPU location? How to compatible with current variable name convention?

Metadata

Metadata

Assignees

No one assigned

    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