-
Notifications
You must be signed in to change notification settings - Fork 111
Simplify function implementation returned by thunder.jit for easier instrumentation of different stages #1333
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
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
4d15278
Move last_trace_host and calls recording to a decorator
IvanYashchuk a36f14b
Remove last_trace_cache_stop there's no corresponding start
IvanYashchuk 09034c1
Rename last_executed -> last_computation
IvanYashchuk 288e840
Remove last_computation_execution_stop there's no corresponding start
IvanYashchuk 3495bfe
Move storage check for aliases to a separate function
IvanYashchuk 2b089d9
Move ThunderFunction.apply to a separate function
IvanYashchuk 90f9f2a
Move epilogue_fn invocation to a separate function
IvanYashchuk 63a6064
Remove unused last_trace_host_tracing measurements
IvanYashchuk fabfc41
Move host_execution timer to a decorator to be applied on computation_fn
IvanYashchuk 70ac9a7
Remove a couple of empty lines
IvanYashchuk d89f51d
Add prologue_execution_timer decorator
IvanYashchuk 77c7d95
decorate_computation_functions -> decorate_computation_function
IvanYashchuk a8c4d7a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] a9fd993
CacheEntry is a named tuple which doesn't support attribute assignment
IvanYashchuk 9923a42
maybe_call_epilogue should return result
IvanYashchuk 4ddfff5
Merge branch 'main' into thunder-fn-instrumentation
IvanYashchuk 511f39a
Merge branch 'main' into thunder-fn-instrumentation
IvanYashchuk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.