Skip to content

Conversation

@akihironitta
Copy link
Contributor

@akihironitta akihironitta commented Apr 24, 2022

What does this PR do?

Part of #12373.
Fixes #13042 which is part of #12984.

Does your PR introduce any breaking changes? If yes, please list them.

None

Before submitting

  • Was this discussed/approved via a GitHub issue? (not for typos and docs)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure your PR does only one thing, instead of bundling different changes together?
  • [n/a] Did you make sure to update the documentation with your changes? (if necessary)
  • Did you write any new necessary tests? (not for typos and docs)
  • Did you verify new and existing tests pass locally with your changes?
  • Did you list all the breaking changes introduced by this pull request?
  • Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review

Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

  • Is this pull request ready for review? (if not, please submit in draft mode)
  • Check that all items from Before submitting are resolved
  • Make sure the title is self-explanatory and the description concisely explains the PR
  • Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?

Make sure you had fun coding 🙃

cc @otaj @Borda

@akihironitta akihironitta added the bug Something isn't working label May 12, 2022
@akihironitta akihironitta added this to the 1.6.x milestone May 12, 2022
@akihironitta akihironitta changed the title [wip] Bugfix/init meta fit Fix materialize_module recursively setting its child module May 12, 2022
@mergify mergify bot removed the has conflicts label May 12, 2022
@akihironitta akihironitta mentioned this pull request May 12, 2022
12 tasks
@mergify mergify bot added the ready PRs ready to be merged label May 12, 2022
@Borda Borda enabled auto-merge (squash) May 12, 2022 13:18
@mergify mergify bot added has conflicts and removed ready PRs ready to be merged labels May 13, 2022
@mergify mergify bot added ready PRs ready to be merged and removed has conflicts ready PRs ready to be merged labels May 13, 2022
@Borda Borda merged commit 03039a2 into master May 13, 2022
@Borda Borda deleted the bugfix/init-meta-fit branch May 13, 2022 18:05
ashleve pushed a commit to ashleve/pytorch-lightning that referenced this pull request May 13, 2022
…ing-AI#12870)

* Don't set materialized child to child's child
* Update CHANGELOG

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
ashleve added a commit to ashleve/pytorch-lightning that referenced this pull request May 14, 2022
@rohitgr7 rohitgr7 mentioned this pull request Jul 1, 2022
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ready PRs ready to be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nn.Module subclasses uncollected by get_all_subclasses raise RecursionError after materialization

6 participants