Skip to content

[Discussion]How can we get the dynamic number of trainers when we implement auto-scaling? #7934

@gongweibao

Description

@gongweibao

Now we get fan_in from receive operator's attribute.It's okay when the trainer's number is static. https://github.com/PaddlePaddle/Paddle/blob/develop/paddle/operators/recv_op.cc#L97

auto fan_in = Attr<int>("Fanin");

How can we get the dynamic number of trainers when we implement auto-scaling?

Metadata

Metadata

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