Skip to content

How to build tensorflow-compression package for aarch64? #171

Open
@ganeshShindeQ

Description

@ganeshShindeQ

Discussed in #168

Originally posted by ganeshShindeQ December 21, 2022
I tried to follow steps
I am using t2a machine with debian and used following steps to build tensorflow_compression

  1. git clone https://github.com/tensorflow/compression.git /tensorflow_compression &&
  2. cd /tensorflow_compression &&
  3. python -m pip install -U pip setuptools wheel &&
  4. python -m pip install -r requirements.txt &&
  5. bazel build -c opt --copt=-mavx :build_pip_pkg

Got the following error

Error: dd48f66785b37a83b2ce2c612bd47a6/external/bazel_tools/platforms/BUILD:84:6: in alias rule @bazel_tools//platforms:linux: Constraints from @bazel_tools//platforms have been removed. Please use constraints from @platforms repository embedded in Bazel, or preferably declare dependency on https://github.com/bazelbuild/platforms. See bazelbuild/bazel#8622 for details

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