FBGEMM icon indicating copy to clipboard operation
FBGEMM copied to clipboard

Add flag to control use cudagraph or not

Open sijiac opened this issue 1 year ago • 8 comments

Summary: When doing the benchmark on the TMA FP8 kernel (D58656793), i saw the cudagrah issue,

    desc_a = torch.tensor(desc_a, device="cuda")
RuntimeError: CUDA error: operation not permitted when stream is capturing
Device-side assertion tracking was not enabled by user.

Add a click option to bypass the issue first

Reviewed By: jianyuh

Differential Revision: D58656794

sijiac avatar Jun 17 '24 17:06 sijiac

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
Latest commit d4153f1d4ad5ae33fc690af8c995052ef8e715e6
Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/667910780eedf80008e68d4e
Deploy Preview https://deploy-preview-2741--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.

netlify[bot] avatar Jun 17 '24 17:06 netlify[bot]

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

facebook-github-bot avatar Jun 17 '24 17:06 facebook-github-bot

@sijiac has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot avatar Jun 21 '24 00:06 facebook-github-bot

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

facebook-github-bot avatar Jun 21 '24 00:06 facebook-github-bot

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

facebook-github-bot avatar Jun 21 '24 00:06 facebook-github-bot

@sijiac has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot avatar Jun 21 '24 05:06 facebook-github-bot

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

facebook-github-bot avatar Jun 21 '24 06:06 facebook-github-bot

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

facebook-github-bot avatar Jun 21 '24 06:06 facebook-github-bot

Hi @sijiac!

Thank you for your pull request.

We require contributors to sign our Contributor License Agreement, and yours needs attention.

You currently have a record in our system, but the CLA is no longer valid, and will need to be resubmitted.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at [email protected]. Thanks!

meta-cla[bot] avatar Dec 09 '25 03:12 meta-cla[bot]