Skip to content

Integrate l2 cache to TBE operator #2959

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

Closed
wants to merge 2 commits into from

Conversation

jma99fb
Copy link
Contributor

@jma99fb jma99fb commented Aug 9, 2024

Summary:
Integrate the CacheLib based L2 cache into TBE operator. At a high level, this diff

  1. Implements the CacheLib based L2 cache class as a wrapper to provide a unified interface including get() and put() from/to CPU caches.
  2. Integrates the L2 cache class into the EmbedingKVDB base class to expand the capability of the get()/set() functions.
  3. Introduces the async get()/set() APIs for PS/SSD for performance tuning reason (e.g. enabled the parallelism to the memcpy and get from remote storage)

Differential Revision: D60289936

Copy link

netlify bot commented Aug 9, 2024

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit c6b4765
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/66b6a1d9e6ccec0008c64bb7
😎 Deploy Preview https://deploy-preview-2959--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: D60289936

@facebook-github-bot
Copy link
Contributor

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

jma99fb added a commit to jma99fb/FBGEMM that referenced this pull request Aug 9, 2024
Summary:
Pull Request resolved: pytorch#2959

Integrate the CacheLib based L2 cache into TBE operator. At a high level, this diff
1. Implements the CacheLib based L2 cache class as a wrapper to provide a unified interface including get() and put() from/to CPU caches.
2. Integrates the L2 cache class into the EmbedingKVDB base class to expand the capability of the get()/set() functions.
3. Introduces the async get()/set() APIs for PS/SSD for performance tuning reason (e.g. enabled the parallelism to the memcpy and get from remote storage)

Reviewed By: sryap

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

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

jma99fb added a commit to jma99fb/FBGEMM that referenced this pull request Aug 9, 2024
Summary:
X-link: facebookresearch/FBGEMM#61

Pull Request resolved: pytorch#2959

Integrate the CacheLib based L2 cache into TBE operator. At a high level, this diff
1. Implements the CacheLib based L2 cache class as a wrapper to provide a unified interface including get() and put() from/to CPU caches.
2. Integrates the L2 cache class into the EmbedingKVDB base class to expand the capability of the get()/set() functions.
3. Introduces the async get()/set() APIs for PS/SSD for performance tuning reason (e.g. enabled the parallelism to the memcpy and get from remote storage)

Reviewed By: sryap

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

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

jma99fb added a commit to jma99fb/FBGEMM that referenced this pull request Aug 9, 2024
Summary:
X-link: facebookresearch/FBGEMM#61

Pull Request resolved: pytorch#2959

Integrate the CacheLib based L2 cache into TBE operator. At a high level, this diff
1. Implements the CacheLib based L2 cache class as a wrapper to provide a unified interface including get() and put() from/to CPU caches.
2. Integrates the L2 cache class into the EmbedingKVDB base class to expand the capability of the get()/set() functions.
3. Introduces the async get()/set() APIs for PS/SSD for performance tuning reason (e.g. enabled the parallelism to the memcpy and get from remote storage)

Reviewed By: sryap

Differential Revision: D60289936
Summary:
X-link: facebookresearch/FBGEMM#61

Pull Request resolved: pytorch#2959

Integrate the CacheLib based L2 cache into TBE operator. At a high level, this diff
1. Implements the CacheLib based L2 cache class as a wrapper to provide a unified interface including get() and put() from/to CPU caches.
2. Integrates the L2 cache class into the EmbedingKVDB base class to expand the capability of the get()/set() functions.
3. Introduces the async get()/set() APIs for PS/SSD for performance tuning reason (e.g. enabled the parallelism to the memcpy and get from remote storage)

Reviewed By: sryap

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 9987dba.

q10 pushed a commit to q10/FBGEMM that referenced this pull request Apr 10, 2025
Summary:
Pull Request resolved: facebookresearch/FBGEMM#61

X-link: pytorch#2959

Integrate the CacheLib based L2 cache into TBE operator. At a high level, this diff
1. Implements the CacheLib based L2 cache class as a wrapper to provide a unified interface including get() and put() from/to CPU caches.
2. Integrates the L2 cache class into the EmbedingKVDB base class to expand the capability of the get()/set() functions.
3. Introduces the async get()/set() APIs for PS/SSD for performance tuning reason (e.g. enabled the parallelism to the memcpy and get from remote storage)

Reviewed By: sryap

Differential Revision: D60289936

fbshipit-source-id: 4a33c534aa7a75c38d7d81dbf4872ecfe120cec2
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