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

put index expression in parens, to work around triton bug #1504

Merged
merged 2 commits into from
Oct 6, 2022

Conversation

ngimel
Copy link

@ngimel ngimel commented Oct 5, 2022

Fixes #1455 by putting index expressions in parentheses, as suggested in triton-lang/triton#741 (according to Philippe it also might make indexing math faster).
This must be my worst PR in terms of time per character (adding test made this ratio quite a bit better)

@ngimel ngimel merged commit ba249d0 into pytorch:main Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[inductor] Accuracy issue - volo_d1_224
3 participants