-
Notifications
You must be signed in to change notification settings - Fork 195
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
Benchmark abstract operations #870
Conversation
Codecov Report
@@ Coverage Diff @@
## master #870 +/- ##
===========================================
+ Coverage 55.78% 68.67% +12.89%
===========================================
Files 171 126 -45
Lines 4005 2678 -1327
===========================================
- Hits 2234 1839 -395
+ Misses 1771 839 -932
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neat, thank you. I can't puzzle out the logic that underlies the timings. Looks like the timing is strongly nonlinear with the complexity of the operations object... ?
Same here although it seems that slow abstract operations are associated with lots of memory allocations. So perhaps if we could figure out why some allocations happen, that would speed up some of them. Running the GPU version could be useful as well as the GPU tends to forcefully |
Should probably try to get it working on GPU before merging. Will try again after #860. |
Hmm, we could be missing some |
adcbf19
to
9f5c6e3
Compare
9f5c6e3
to
b6a61dd
Compare
b6a61dd
to
19f23f1
Compare
I'll merge this PR since the script is fine and the real issue is being discussed in #1241. |
Had some time to burn while waiting for stuff to train so I benchmarked some abstract operations:
Some outliers in there like
α * β - γ * δ / ζ
and(u^2 + v^2 + w^2) / 2
so there should be some useful info.Tried to run on GPU but it wouldn't compile
α + β
even though it worked for me in the REPL 🤷 Worth trying again after #860.