KEMBAR78
Allow fusion of float function arguments by ngimel · Pull Request #18087 · pytorch/pytorch · GitHub
Skip to content

Conversation

@ngimel
Copy link
Collaborator

@ngimel ngimel commented Mar 15, 2019

so that functions like def fn(x, p:float) can be fused. Fixes #9940 and #11186. Fuses only float (not integer) arguments to simplify assembling arguments for fusion launch.
CPU fusion is disabled in CI and this won't be tested, but I tested it locally.
cc @t-vi, @apaszke

@facebook-github-bot facebook-github-bot added the oncall: jit Add this issue/PR to JIT oncall triage queue label Mar 15, 2019
Copy link
Collaborator

@wanchaol wanchaol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@ngimel ngimel deleted the scalar_fusion branch April 4, 2019 00:55
@ailzhang
Copy link
Contributor

ailzhang commented May 3, 2019

cc: @soumith This is the PR you mentioned. :D
mark this PR to remind me to check back for my favorite ints. ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

oncall: jit Add this issue/PR to JIT oncall triage queue open source

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JIT fuser can't handle scalar ops

6 participants