Skip to content

Conversation

@apbose
Copy link
Collaborator

@apbose apbose commented Jun 15, 2024

]

@github-actions github-actions bot added component: lowering Issues re: The lowering / preprocessing passes component: api [Python] Issues re: Python API component: dynamo Issues relating to the `torch.compile` or `torch._dynamo.export` paths labels Jun 15, 2024
@github-actions github-actions bot requested a review from gs-olive June 15, 2024 01:57
@apbose apbose marked this pull request as draft June 15, 2024 01:57
@apbose apbose removed the request for review from gs-olive June 15, 2024 01:58
@apbose apbose marked this pull request as ready for review June 17, 2024 16:03
@apbose apbose requested a review from gs-olive June 17, 2024 16:34
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@gs-olive will there be fake tensor issue in this? The torch.compile test seems to be passing here.

Copy link
Contributor

Choose a reason for hiding this comment

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

Since it is within a decomposition, it should be fine since the torch.ones Tensor itself is never accessed or used

Copy link
Contributor

@gs-olive gs-olive left a comment

Choose a reason for hiding this comment

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

Looks good to me - thanks for the quick fix! Just pending 1 CI test case

@apbose apbose merged commit 5de2524 into main Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla signed component: api [Python] Issues re: Python API component: dynamo Issues relating to the `torch.compile` or `torch._dynamo.export` paths component: lowering Issues re: The lowering / preprocessing passes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants