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

FP32 Autovec Final Optimization #2586

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

crystalrchen
Copy link

  1. Verified that FP32 implementation passes unit tests
  2. Created FP32 RowWiseSparse function (EmbeddingSpMDMRowWiseSparse_autovec)
  3. Optimized FP32 Autovec Function (EmbeddingSpMDM_autovec):
    • #pragma omp tile size (tile_size = 4)
    • cache prefetching (max_initial_prefetch_row = 8)
    • #pragma omp simd
  4. Implemented switching logic for usage of the autovec environment variable for both EmbeddingSpMDM_ref/autovec and EmbeddingSpMDMRowWiseSparse_ref/autovec

Copy link

netlify bot commented May 13, 2024

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit eadcc40
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/664be2524d08780008215b74
😎 Deploy Preview https://deploy-preview-2586--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.

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.

None yet

2 participants