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

bit of cleanup of relative entropy cone #838

Merged
merged 7 commits into from
Apr 12, 2024
Merged

bit of cleanup of relative entropy cone #838

merged 7 commits into from
Apr 12, 2024

Conversation

araujoms
Copy link
Contributor

remove mul!s that were multiplying Hermitian with Adjoint, as this is an order of magnitude slower than usual. It doesn't have a significant impact in overall performance, but drastically reduces the allocations of dder3() (in my test from 819.07 k to 23.77 k).

@odow odow requested a review from chriscoey April 10, 2024 20:02
@odow
Copy link
Member

odow commented Apr 10, 2024

This needs @chriscoey to take a look. I can't really review this competently, other than noting that the tests pass.

@araujoms
Copy link
Contributor Author

Actually @lkapelevich is the one who knows about this particular cleanup.

@chriscoey
Copy link
Collaborator

Thanks @araujoms! In general we put lots of effort into optimizing the oracle code for most of the cones, but not so much for epitrrelentropytri, because of the complexity.

@chriscoey chriscoey self-requested a review April 11, 2024 05:00
@araujoms
Copy link
Contributor Author

Thanks for the review Chris. This is indeed a nasty cone. I'll slowly optimize it.

@lkapelevich
Copy link
Collaborator

Nothing from me to add!

@araujoms
Copy link
Contributor Author

Well since everyone approves can someone merge it?

@chriscoey
Copy link
Collaborator

Oh I assumed you were able to merge. Is that not the case?

@chriscoey chriscoey merged commit 96746e6 into jump-dev:master Apr 12, 2024
5 checks passed
@araujoms
Copy link
Contributor Author

No, I don't have write access.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

4 participants