-
Notifications
You must be signed in to change notification settings - Fork 24.1k
Expand Tag Set: views & reductions #129020
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
Comments
I'm interested in working on this feature |
@Robertwahl, this pr is a good template: #90029 with the reductions specified in ReduceOps.cpp and views in TensorShape.cpp |
@eellison, I would like to work on this issue. This will be my first issue. So, I would be grateful if you could give me some guidance on how I should approach this problem. |
@eellison is this issue still available? |
Yes, still available. |
It seems that nobody is doing it, so I would like to start working on that. From what I understand, we would like to do the following:
Do you agree with that? Is there anything else we should do? |
@AlonSardas that sounds close !
Lets just add the base reductions, not kernels which are parameterized by what type of reduction. See my comment above about the ops in ReduceOps.cpp |
I see, and it makes more sense. I still think there are a few finer points worth considering when categorizing operators:
If you agree with the points above, Iโll go ahead and open a pull request. |
Yes, cumsum and cumprod are considered scans.
Yea, we are only going to target ops with definitive aliasing reliationships that are CompositeExplicitAutograd as opposed to CompositeImplicitAutograd. See: https://github.com/pytorch/pytorch/blob/main/aten/src/ATen/native/README.md |
๐ The feature, motivation and pitch
pointwise
tag has found use in multiple places. It would also be useful to havereduction
andview
tags. Especially the latter is often re-created adhoc.cc @ezyang @bhosmer @smessmer @ljk53 @bdhirsh @SherlockNoMad
Alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: