-
Notifications
You must be signed in to change notification settings - Fork 64
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
fix hpu destructors flow and remove finish_measurements #379
Conversation
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.
LGTM overall, but let's add a guard against AttributeError
in the destructor by using getattr (in case executor's destructor gets called before _init_executor()
)
b2e342c
to
ba61352
Compare
9c9d748
to
adbfb47
Compare
a57df85
to
5b1658a
Compare
d539a6c
to
6454f3f
Compare
New code - need to review it again
6454f3f
to
029f9f9
Compare
029f9f9
to
592121e
Compare
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.
LGTM
Fix hpu related destructors flow, avoiding multiple calls to the same shutdown function. Remove the use of the finish_measurements function.
Cherry-pick of existing fix from habana_main. Fix hpu related destructors flow, avoiding multiple calls to the same shutdown function. Remove the use of the finish_measurements function. --------- Co-authored-by: Nir David <[email protected]>
Fix hpu related destructors flow, avoiding multiple calls to the same shutdown function.
Remove the use of the finish_measurements function.