Skip to content

Bazel 8.0 and TFLite Dependencies #7630

Open
@felix-johnny

Description

I am building TfLite benchmark app using the following command

OS: MacOS 14.7
Path: tensorflow base directory
Command:
bazel build -c opt tensorflow/lite/tools/benchmark:benchmark_model --override_repository=XNNPACK=/absolute/path/xnnpack --override_repository=KleidiAI=/absolute/path/kleidiai --define=xnn_enable_arm_i8mm=false --define=xnn_enable_arm_sme=true --define=xnn_enable_arm_sme2=true --define=xnn_enable_kleidiai=true

With the integraiton of fde3571, I am no longer able to override XNNPack and I understand that it is a conflict between XNNPack's Bazel 8.0 which disables WORKSPACE and TensorFlow still requires version 6.5 (tensorflow/.bazelversion)

What is the reccomended way now to override XNNPack when building from TensorFlow?

Activity

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions