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 turn off mlir during tensorflow2.13 compilation? #2493

Open
s1mplezpc opened this issue Apr 18, 2024 · 1 comment
Open

How to turn off mlir during tensorflow2.13 compilation? #2493

s1mplezpc opened this issue Apr 18, 2024 · 1 comment

Comments

@s1mplezpc
Copy link

Issue type

Support

Have you reproduced the bug with TensorFlow Nightly?

No

Source

source

TensorFlow version

r2.13-rocm-edhanced-57

Custom code

Yes

OS platform and distribution

ubuntu 18.04

Mobile device

No response

Python version

3.9

Bazel version

No response

GCC/compiler version

No response

CUDA/cuDNN version

No response

GPU model and memory

No response

Current behavior?

I want to turn off mlir during the tensorflow compilation process

Standalone code to reproduce the issue

/tensorflow-upstream/tensorflow/core/kernels/mlir_generated/BUILD:1776:19: Generating kernel '//tensorflow/core/kernels/mlir_generated:sub_gpu_sub_kernels_gpu_i64_i64_kernel_generator' failed: (Aborted): tf_to_kernel failed: error executing command

Relevant log output

No response

@harkgill-amd
Copy link

Hi @s1mplezpc, apologies for the lack of response.

Are you still seeing MLIR related build failures with ROCm 6.2.4 and a newer branch such as r2.18-rocm-enhanced? If so, please fill out the remaining fields in the issue report so we can further investigate the build issues on our side.

There have been a couple fixes implemented since the opening of this ticket that address similar MILIR issues. It’s possible that one of these fixes has resolved the error you encountered, making it necessary to update with a rebase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants