Repository navigation
Fixes DefaultStager crash when reused - #183424
arkadip-maitra wants to merge 1 commit into
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/183424
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (2 Unrelated Failures)As of commit 003dfc4 with merge base e8fdac8 ( FLAKY - The following job failed but was likely due to flakiness present on trunk:
BROKEN TRUNK - The following job failed but was present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
|
|
@pytorchbot merge |
Merge startedYour 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 |
Merge failedReason: 1 mandatory check(s) failed. The first few are: Dig deeper by viewing the failures on hud |
|
@pytorchbot rebase |
|
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
|
Successfully rebased |
2ac5704 to
003dfc4
Compare
|
@pytorchbot merge |
Merge startedYour 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 |
Fixes pytorch#183413 DefaultStager stopped being reusable because DefaultStager._stage() closed its internal StateDictStager after every stage, because of my earlier pr [pytorch#170431](pytorch#170431) that fixed issue pytorch#170163 This fixes that by keeping user provided stagers alive across saves and moving cleanup of internally created default stagers into `async_save()`. Added test to verify re-usability of `DefaultStager` and verified to regression. Pull Request resolved: pytorch#183424 Approved by: https://github.com/fegin
Fixes pytorch#183413 DefaultStager stopped being reusable because DefaultStager._stage() closed its internal StateDictStager after every stage, because of my earlier pr [pytorch#170431](pytorch#170431) that fixed issue pytorch#170163 This fixes that by keeping user provided stagers alive across saves and moving cleanup of internally created default stagers into `async_save()`. Added test to verify re-usability of `DefaultStager` and verified to regression. Pull Request resolved: pytorch#183424 Approved by: https://github.com/fegin
Fixes #183413
DefaultStager stopped being reusable because DefaultStager._stage() closed its internal StateDictStager after every stage, because of my earlier pr #170431 that fixed issue #170163
This fixes that by keeping user provided stagers alive across saves and moving cleanup of internally created default stagers into
async_save(). Added test to verify re-usability ofDefaultStagerand verified to regression.