forked from llvm/torch-mlir
-
Notifications
You must be signed in to change notification settings - Fork 1
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
chudur-budur
wants to merge
20
commits into
intel-staging:cpu-proto
Choose a base branch
from
chudur-budur:khaled/apply-onednn-group-conv
base: cpu-proto
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Experiment with oneDNN group convolution op #37
chudur-budur
wants to merge
20
commits into
intel-staging:cpu-proto
from
chudur-budur:khaled/apply-onednn-group-conv
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 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]>
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
Signed-off-by: Ilya Enkovich <[email protected]>
Signed-off-by: Ilya Enkovich <[email protected]>
This reverts commit 7b8371d.
Signed-off-by: Ilya Enkovich <[email protected]>
…ved (intel-staging#21) Signed-off-by: Gregory Shimansky <[email protected]>
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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