-
Notifications
You must be signed in to change notification settings - Fork 53
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
Support 2D inner reduction scheduler with autotuning #3456
Conversation
c79d982
to
de10254
Compare
31c216c
to
a466e32
Compare
4a31a07
to
7eeebe1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Similar to pointwise, recomment to use variables instead of instant numbers which provides a more clear interface to the user.
0849e1b
to
1c78f7d
Compare
7eeebe1
to
7817368
Compare
!build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Support Gelu-Bias, Silu-Mul, Bcast-Add, Mul Fusions
1c78f7d
to
45b74f6
Compare
7817368
to
e7ffb29
Compare
!build |
# SPDX-FileCopyrightText: Copyright (c) 2024-present NVIDIA CORPORATION & AFFILIATES. | ||
# All rights reserved. | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
# Owner(s): ["module: nvfuser"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm curious: I noticed this # Owner(s): ["module: nvfuser"]
line in other python files in our repo. Is this a standard and is it used by some tool?
!build |
Summary:
This PR creates an SOL autotuning script for the 2d inner reduction scheduler. It trains a random forest to predict the best performing configuration for the reduction scheduler.
Inner Reduction Fusions:
y = sum(x, dim=-1)
z = sum(x1 + x2 + x3 + x4, dim=-1)
y = sum(tanh(x), dim=-1)
z = sum(exp(x), dim=-1)