pytorch / FBGEMM

FB (Facebook) + GEMM (General Matrix-Matrix Multiplication) - https://code.fb.com/ml-applications/fbgemm/
Other
1.2k stars 494 forks source link

Use guard_size_oblivious in tbe_input_combine_abstract fake kernel #2923

Closed henryoier closed 2 months ago

henryoier commented 2 months ago

Summary: Encountered this error during export

torch.fx.experimental.symbolic_shapes.GuardOnDataDependentSymNode: Could not guard on data-dependent expression u5 > 0 (unhinted: u5 > 0).  (Size-like symbols: u5)

ATTENTION: guard_size_oblivious would fix the error, evaluating expression to True.
Maybe you need to add guard_size_oblivious to framework code, see doc below for more guidance.

Reviewed By: SherlockNoMad

Differential Revision: D60260290

Privacy Context Container: L1125031

netlify[bot] commented 2 months ago

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
Latest commit 7a1f7bdc9d52a6d3cb0fe8230548f716a3b958b9
Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/66abc321821c9500087cf938
Deploy Preview https://deploy-preview-2923--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 commented 2 months ago

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

facebook-github-bot commented 2 months ago

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

facebook-github-bot commented 2 months ago

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

facebook-github-bot commented 2 months ago

This pull request has been merged in pytorch/FBGEMM@0872841d944e6d7f9988edd629bbbb109242fe01.