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

invoke attempt 2 #212

Merged
merged 10 commits into from
Aug 2, 2024
Merged

invoke attempt 2 #212

merged 10 commits into from
Aug 2, 2024

Conversation

willtebbutt
Copy link
Member

@willtebbutt willtebbutt commented Aug 1, 2024

This PR largely resolves #206 -- in particular it makes invoke(f, TT, args...) work nicely when f and TT can be resolved statically.

@willtebbutt willtebbutt marked this pull request as draft August 1, 2024 21:24
Copy link
Contributor

github-actions bot commented Aug 1, 2024

Performance Ratio:
Warning: results are very approximate!

┌────────────────────────────┬────────┬─────────┬─────────────┬─────────┐
│                      Label │  Tapir │  Zygote │ ReverseDiff │  Enzyme │
│                     String │ String │  String │      String │  String │
├────────────────────────────┼────────┼─────────┼─────────────┼─────────┤
│                        sum │   30.4 │   0.324 │        2.26 │   0.632 │
│                       _sum │   6.71 │   516.0 │        27.2 │   0.121 │
│                   kron_sum │   76.9 │    3.51 │       210.0 │    25.8 │
│              kron_view_sum │   91.0 │    10.8 │       254.0 │    8.71 │
│      naive_map_sin_cos_exp │   4.06 │ missing │        8.62 │    2.78 │
│            map_sin_cos_exp │   4.91 │    1.81 │        7.52 │    3.42 │
│      broadcast_sin_cos_exp │   4.41 │    2.64 │        1.66 │    2.82 │
│                 simple_mlp │    8.9 │    3.11 │        14.8 │    3.17 │
│                     gp_lml │   15.6 │     4.5 │     missing │ missing │
│ turing_broadcast_benchmark │   9.09 │ missing │        28.0 │ missing │
└────────────────────────────┴────────┴─────────┴─────────────┴─────────┘

@willtebbutt willtebbutt mentioned this pull request Aug 2, 2024
@willtebbutt willtebbutt marked this pull request as ready for review August 2, 2024 08:40
@willtebbutt willtebbutt merged commit 4ea0e1d into main Aug 2, 2024
17 checks passed
@willtebbutt willtebbutt deleted the wct/invoke-attempt-2 branch August 2, 2024 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some instances of invoke
1 participant