Skip to content

Conversation

alanwaketan
Copy link
Collaborator

Summary:
This patch lets XLAGraphExecutor inherits LazyGraphExecutor. A few things worth noting:

  1. It replaces xla::util::ExceptionCleanup with torch::lazy::ExceptionCleanup.
  2. It uses upstream SyncTensorsConfig, SyncTensorCollection, and PostOrderData.

@alanwaketan alanwaketan added the tracing Lazy Tensor tracing label Dec 7, 2022
@alanwaketan alanwaketan self-assigned this Dec 7, 2022
Copy link
Collaborator

@JackCaoG JackCaoG left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@alanwaketan
Copy link
Collaborator Author

Thanks, Jack.

@alanwaketan
Copy link
Collaborator Author

Forgot to mention, this pull request depends on pytorch/pytorch#90420.

This reverts commit 82ddb45.
@alanwaketan alanwaketan merged commit 036728e into master Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
REMOVE_TORCH_PIN tracing Lazy Tensor tracing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants