Skip to content

Conversation

mshr-h
Copy link
Contributor

@mshr-h mshr-h commented Nov 27, 2023

self.infer_type() returns tvm.ir.TensorType so we need .dtype to get the data type.
Fix #16126
cc @jikechao @vvchernov @Hzfengsy @masahi

@mshr-h mshr-h marked this pull request as ready for review November 28, 2023 01:26
@github-actions github-actions bot requested review from Hzfengsy and masahi November 28, 2023 01:27
Copy link
Contributor

@vvchernov vvchernov left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@jikechao jikechao left a comment

Choose a reason for hiding this comment

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

LGTM, @mshr-h Thank you!

@masahi masahi merged commit 604b263 into apache:main Nov 28, 2023
@mshr-h mshr-h deleted the fix-missing-dtype branch November 28, 2023 10:39
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.

[Bug] [Relay][PyTorch] aten::new_zeros support is broken with torch>=2.1.0
4 participants