Closed kwen2501 closed 1 month ago
Stack from ghstack (oldest at bottom):
This PR fixes the issue mentioned here: "Module object has no attributed items."
The reason is, a split ModuleDict is no longer a ModuleDict.
ModuleDict
It would be more generally applicable if we use named_children() and register_module() to access and update submodules.
named_children()
register_module()
Stack from ghstack (oldest at bottom):
362
This PR fixes the issue mentioned here: "Module object has no attributed items."
The reason is, a split
ModuleDict
is no longer aModuleDict
.It would be more generally applicable if we use
named_children()
andregister_module()
to access and update submodules.