Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SSDScratchPadIndicesQueue lookup in frontend #2948

Closed
wants to merge 1 commit into from

Conversation

sryap
Copy link
Contributor

@sryap sryap commented Aug 8, 2024

Summary:
This diff updates SSD-TBE frontend to use
torch.classes.fbgemm.SSDScratchPadIndicesQueue for scratch pad
lookup (added in D60363607). SSDScratchPadIndicesQueue is for
storing scratch pad indices (conflict missed indices) from previous
iterations. It is used during the L1 cache prefetching step: instead
of fetching the missing indices directly from SSD, TBE will lookup the
scatch pad index queue first to check whether the missing data is in
the scratch pad from the previous iteration.

The high-level workflow of the prefetch step in SSD-TBE is shown in
the figure below:

{F1795380801}

https://internalfb.com/excalidraw/EX264055

Differential Revision: D60413116

Copy link

netlify bot commented Aug 8, 2024

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit 147b04c
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/66bac7495ab96f0008063a37
😎 Deploy Preview https://deploy-preview-2948--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
Contributor

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

@facebook-github-bot
Copy link
Contributor

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

@sryap sryap force-pushed the export-D60413116 branch from 0076919 to 99315d8 Compare August 12, 2024 17:54
sryap added a commit to sryap/FBGEMM that referenced this pull request Aug 12, 2024
Summary:
Pull Request resolved: pytorch#2948

X-link: facebookresearch/FBGEMM#50

This diff updates SSD-TBE frontend to use
`torch.classes.fbgemm.SSDScratchPadIndicesQueue` for scratch pad
lookup (added in D60363607).  `SSDScratchPadIndicesQueue` is for
storing scratch pad indices (conflict missed indices) from previous
iterations. It is used during the L1 cache prefetching step: instead
of fetching the missing indices directly from SSD, TBE will lookup the
scatch pad index queue first to check whether the missing data is in
the scratch pad from the previous iteration.

The high-level workflow of the prefetch step in SSD-TBE is shown in
the figure below:

 {F1795380801}

https://internalfb.com/excalidraw/EX264055

Reviewed By: ehsanardestani

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

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

sryap added a commit to sryap/FBGEMM that referenced this pull request Aug 12, 2024
Summary:
Pull Request resolved: pytorch#2948

X-link: facebookresearch/FBGEMM#50

This diff updates SSD-TBE frontend to use
`torch.classes.fbgemm.SSDScratchPadIndicesQueue` for scratch pad
lookup (added in D60363607).  `SSDScratchPadIndicesQueue` is for
storing scratch pad indices (conflict missed indices) from previous
iterations. It is used during the L1 cache prefetching step: instead
of fetching the missing indices directly from SSD, TBE will lookup the
scatch pad index queue first to check whether the missing data is in
the scratch pad from the previous iteration.

The high-level workflow of the prefetch step in SSD-TBE is shown in
the figure below:

 {F1795380801}

https://internalfb.com/excalidraw/EX264055

Reviewed By: ehsanardestani

Differential Revision: D60413116
@sryap sryap force-pushed the export-D60413116 branch from 99315d8 to dafebf8 Compare August 12, 2024 18:02
@facebook-github-bot
Copy link
Contributor

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

sryap added a commit to sryap/FBGEMM that referenced this pull request Aug 12, 2024
Summary:
Pull Request resolved: pytorch#2948

X-link: facebookresearch/FBGEMM#50

This diff updates SSD-TBE frontend to use
`torch.classes.fbgemm.SSDScratchPadIndicesQueue` for scratch pad
lookup (added in D60363607).  `SSDScratchPadIndicesQueue` is for
storing scratch pad indices (conflict missed indices) from previous
iterations. It is used during the L1 cache prefetching step: instead
of fetching the missing indices directly from SSD, TBE will lookup the
scatch pad index queue first to check whether the missing data is in
the scratch pad from the previous iteration.

The high-level workflow of the prefetch step in SSD-TBE is shown in
the figure below:

 {F1795380801}

https://internalfb.com/excalidraw/EX264055

Reviewed By: ehsanardestani

Differential Revision: D60413116
@sryap sryap force-pushed the export-D60413116 branch from dafebf8 to 6260f45 Compare August 12, 2024 19:50
@facebook-github-bot
Copy link
Contributor

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

sryap added a commit to sryap/FBGEMM that referenced this pull request Aug 13, 2024
Summary:
Pull Request resolved: pytorch#2948

X-link: facebookresearch/FBGEMM#50

This diff updates SSD-TBE frontend to use
`torch.classes.fbgemm.SSDScratchPadIndicesQueue` for scratch pad
lookup (added in D60363607).  `SSDScratchPadIndicesQueue` is for
storing scratch pad indices (conflict missed indices) from previous
iterations. It is used during the L1 cache prefetching step: instead
of fetching the missing indices directly from SSD, TBE will lookup the
scatch pad index queue first to check whether the missing data is in
the scratch pad from the previous iteration.

The high-level workflow of the prefetch step in SSD-TBE is shown in
the figure below:

 {F1795380801}

https://internalfb.com/excalidraw/EX264055

Reviewed By: ehsanardestani

Differential Revision: D60413116
@sryap sryap force-pushed the export-D60413116 branch from 6260f45 to 56ecc47 Compare August 13, 2024 02:34
Summary:
Pull Request resolved: pytorch#2948

X-link: facebookresearch/FBGEMM#50

This diff updates SSD-TBE frontend to use
`torch.classes.fbgemm.SSDScratchPadIndicesQueue` for scratch pad
lookup (added in D60363607).  `SSDScratchPadIndicesQueue` is for
storing scratch pad indices (conflict missed indices) from previous
iterations. It is used during the L1 cache prefetching step: instead
of fetching the missing indices directly from SSD, TBE will lookup the
scatch pad index queue first to check whether the missing data is in
the scratch pad from the previous iteration.

The high-level workflow of the prefetch step in SSD-TBE is shown in
the figure below:

 {F1795380801}

https://internalfb.com/excalidraw/EX264055

Reviewed By: ehsanardestani

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 4ae45b7.

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