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

Memory leak in //third_party/tensorflow/compiler/xla:debug_options_parsers_test #17808

Open
penpornk opened this issue Oct 1, 2024 · 0 comments
Assignees
Labels
bug Something isn't working CPU Related to XLA on CPU

Comments

@penpornk
Copy link
Member

penpornk commented Oct 1, 2024

The leak comes from MakeDebugOptionsFlag. In real usage, the function is run only once in a program's whole lifetime. This test calls it more than once and got memory leaks. We should investigate the function or find a workaround for this test.

Command to reproduce:
Run the test with --config=asan.

@penpornk penpornk added bug Something isn't working CPU Related to XLA on CPU labels Oct 1, 2024
@penpornk penpornk self-assigned this Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CPU Related to XLA on CPU
Projects
None yet
Development

No branches or pull requests

1 participant