-
Notifications
You must be signed in to change notification settings - Fork 160
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
Enable TorchBlade based on Torch-MLIR by default #677
Conversation
5d1a2d5
to
2b50e4e
Compare
the schema of aten::_convolution is updated after torch 1.6.1
2f48ddd
to
3240306
Compare
pytorch_blade/pytorch_blade/compiler/mlir/converters/torch_mlir_op_filter.cpp
Show resolved
Hide resolved
rewriter.create<tensor::ExtractOp>(op.getLoc(), elemTy, input); | ||
|
||
if (elemTy.isIntOrIndex()) { | ||
rewriter.replaceOpWithNewOp<arith::ExtSIOp>(op, outTy, output); |
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.
what if outTy
doesn't has wider bits than elemTy
?
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.
done
pytorch_blade/pytorch_blade/torch-mlir/lib/Conversion/TorchToMhlo/DiscTorchToMhlo.cpp
Show resolved
Hide resolved
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.
LGTM
No description provided.