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

[SW-216413] - Fix new executors shutdown and shutdown_inc flow #716

Open
wants to merge 2 commits into
base: habana_main
Choose a base branch
from

Conversation

nirda7
Copy link

@nirda7 nirda7 commented Jan 21, 2025

No description provided.

@@ -96,6 +96,10 @@ def execute_model(
) -> Optional[List[SamplerOutput]]:
raise NotImplementedError

def shutdown(self) -> None:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this method needed here?

This comment was marked as resolved.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want to be able to call the worker's shutdown function from the executors.
but the executors are not device specific therefor there should be some generic "shutdown" function to all workers, and I just adjusted the hpu worker shutdown to do something else.

@@ -96,6 +96,10 @@ def execute_model(
) -> Optional[List[SamplerOutput]]:
raise NotImplementedError

def shutdown(self) -> None:

This comment was marked as resolved.

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.

2 participants