Skip to content

[Linalgx] Deprecate all linalgx matmul ops #307

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

Merged
merged 7 commits into from
Sep 11, 2024

Conversation

LongshengDu
Copy link
Contributor

@LongshengDu LongshengDu commented Aug 30, 2024

Delete all linalgx matmul ops and switch to generic based ops.

Depend on #324

@LongshengDu
Copy link
Contributor Author

Goal is to delete all linalgx matmul named ops code, please check for all usage.

@lmontigny lmontigny added this to the 0.1 CPU milestone Sep 3, 2024
@@ -612,8 +612,7 @@ LogicalResult iterativelyFuseProducerAndConsumerOfTiledOp(

/// This is a workaround to deal with LinalgXOp
static bool isTilableLinalgXOp(Operation *op) {
return isa<linalgx::BatchReduceMatmulVnniOp, linalgx::MultiBatchMatmulOp,
linalgx::Mm2DVnniOp, linalgx::Mm4DVnniOp>(op);
return linalgx::isAnyGenericPackedMatmulOp(op);
}

Copy link
Contributor

Choose a reason for hiding this comment

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

If there exist no linalgX::matmul any more. Please help to remove isTilableLinalgXOp definition and its caller.

Longsheng Du and others added 3 commits September 10, 2024 13:54
@LongshengDu LongshengDu added ready to review and removed WIP work in progress labels Sep 11, 2024
@LongshengDu LongshengDu requested a review from Yun-Fly September 11, 2024 05:06
@LongshengDu LongshengDu linked an issue Sep 11, 2024 that may be closed by this pull request
@LongshengDu LongshengDu merged commit 3c668aa into main Sep 11, 2024
6 checks passed
@LongshengDu LongshengDu deleted the longsheng/deprecate_linalgxop branch September 11, 2024 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecate all linalgx matmul ops
4 participants