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

How Habitat measures the execution time associated with the operation’s backward pass? #8

Closed
xiyiyia opened this issue Feb 3, 2022 · 2 comments
Labels
question Further information is requested

Comments

@xiyiyia
Copy link

xiyiyia commented Feb 3, 2022

Hi! Thanks for your perfect job.

It's easy to understand to measure the execution time in the forward pass.
But in the backward pass, how Habitat does? I think it is an undoubtedly different processor, right?

@geoffxy
Hope for your reply soon!

@geoffxy geoffxy added the question Further information is requested label Feb 5, 2022
@geoffxy
Copy link
Owner

geoffxy commented Feb 5, 2022

Habitat re-runs each operation individually. You can look at https://github.com/geoffxy/habitat/blob/master/analyzer/habitat/profiling/operation.py#L96-L148 and the other methods used in that file to see how Habitat makes the measurements.

@geoffxy
Copy link
Owner

geoffxy commented Mar 7, 2022

Closing this for now - feel free to reopen to follow up!

@geoffxy geoffxy closed this as completed Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants