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

XLA dumps are not generated after setting XLA_FLAGS="--xla_dump_to=/some/path" #52244

Open
reza-amd opened this issue Oct 4, 2021 · 0 comments
Assignees
Labels
comp:xla XLA stat:awaiting tensorflower Status - Awaiting response from tensorflower type:bug Bug

Comments

@reza-amd
Copy link
Contributor

reza-amd commented Oct 4, 2021

I was running the unit test //tensorflow/compiler/tests:categorical_op_test_gpu and wanted to see the XLA dumps for this unit test. I set the --xla_dump_to to a correct path, but dump files were never generated (the setup is correct as for other tests, It can generate XLA dumps).

I tried to investigate this issue further and I found that detailed_logging has been hard coded to false in this location. This value is being used later on in here to reset the dump_to path.

With this empty value for dump_to, it will never generate the files even though xla_dump_to has been set. This behavior is contradictive to the XLA documentation described here

@reza-amd reza-amd added the type:bug Bug label Oct 4, 2021
@sushreebarsa sushreebarsa added the comp:xla XLA label Oct 5, 2021
@sachinprasadhs sachinprasadhs assigned r4nt and unassigned sachinprasadhs Oct 8, 2021
@sachinprasadhs sachinprasadhs added the stat:awaiting tensorflower Status - Awaiting response from tensorflower label Oct 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:xla XLA stat:awaiting tensorflower Status - Awaiting response from tensorflower type:bug Bug
Projects
None yet
Development

No branches or pull requests

4 participants