Skip to content

mitigate segfault for IG 500x model on mi300x #4552

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RandySheriff
Copy link

Summary:
Two steps to mitigate seg-fault on mi300x for IG 500x model:

  • in auto-tune prune function, trim the options when M == 512 and:
block_m * group_m == M  // this is the case where seg-fault triggered
  • add a few replacement options still supporting swizzle(group_m) tuning.

Differential Revision: D78844277

Copy link

netlify bot commented Jul 23, 2025

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit d2e9cab
🔍 Latest deploy log https://app.netlify.com/projects/pytorch-fbgemm-docs/deploys/688161dd58037b0009707c08
😎 Deploy Preview https://deploy-preview-4552--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 project configuration.

@facebook-github-bot
Copy link
Contributor

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

Summary:
X-link: facebookresearch/FBGEMM#1595


Two steps to mitigate seg-fault on mi300x for IG 500x model:
- in auto-tune prune function, trim the options when M == 512 and:
```
block_m * group_m == M  // this is the case where seg-fault triggered
```
- add a few replacement options still supporting swizzle(group_m) tuning.

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

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

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