-
Notifications
You must be signed in to change notification settings - Fork 21.7k
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 sum() forward and backward for NJT #128031
base: gh/jbschlosser/147/base
Are you sure you want to change the base?
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/128031
Note: Links to docs will display an error until the docs builds have been completed. ❌ 10 New Failures, 4 Unrelated FailuresAs of commit 1b29546 with merge base 31d5753 (): NEW FAILURES - The following jobs have failed:
FLAKY - The following job failed but was likely due to flakiness present on trunk:
UNSTABLE - The following jobs failed but were likely due to flakiness present on trunk and has been marked as unstable:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
I don't remember what the conclusion on this was when we discussed lol - but it seems like it is tricky to land something with suboptimal performance when there is already a simple way around this: extract out buffer and then sum. |
yeah, I don't disagree, but it seems like people are very quick to run into "sum() isn't defined for NJT" when they first start using it. It's a noticeable gap and feels really silly not to have it. Maybe we can do some hackery to make |
Ooh good idea, this is just torch function right? |
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
ghstack-source-id: f774295a6f344b5244be44d1f5b77492a146e8f5 Pull Request resolved: #128031
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
ghstack-source-id: 4b8c7269bf3a955baed65cf677c816987a721d97 Pull Request resolved: #128031
[ghstack-poisoned]
ghstack-source-id: e12eb90c48ecf2eb9a6bdeca215d214d4d04fbba Pull Request resolved: #128031
Stack from ghstack (oldest at bottom):