Skip to content
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

Experiment with oneDNN group convolution op #37

Draft
wants to merge 20 commits into
base: cpu-proto
Choose a base branch
from

Conversation

chudur-budur
Copy link

This will address the issue #35

How to run:

`python -m e2e_testing.main -c "cpuproto" -f "MLP_basic" -v -s --enable-timer --use-kernels

This is a WIP

kurapov-peter and others added 20 commits November 10, 2023 15:14
* Add conda env yaml

* Add mlp example

* Add dumps to mlp example (enabled by default)
Signed-off-by: Ilya Enkovich <[email protected]>
Co-authored-by: Laurent Montigny <[email protected]>
…nels. (intel-staging#4)

* Add lowering pass and backend to experiment with matmul kernels.

Signed-off-by: Ilya Enkovich <[email protected]>

* Use MKL for matmul kernels.

Signed-off-by: Ilya Enkovich <[email protected]>

---------

Signed-off-by: Ilya Enkovich <[email protected]>
This commit introduces FuseLinalgOpsPass that merges Transpose in any
matmul argument for Linalg dialect. The conversion from torch to
linalg has also been changed and `aten::mm` is converted to `linalg::matmul`
instead of `linalg::generic`.

Signed-off-by: Dmitrii Makarenko <[email protected]>
This commit fixes issue, when one of matmul inputs is arg of function.
It's passed as nullptr and can't be dyn_casted.

Signed-off-by: Dmitrii Makarenko <[email protected]>
* Add debug timer logs collection script

* Add dumps for MLP overhead experiment

* Add python gpu proto-backend

* Add gpu-proto to the list of available backends in e2e

* Add mlir-extensions as external submodule

* Update MLIR for IMEX integration

* Update mlir-extensions

* Register IMEX dialects and passes

* Add build script for gpu path

* Revert "Update MLIR for IMEX integration"

This reverts commit 84442a4.

* Revert "Update mlir-extensions"

This reverts commit eedfb05.

* Fix build script

* Remove llvm from deps & add level zero for the runtime lib

* Add missing imex patches

* Add level zero library search

* Load gpu runtime via e2e main

* Make build-with-imex.sh re-runnable

* Cleanup
This commits adds OneDNN to build and conversion from
linalg::Conv2DNchwFchwOp to convolution_forward::primitive_desc.

Signed-off-by: Dmitrii Makarenko <[email protected]>
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.

5 participants