Skip to content

changed to higer level __setattr__#137

Merged
bpiwowar merged 1 commit into
experimaestro:masterfrom
VictorMorand:fix/__config__Saving
Sep 11, 2025
Merged

changed to higer level __setattr__#137
bpiwowar merged 1 commit into
experimaestro:masterfrom
VictorMorand:fix/__config__Saving

Conversation

@VictorMorand
Copy link
Copy Markdown
Contributor

when inheriting from nn.Module setting instance.__config__ = self, cause config to be added to the pytorch state dict, which caused state_dict serialization errors
-> changed to higher-level objects.__setattr__

@bpiwowar bpiwowar merged commit 5a1e1c1 into experimaestro:master Sep 11, 2025
3 checks passed
@VictorMorand VictorMorand deleted the fix/__config__Saving branch April 22, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants