Skip to content

send_op fails when call AsyncGetVariable to get parameter server optimized weights #7631

@typhoonzero

Description

@typhoonzero

The following code snippet will use an uninitialized variable. AsyncGetVariable only need the variable name to fetch the variable from parameter server, then initialized it by the return value of theAsyncGetVariable call.

auto* var = scope.FindVar(var_name);
SerializeToMessage(var_name, var, ctx, &req);

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