Skip to content

Conversation

@wz337
Copy link
Contributor

@wz337 wz337 commented Jan 23, 2023

Fixes #90346

Rename init() method in planner to be set_up_planner() to avoid confusion between init() and init().

@pytorch-bot
Copy link

pytorch-bot bot commented Jan 23, 2023

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/92829

Note: Links to docs will display an error until the docs builds have been completed.

⏳ No Failures, 1 Pending

As of commit 8b1867b:
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@wz337 wz337 marked this pull request as ready for review January 23, 2023 17:55
@wz337 wz337 requested a review from kumpera January 23, 2023 17:55
Copy link
Contributor

@kumpera kumpera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, should we do the same with storage layer?

@wz337
Copy link
Contributor Author

wz337 commented Jan 23, 2023

LGTM, should we do the same with storage layer?

Ye. Totally. Was having the same thoughts. Will do it in a separate PR then.

@wz337
Copy link
Contributor Author

wz337 commented Jan 23, 2023

@pytorchmergebot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Jan 23, 2023
@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

wz337 added a commit to pytorch/PiPPy that referenced this pull request Jan 26, 2023
Fix broken CI in pg_planner:
```
spmd/checkpoint/pg_planner.py:61:9: error: "init" undefined in superclass  [misc]
spmd/checkpoint/pg_planner.py:81:9: error: "init" undefined in superclass  [misc]
```

This is changed due to pytorch/pytorch#92829.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[PT-D][checkpoint] Rename init method for SavePlanner and LoadPlanner

3 participants