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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Batching rule for aten::max_pool1d and aten::huber_loss #97558

Closed
Tracked by #97246
yhl48 opened this issue Mar 24, 2023 · 3 comments
Closed
Tracked by #97246

Batching rule for aten::max_pool1d and aten::huber_loss #97558

yhl48 opened this issue Mar 24, 2023 · 3 comments
Labels
module: functorch Pertaining to torch.func or pytorch/functorch triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Comments

@yhl48
Copy link
Contributor

yhl48 commented Mar 24, 2023

馃殌 The feature, motivation and pitch

Related to pytorch/functorch#1088.

UserWarning: There is a performance drop because we have not yet implemented the batching rule for aten::max_pool1d. Please file us an issue on GitHub so that we can prioritize its implementation. (Triggered internally at ../aten/src/ATen/functorch/BatchedFallback.cpp:82.)
UserWarning: There is a performance drop because we have not yet implemented the batching rule for aten::huber_loss. Please file us an issue on GitHub so that we can prioritize its implementation. (Triggered internally at ../aten/src/ATen/functorch/BatchedFallback.cpp:82.)

Would like to help implement these if they have not already been implemented, would appreciate it if some pointers are given!

Alternatives

No response

Additional context

No response

cc @zou3519 @Chillee @samdow @soumith @kshitij12345 @janeyx99

@dagitses dagitses added triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module module: functorch Pertaining to torch.func or pytorch/functorch labels Mar 27, 2023
@zou3519
Copy link
Contributor

zou3519 commented Mar 27, 2023

@yhl48 some pointers are over at https://github.com/pytorch/pytorch/wiki/vmap-Basics if you're interested in giving these a try

@yhl48
Copy link
Contributor Author

yhl48 commented Apr 4, 2023

Also for aten::smooth_l1_loss

@qqaatw
Copy link
Collaborator

qqaatw commented Apr 15, 2023

I took huber_loss here: #99235 :)

qqaatw added a commit that referenced this issue Apr 19, 2023
qqaatw added a commit that referenced this issue Apr 19, 2023
qqaatw added a commit that referenced this issue Apr 19, 2023
qqaatw added a commit that referenced this issue Apr 19, 2023
qqaatw added a commit that referenced this issue Apr 19, 2023
ZainRizvi pushed a commit that referenced this issue Apr 19, 2023
qqaatw added a commit that referenced this issue Apr 20, 2023
qqaatw added a commit that referenced this issue Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: functorch Pertaining to torch.func or pytorch/functorch triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Projects
None yet
Development

No branches or pull requests

4 participants