Skip to content

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