Skip to content

coro => fut#3430

Closed
duduyi2013 wants to merge 2 commits into
pytorch:mainfrom
duduyi2013:export-D66550002
Closed

coro => fut#3430
duduyi2013 wants to merge 2 commits into
pytorch:mainfrom
duduyi2013:export-D66550002

Conversation

@duduyi2013

Copy link
Copy Markdown
Contributor

Summary: update all the coro to future

Differential Revision: D66550002

Summary:
X-link: facebookresearch/FBGEMM#516

changeset
1. make L2/rocksdb async update optional
2. update assertion into check, since assert doesn't work
3. adjust locking mechanism

Differential Revision: D66550003
Summary: update all the coro to future

Differential Revision: D66550002
@netlify

netlify Bot commented Dec 2, 2024

Copy link
Copy Markdown

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit 179e60b
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/674e0024529f720008367292
😎 Deploy Preview https://deploy-preview-3430--pytorch-fbgemm-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

duduyi2013 added a commit to duduyi2013/FBGEMM that referenced this pull request Dec 3, 2024
Summary:

X-link: facebookresearch/FBGEMM#517

update all the coro to future

We saw memory management problem in the current stack, after enabling opt-asan and reduce the stack tot he simplest version, it seems related to using coro, we have made [a post on the coro group](https://fb.workplace.com/groups/192968587972839/permalink/1626473334622350/), but didn't get much helpful information. To unblock ourselves, we found that using folly::future remediate the problem. This diff changes all the parallel mechanism from coro to future.

Reviewed By: chrisxcai

Differential Revision: D66550002
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request has been merged in 36b454d.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants