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

How to run onednn convolution test on CPU #18586

Open
akote123 opened this issue Oct 22, 2024 · 1 comment
Open

How to run onednn convolution test on CPU #18586

akote123 opened this issue Oct 22, 2024 · 1 comment
Assignees

Comments

@akote123
Copy link

I wanted to run xla/service/cpu/tests/onednn_convolution_test.cc in cpu ,what is the command I have to use to run this example and also to verify the onednn path can I use ONEDNN_VERBOSE=1?

@penpornk penpornk self-assigned this Dec 2, 2024
@penpornk
Copy link
Member

penpornk commented Dec 2, 2024

cc: @TensorFlow-MKL

Hi @akote123,

oneDNN convolutions are currently only enabled in XLA:CPU's classic runtime. You use the classic runtime by setting the environment variable XLA_FLAGS=--xla_cpu_use_thunk_runtime=0. We are working on adding support to the current runtime as well. We'll update here when it's done.

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

No branches or pull requests

2 participants