-
Notifications
You must be signed in to change notification settings - Fork 486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Codegen addcdiv and addcmul #3768
Conversation
85ce2b0
to
549a19b
Compare
549a19b
to
71ba7c3
Compare
pytorch/pytorch#82970 (review) fixed the device issue. |
b734a75
to
9972815
Compare
Issue coming from trying to add f64 and f32
|
Issue was coming from that when we uploading a |
f30c43a
to
5de4435
Compare
@wonjoolee95 I think this one is ready for reivew |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! 👍
Fix #3765,
Fix #3766,
Fix #3767
Example pr of codegen op that takes
at::Scalar
.The current codegen upload does not take a scalar type, hence we always upload with the default type (f64). To fix this issue, we need to identify the Value that was a at::scalar in the original aten_xla_type.cpp and cast the value to the correct dtype.
LazyIR
XLANativeFunction