Skip to content

Force Python to garbage collect target modules in TracedModuleTestCase - #2896

Closed
antiagainst wants to merge 1 commit into
iree-org:mainfrom
antiagainst:reveal-gc-bug
Closed

antiagainst wants to merge 1 commit into
iree-org:mainfrom
antiagainst:reveal-gc-bug

Conversation

@antiagainst

Copy link
Copy Markdown
Member

For each test case, we are actually holding two contexts alive:
one in cls._tar_modules (via setUpClass()) and one in self._tar_modules
(via setUp()). The class one somehow is not properly released and
that causes issues with Vulkan driver DSO deallocation.

For each test case, we are actually holding two contexts alive:
one in cls._tar_modules (via setUpClass()) and one in self._tar_modules
(via setUp()). The class one somehow is not properly released and
that causes issues with Vulkan driver DSO deallocation.
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.

1 participant