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

[feat] Update Aim ML adapters #2964

Merged
merged 11 commits into from
Sep 8, 2023
Merged

Conversation

alberttorosyan
Copy link
Member

No description provided.

Copy link
Contributor

@tamohannes tamohannes left a comment

Choose a reason for hiding this comment

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

Seems like we need to update all docstrings, e.g. remove capture_terminal_logs.

Shall we add these two blocks inside of the Run, they seem to be appearing in every adapter.

if self.experiment_name is not None:
    self._run.experiment = self.experiment_name
if self.log_system_params:
    self._run.enable_system_monitoring()

The rest lgtm!

@@ -84,7 +67,6 @@ def metrics(

def close(self) -> None:
if self._run:
self._run.close()
Copy link
Contributor

Choose a reason for hiding this comment

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

Why this line is removed? Will it be enough to just delet or set the run instance to None?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes, it should be enough. once the ref. count for Run (Container) goes to zero, the ContainerAutoClean should do the cleanup.

@alberttorosyan alberttorosyan merged commit 5e1b91e into main Sep 8, 2023
3 of 4 checks passed
@alberttorosyan alberttorosyan deleted the feature/ml-adapters-v4-migration branch September 8, 2023 06:43
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