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

Clearing the active DFK on cleaning #3271

Closed
wants to merge 2 commits into from

Conversation

Harichandra-Prasath
Copy link
Contributor

@Harichandra-Prasath Harichandra-Prasath commented Mar 21, 2024

Description

Currently now, on cleaning the Active DFK ( dfk.cleanup ), It releases all the resources and cleans the DFK, but it doesnt remove the reference of the cleaned dfk from the KernelLoader, It makes the user to run .clear() one more time to remove the reference of the DFK, and there are no things can be done with cleaned up dfk , even cant load a new config, So its better to clear the reference as well at cleanup, so that user can directly load another config to work on

Changed Behaviour

After this pr, at cleanup of dfk , reference of the cleaned dfk will be removed

Fixes

Fixes #3263

Type of change

  • New feature

@benclifford
Copy link
Collaborator

I ended up doing this slightly differently, in PR #3444, and in that PR I also cleaned up a lot of tests: even though they were not failing in this PR, there would now be a lot of unnecessary/redundant clear calls happening.

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.

Clearing loaded DFK on cleaning the DFK in dfk.cleanup()
2 participants