Skip to content

Persistent Cache will not recompile when XLA_IR_DEBUG and XLA_HLO_DEBUG changed #7169

@JackCaoG

Description

@JackCaoG

🐛 Bug

When the persistent cache is enabled and XLA_IR_DEBUG and XLA_HLO_DEBUG env var changed, PyTorch/XLA will not recompile a graph with the HLO metadata

To Reproduce

run the same pytorch/xla problem with persistent cache but flip the XLA_IR_DEBUG and XLA_HLO_DEBUG.

Expected behavior

We recompile

Environment

  • Reproducible on XLA backend: all
  • torch_xla version: nightly

cc @jonb377

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions