Skip to content

Conversation

@jameszianxuTT
Copy link

Ticket: #9712

There is currently no way to clear the XLAGraphExecutor's computation cache.

This change exposes a cache clearing function torch_xla.runtime.clear_computation_cache to clear the computation cache.

* Add torch_xla.runtime.clear_computation_cache() binding
* Run linters
* Add optional workflow dispatch to build wheel from branch instead of torch-xla main
* Change assertion to warning
* Return bool so caller can optionally check if cache was cleared
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