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

Enable non-VB inductor compilation, backward extra numerics checks #2178

Closed
wants to merge 1 commit into from

Conversation

IvanKobzarev
Copy link
Contributor

Summary:
The recent D58956327 addition of fbgemm kernel without lengths view transformations was the last piece to enable non-VB inductor compilation.

Enabling inductor compilation for non-VB path.

Adding torch._dynamo.config.force_unspec_int_unbacked_size_like_on_torchrec_kjt = True dynamo config, which was the reason of extra numerics failures (due to recompilation) => Enable extra numerics checks for VB - backward.

Differential Revision: D59057596

Summary:
The recent D58956327 addition of fbgemm kernel without lengths view transformations was the last piece to enable non-VB inductor compilation.

Enabling inductor compilation for non-VB path.

Adding `torch._dynamo.config.force_unspec_int_unbacked_size_like_on_torchrec_kjt =  True` dynamo config, which was the reason of extra numerics failures (due to recompilation) => Enable extra numerics checks for VB - backward.

Differential Revision: D59057596
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 26, 2024
@facebook-github-bot
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants