Skip to content

Conversation

@JackCaoG
Copy link
Collaborator

…ernal

The logic was introduced in https://github.com/pytorch/xla/pull/3457/files#diff-17ef64dc5ef931bed0cb0d971cf537a610e90a9b4351658d6587ff59448f0f87R1694, took me a while to remember and reason about why this TensorCollectionBarrier is actually needed. updated the comment so we don't need to go through this mental exercise in 6 months.

@JackCaoG JackCaoG added the tracing Lazy Tensor tracing label Jun 13, 2023
@JackCaoG JackCaoG requested a review from alanwaketan June 13, 2023 00:21
@JackCaoG JackCaoG marked this pull request as ready for review June 13, 2023 00:22
Copy link
Collaborator

@alanwaketan alanwaketan left a comment

Choose a reason for hiding this comment

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

LGTM.

@JackCaoG JackCaoG merged commit 36536a7 into master Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tracing Lazy Tensor tracing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants