Skip to content

initializedContextIds_ field in DistEngine grows without bound #29083

@pritamdamania87

Description

@pritamdamania87

🐛 Bug

initializedContextIds_ field in DistEngine grows without bound

Expected behavior

We should cleanup entries for this map as autograd context ids are cleaned up. Or we should have a field in DistAutogradContext instead.

Additional context

https://github.com/pytorch/pytorch/blob/master/torch/csrc/distributed/autograd/engine/dist_engine.h#L86

cc @ezyang @gchanan @zou3519 @jerryzh168 @pietern @mrshenli @pritamdamania87 @zhaojuanmao @satgera @gqchen @aazzolini @rohan-varma @xush6528

Metadata

Metadata

Labels

high prioritymodule: rpcRelated to RPC, distributed autograd, RRef, and distributed optimizertriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions