compression icon indicating copy to clipboard operation
compression copied to clipboard

How to build tensorflow-compression package for aarch64?

Open ganeshShindeQ opened this issue 2 years ago • 0 comments

Discussed in https://github.com/tensorflow/compression/discussions/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 https://github.com/bazelbuild/bazel/issues/8622 for details

ganeshShindeQ avatar Jan 17 '23 07:01 ganeshShindeQ