Skip to content

Conversation

@wz337
Copy link
Contributor

@wz337 wz337 commented Oct 26, 2023

Summary: Adding fsspec.transaction to safeguard checkpointing writing. With the context, it should only commit if there was no exception and discard otherwise.

Test Plan:

command: buck test @//mode/dev-nosan  //caffe2/test/distributed/checkpoint/fb:test_fsspec_filesystem -- --print-passing-details

Reviewed By: rohan-varma

Differential Revision: D50701929

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 26, 2023

🔗 Helpful Links

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

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

❌ 1 New Failure, 1 Unrelated Failure

As of commit 167491b with merge base 5b71834 (image):

NEW FAILURE - The following job has failed:

BROKEN TRUNK - The following job failed but were 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.

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Oct 26, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: wz337 / name: Iris Z (167491b)

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D50701929

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D50701929

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D50701929

wz337 added a commit to wz337/pytorch that referenced this pull request Oct 26, 2023
…ge (pytorch#112191)

Summary:

Adding fsspec.transaction to safeguard checkpointing writing. With the context, it should only commit if there was no exception and discard otherwise.

Test Plan:
```
command: buck test @//mode/dev-nosan  //caffe2/test/distributed/checkpoint/fb:test_fsspec_filesystem -- --print-passing-details

Buck UI: https://www.internalfb.com/buck2/7eff3718-9c08-4397-86ae-31ba0bdee65c
Test UI: https://www.internalfb.com/intern/testinfra/testrun/4785074810069469
Network: Up: 0B  Down: 0B
Jobs completed: 10. Time elapsed: 1:25.0s.
Tests finished: Pass 3. Fail 0. Fatal 0. Skip 0. Build failure 0
```

Reviewed By: rohan-varma

Differential Revision: D50701929
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D50701929

@wz337 wz337 added the ciflow/trunk Trigger trunk jobs on your pull request label Oct 26, 2023
…ge (pytorch#112191)

Summary:

Adding fsspec.transaction to safeguard checkpointing writing. With the context, it should only commit if there was no exception and discard otherwise.

Test Plan:
```
command: buck test @//mode/dev-nosan  //caffe2/test/distributed/checkpoint/fb:test_fsspec_filesystem -- --print-passing-details

Buck UI: https://www.internalfb.com/buck2/7eff3718-9c08-4397-86ae-31ba0bdee65c
Test UI: https://www.internalfb.com/intern/testinfra/testrun/4785074810069469
Network: Up: 0B  Down: 0B
Jobs completed: 10. Time elapsed: 1:25.0s.
Tests finished: Pass 3. Fail 0. Fatal 0. Skip 0. Build failure 0
```

Reviewed By: rohan-varma

Differential Revision: D50701929
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D50701929

@facebook-github-bot
Copy link
Contributor

@pytorchbot merge

(Initiating merge automatically since Phabricator Diff has merged)

@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

xuhancn pushed a commit to xuhancn/pytorch that referenced this pull request Nov 7, 2023
…ge (pytorch#112191)

Summary: Adding fsspec.transaction to safeguard checkpointing writing. With the context, it should only commit if there was no exception and discard otherwise.

Test Plan:
```
command: buck test @//mode/dev-nosan  //caffe2/test/distributed/checkpoint/fb:test_fsspec_filesystem -- --print-passing-details
```

Reviewed By: rohan-varma

Differential Revision: D50701929

Pull Request resolved: pytorch#112191
Approved by: https://github.com/rohan-varma
Skylion007 pushed a commit to Skylion007/pytorch that referenced this pull request Nov 14, 2023
…ge (pytorch#112191)

Summary: Adding fsspec.transaction to safeguard checkpointing writing. With the context, it should only commit if there was no exception and discard otherwise.

Test Plan:
```
command: buck test @//mode/dev-nosan  //caffe2/test/distributed/checkpoint/fb:test_fsspec_filesystem -- --print-passing-details
```

Reviewed By: rohan-varma

Differential Revision: D50701929

Pull Request resolved: pytorch#112191
Approved by: https://github.com/rohan-varma
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 fb-exported Merged topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants