Skip to content

Support for macos_arm64 #604

@simonmaurer

Description

@simonmaurer

tried to run lce_benchmark_model on an Apple Mac mini with M1.
turns out that this is not possible directly although the platform aarch64 is generally the same.

next step was trying to build it manually but it did not work since more adaptations for the bazel build system are needed (I assume it would need a different toolchain).

could you give me a hint on how to implement this properly such that we could do:

bazel build --config=macos_arm64 //larq_compute_engine/tflite/benchmark:lce_benchmark_model

or for the whole pip package of larq_compute_engine

bazel build --config=macos_arm64 :build_pip_pkg

since commit bab0d14036efd0adcd4e48303d045cee3c342cb0 it is possible
to build TF2.4 for Apple silicon as explained here.
I checked the subrepo of TF within larq_compute_engine, which currently is at commit 85c8b2a817f95a3e979ecd1ed95bff1dc1335cff so this is not yet included

Metadata

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