Skip to content

Add autodiff building simulator benchmark #80665

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

asl
Copy link
Contributor

@asl asl commented Apr 9, 2025

No description provided.

@asl asl requested a review from eeckstein as a code owner April 9, 2025 02:02
@asl
Copy link
Contributor Author

asl commented Apr 9, 2025

Autodiff relies heavily on inlining and closure optimizations, so some non-trivial code shows the impact of optimizations. Usually the difference for reverse pass (derivative calculation, corresponds to AutoDiffBuildingSimulator.Reverse) is ~10x for Benchmark_O vs Benchmark_Onone.

@asl
Copy link
Contributor Author

asl commented Apr 9, 2025

@swift-ci please test

@asl
Copy link
Contributor Author

asl commented Apr 9, 2025

@swift-ci please benchmark

@asl
Copy link
Contributor Author

asl commented Apr 9, 2025

Tagging @JaapWijnen

@asl asl added the AutoDiff label Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant