Skip to content

Conversation

@alanwaketan
Copy link
Collaborator

@alanwaketan alanwaketan commented Dec 12, 2022

Summary:
This patch adopts even more LazyTensor interfaces:

  1. Reuse TryLimitGraphSize and CreateTensorNode directly.
  2. Override size, ToTensor, dtype, ApplyPendingGraph, AssignIrValue, and GetIrValueForTensor.

It depends on pytorch/pytorch#90686.

Test Plan:
CI.

@alanwaketan alanwaketan force-pushed the alanwaketan/lazy_tensor_2 branch from 84c2a8b to 56ba08e Compare December 13, 2022 18:13
@alanwaketan
Copy link
Collaborator Author

Thanks, Jack.

pytorchmergebot pushed a commit to pytorch/pytorch that referenced this pull request Dec 13, 2022
Summary: Make some LazyTensor interfaces virtual such that XLA can adopt. It's related to pytorch/xla#4317. Test Plan: CI. Pull Request resolved: #90686 Approved by: https://github.com/antoniojkim, https://github.com/JackCaoG
This reverts commit 56ba08e.
@alanwaketan alanwaketan merged commit d1748e0 into master Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tracing Lazy Tensor tracing

2 participants