Closed shkarupa-alex closed 3 weeks ago
Issue comes from TF package name (tensorflow-cpu in my case according to https://www.tensorflow.org/install/source#build_the_package)
I could't to build with any tricks. Rebuilding TF with default name resolves all build issues.
But during build it still downloads TF 2.16 and ends with
ERROR: Error computing the main repository mapping: cannot load '@org_tensorflow//third_party/py:python_init_rules.bzl': no such file
I think this may be related to MacOs Intel. The last publicy available TF version for my OS and CPU is 2.16.2
So, i built TF 2.17 from source.
But when bazel run //oss_scripts/pip_package:requirements.update
executed it (my guess) searches for dependencies in PyPi and downgrades TF version to 2.16.2
The missing file exists only in TF 2.17, but build script downloads old TF 2.16 (org_tensorflow in WORKSPACE). If i manually switch it to TF 2.17 commit, it still fails due to oss_scripts/pip_package/requirements_lock_3_11.txt contains TF 2.16 dependancy.