You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was following the instructions on MacOS 15.1.1 arm64, and got the following error during oss build of tensorflow-text:
ERROR: /private/var/tmp/_bazel_ben/01d7ccd2ec196c7653a6cb69b2fb917d/external/local_config_apple_cc/BUILD:61:23: in apple_cc_toolchain rule @local_config_apple_cc//:cc-compiler-darwin_arm64: Xcode version must be specified to use an Apple CROSSTOOL. If your Xcode version has changed recently, verify that "xcode-select -p" is correct and then try: "bazel shutdown" to re-run Xcode configuration
ERROR: /private/var/tmp/_bazel_ben/01d7ccd2ec196c7653a6cb69b2fb917d/external/local_config_apple_cc/BUILD:61:23: Analysis of target '@local_config_apple_cc//:cc-compiler-darwin_arm64' failed
INFO: Repository icu instantiated at:
/Users/ben/dev/text/WORKSPACE:5:13: in <toplevel>
Repository rule http_archive defined at:
/private/var/tmp/_bazel_ben/01d7ccd2ec196c7653a6cb69b2fb917d/external/bazel_tools/tools/build_defs/repo/http.bzl:372:31: in <toplevel>
INFO: Repository com_google_sentencepiece instantiated at:
/Users/ben/dev/text/WORKSPACE:18:13: in <toplevel>
Repository rule http_archive defined at:
/private/var/tmp/_bazel_ben/01d7ccd2ec196c7653a6cb69b2fb917d/external/bazel_tools/tools/build_defs/repo/http.bzl:372:31: in <toplevel>
ERROR: /Users/ben/dev/text/tensorflow_text/core/pybinds/BUILD:154:17: errors encountered resolving toolchains for //tensorflow_text/core/pybinds:pywrap_model_converter.so
ERROR: Analysis of target '//oss_scripts/pip_package:build_pip_package' failed; build aborted:
INFO: Elapsed time: 60.756s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (84 packages loaded, 791 targets configured)
Fetching repository @local_config_cc; Running xcode-locator
Fetching repository @com_google_absl; starting
Fetching https://storage.googleapis.com/mirror.tensorflow.org/github.com/unicode-org/icu/archive/release-64-2.zip; 432.0 KiB (0.9%)
Fetching https://github.com/google/sentencepiece/archive/refs/tags/v0.1.96.zip
Fetching /private/var/tmp/_bazel_ben/01d7ccd2ec196c7653a6cb69b2fb917d/external/com_google_absl; Extracting fb3621f4f897824c0dbe0615fa94543df6192f30.tar.gz
instructions followed:
# Install the arm64 version of Miniforge3 + Python 3.10.
curl -L -o miniforge.sh https://github.com/conda-forge/miniforge/releases/download/24.7.1-0/Miniforge3-24.7.1-0-MacOSX-arm64.sh
bash miniforge.sh -u
# Create a conda environment.
conda create -n axlearn python=3.10
conda activate axlearn
# Install tensorflow following https://developer.apple.com/metal/tensorflow-plugin.
conda install -c apple tensorflow-deps
# If you do NOT have bazel installed.# Note that the default ./oss_scripts/install_bazel.sh installs the x86 version.
brew install bazelisk
# Manually build tensorflow-text until a collaborator build is available.# This was tested using clang version 15 - you may get non-working wheels with earlier versions of clang.
mkdir ~/builds && git clone https://github.com/tensorflow/text.git ~/builds/text
# Install tensorflow prior to building.
pip install 'tensorflow==2.16.1'cd~/builds/text && git checkout 0f9f6df5b4da19bc7a734ba05fc4fa12bccbedbe
# Build tensorflow-text.
./oss_scripts/run_build.sh
Full logs starting from tensorflow install:
Click to expand
(axlearn) ben@olympus text % pip install 'tensorflow==2.16.1'
Collecting tensorflow==2.16.1
Downloading tensorflow-2.16.1-cp310-cp310-macosx_12_0_arm64.whl.metadata (4.1 kB)
Collecting absl-py>=1.0.0 (from tensorflow==2.16.1)
Downloading absl_py-2.1.0-py3-none-any.whl.metadata (2.3 kB)
Collecting astunparse>=1.6.0 (from tensorflow==2.16.1)
Downloading astunparse-1.6.3-py2.py3-none-any.whl.metadata (4.4 kB)
Collecting flatbuffers>=23.5.26 (from tensorflow==2.16.1)
Downloading flatbuffers-24.3.25-py2.py3-none-any.whl.metadata (850 bytes)
Collecting gast!=0.5.0,!=0.5.1,!=0.5.2,>=0.2.1 (from tensorflow==2.16.1)
Downloading gast-0.6.0-py3-none-any.whl.metadata (1.3 kB)
Collecting google-pasta>=0.1.1 (from tensorflow==2.16.1)
Downloading google_pasta-0.2.0-py3-none-any.whl.metadata (814 bytes)
Collecting h5py>=3.10.0 (from tensorflow==2.16.1)
Downloading h5py-3.12.1-cp310-cp310-macosx_11_0_arm64.whl.metadata (2.5 kB)
Collecting libclang>=13.0.0 (from tensorflow==2.16.1)
Downloading libclang-18.1.1-1-py2.py3-none-macosx_11_0_arm64.whl.metadata (5.2 kB)
Collecting ml-dtypes~=0.3.1 (from tensorflow==2.16.1)
Downloading ml_dtypes-0.3.2-cp310-cp310-macosx_10_9_universal2.whl.metadata (20 kB)
Collecting opt-einsum>=2.3.2 (from tensorflow==2.16.1)
Downloading opt_einsum-3.4.0-py3-none-any.whl.metadata (6.3 kB)
Collecting packaging (from tensorflow==2.16.1)
Downloading packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
Collecting protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.20.3 (from tensorflow==2.16.1)
Downloading protobuf-4.25.5-cp37-abi3-macosx_10_9_universal2.whl.metadata (541 bytes)
Collecting requests<3,>=2.21.0 (from tensorflow==2.16.1)
Downloading requests-2.32.3-py3-none-any.whl.metadata (4.6 kB)
Requirement already satisfied: setuptools in /Users/ben/miniforge3/envs/axlearn/lib/python3.10/site-packages (from tensorflow==2.16.1) (75.6.0)
Requirement already satisfied: six>=1.12.0 in /Users/ben/miniforge3/envs/axlearn/lib/python3.10/site-packages (from tensorflow==2.16.1) (1.17.0)
Collecting termcolor>=1.1.0 (from tensorflow==2.16.1)
Downloading termcolor-2.5.0-py3-none-any.whl.metadata (6.1 kB)
Collecting typing-extensions>=3.6.6 (from tensorflow==2.16.1)
Downloading typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
Collecting wrapt>=1.11.0 (from tensorflow==2.16.1)
Downloading wrapt-1.17.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (6.4 kB)
Requirement already satisfied: grpcio<2.0,>=1.24.3 in /Users/ben/miniforge3/envs/axlearn/lib/python3.10/site-packages (from tensorflow==2.16.1) (1.46.3)
Collecting tensorboard<2.17,>=2.16 (from tensorflow==2.16.1)
Downloading tensorboard-2.16.2-py3-none-any.whl.metadata (1.6 kB)
Collecting keras>=3.0.0 (from tensorflow==2.16.1)
Downloading keras-3.7.0-py3-none-any.whl.metadata (5.8 kB)
Collecting tensorflow-io-gcs-filesystem>=0.23.1 (from tensorflow==2.16.1)
Downloading tensorflow_io_gcs_filesystem-0.37.1-cp310-cp310-macosx_12_0_arm64.whl.metadata (14 kB)
Collecting numpy<2.0.0,>=1.23.5 (from tensorflow==2.16.1)
Downloading numpy-1.26.4-cp310-cp310-macosx_11_0_arm64.whl.metadata (61 kB)
Requirement already satisfied: wheel<1.0,>=0.23.0 in /Users/ben/miniforge3/envs/axlearn/lib/python3.10/site-packages (from astunparse>=1.6.0->tensorflow==2.16.1) (0.45.1)
Collecting rich (from keras>=3.0.0->tensorflow==2.16.1)
Downloading rich-13.9.4-py3-none-any.whl.metadata (18 kB)
Collecting namex (from keras>=3.0.0->tensorflow==2.16.1)
Downloading namex-0.0.8-py3-none-any.whl.metadata (246 bytes)
Collecting optree (from keras>=3.0.0->tensorflow==2.16.1)
Downloading optree-0.13.1-cp310-cp310-macosx_11_0_arm64.whl.metadata (47 kB)
Collecting charset-normalizer<4,>=2 (from requests<3,>=2.21.0->tensorflow==2.16.1)
Downloading charset_normalizer-3.4.0-cp310-cp310-macosx_11_0_arm64.whl.metadata (34 kB)
Collecting idna<4,>=2.5 (from requests<3,>=2.21.0->tensorflow==2.16.1)
Downloading idna-3.10-py3-none-any.whl.metadata (10 kB)
Collecting urllib3<3,>=1.21.1 (from requests<3,>=2.21.0->tensorflow==2.16.1)
Downloading urllib3-2.2.3-py3-none-any.whl.metadata (6.5 kB)
Collecting certifi>=2017.4.17 (from requests<3,>=2.21.0->tensorflow==2.16.1)
Downloading certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB)
Collecting grpcio<2.0,>=1.24.3 (from tensorflow==2.16.1)
Downloading grpcio-1.68.1-cp310-cp310-macosx_12_0_universal2.whl.metadata (3.9 kB)
Collecting markdown>=2.6.8 (from tensorboard<2.17,>=2.16->tensorflow==2.16.1)
Downloading Markdown-3.7-py3-none-any.whl.metadata (7.0 kB)
Collecting tensorboard-data-server<0.8.0,>=0.7.0 (from tensorboard<2.17,>=2.16->tensorflow==2.16.1)
Downloading tensorboard_data_server-0.7.2-py3-none-any.whl.metadata (1.1 kB)
Collecting werkzeug>=1.0.1 (from tensorboard<2.17,>=2.16->tensorflow==2.16.1)
Downloading werkzeug-3.1.3-py3-none-any.whl.metadata (3.7 kB)
Collecting MarkupSafe>=2.1.1 (from werkzeug>=1.0.1->tensorboard<2.17,>=2.16->tensorflow==2.16.1)
Downloading MarkupSafe-3.0.2-cp310-cp310-macosx_11_0_arm64.whl.metadata (4.0 kB)
Collecting markdown-it-py>=2.2.0 (from rich->keras>=3.0.0->tensorflow==2.16.1)
Downloading markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB)
Collecting pygments<3.0.0,>=2.13.0 (from rich->keras>=3.0.0->tensorflow==2.16.1)
Downloading pygments-2.18.0-py3-none-any.whl.metadata (2.5 kB)
Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich->keras>=3.0.0->tensorflow==2.16.1)
Downloading mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB)
Downloading tensorflow-2.16.1-cp310-cp310-macosx_12_0_arm64.whl (227.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 227.0/227.0 MB 23.9 MB/s eta 0:00:00
Downloading absl_py-2.1.0-py3-none-any.whl (133 kB)
Downloading astunparse-1.6.3-py2.py3-none-any.whl (12 kB)
Downloading flatbuffers-24.3.25-py2.py3-none-any.whl (26 kB)
Downloading gast-0.6.0-py3-none-any.whl (21 kB)
Downloading google_pasta-0.2.0-py3-none-any.whl (57 kB)
Downloading h5py-3.12.1-cp310-cp310-macosx_11_0_arm64.whl (2.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.9/2.9 MB 24.0 MB/s eta 0:00:00
Downloading keras-3.7.0-py3-none-any.whl (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 22.8 MB/s eta 0:00:00
Downloading libclang-18.1.1-1-py2.py3-none-macosx_11_0_arm64.whl (25.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 25.8/25.8 MB 25.8 MB/s eta 0:00:00
Downloading ml_dtypes-0.3.2-cp310-cp310-macosx_10_9_universal2.whl (389 kB)
Downloading numpy-1.26.4-cp310-cp310-macosx_11_0_arm64.whl (14.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 14.0/14.0 MB 25.7 MB/s eta 0:00:00
Downloading opt_einsum-3.4.0-py3-none-any.whl (71 kB)
Downloading protobuf-4.25.5-cp37-abi3-macosx_10_9_universal2.whl (394 kB)
Downloading requests-2.32.3-py3-none-any.whl (64 kB)
Downloading tensorboard-2.16.2-py3-none-any.whl (5.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.5/5.5 MB 24.8 MB/s eta 0:00:00
Downloading grpcio-1.68.1-cp310-cp310-macosx_12_0_universal2.whl (11.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.1/11.1 MB 25.6 MB/s eta 0:00:00
Downloading tensorflow_io_gcs_filesystem-0.37.1-cp310-cp310-macosx_12_0_arm64.whl (3.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.5/3.5 MB 24.6 MB/s eta 0:00:00
Downloading termcolor-2.5.0-py3-none-any.whl (7.8 kB)
Downloading typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Downloading wrapt-1.17.0-cp310-cp310-macosx_11_0_arm64.whl (38 kB)
Downloading packaging-24.2-py3-none-any.whl (65 kB)
Downloading certifi-2024.8.30-py3-none-any.whl (167 kB)
Downloading charset_normalizer-3.4.0-cp310-cp310-macosx_11_0_arm64.whl (120 kB)
Downloading idna-3.10-py3-none-any.whl (70 kB)
Downloading Markdown-3.7-py3-none-any.whl (106 kB)
Downloading tensorboard_data_server-0.7.2-py3-none-any.whl (2.4 kB)
Downloading urllib3-2.2.3-py3-none-any.whl (126 kB)
Downloading werkzeug-3.1.3-py3-none-any.whl (224 kB)
Downloading namex-0.0.8-py3-none-any.whl (5.8 kB)
Downloading optree-0.13.1-cp310-cp310-macosx_11_0_arm64.whl (311 kB)
Downloading rich-13.9.4-py3-none-any.whl (242 kB)
Downloading markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
Downloading MarkupSafe-3.0.2-cp310-cp310-macosx_11_0_arm64.whl (12 kB)
Downloading pygments-2.18.0-py3-none-any.whl (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 22.0 MB/s eta 0:00:00
Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Installing collected packages: namex, libclang, flatbuffers, wrapt, urllib3, typing-extensions, termcolor, tensorflow-io-gcs-filesystem, tensorboard-data-server, pygments, protobuf, packaging, opt-einsum, numpy, mdurl, MarkupSafe, markdown, idna, grpcio, google-pasta, gast, charset-normalizer, certifi, astunparse, absl-py, werkzeug, requests, optree, ml-dtypes, markdown-it-py, h5py, tensorboard, rich, keras, tensorflow
Attempting uninstall: protobuf
Found existing installation: protobuf 3.19.6
Uninstalling protobuf-3.19.6:
Successfully uninstalled protobuf-3.19.6
Attempting uninstall: numpy
Found existing installation: numpy 1.23.2
Uninstalling numpy-1.23.2:
Successfully uninstalled numpy-1.23.2
Attempting uninstall: grpcio
Found existing installation: grpcio 1.46.3
Uninstalling grpcio-1.46.3:
Successfully uninstalled grpcio-1.46.3
Attempting uninstall: h5py
Found existing installation: h5py 3.6.0
Uninstalling h5py-3.6.0:
Successfully uninstalled h5py-3.6.0
Successfully installed MarkupSafe-3.0.2 absl-py-2.1.0 astunparse-1.6.3 certifi-2024.8.30 charset-normalizer-3.4.0 flatbuffers-24.3.25 gast-0.6.0 google-pasta-0.2.0 grpcio-1.68.1 h5py-3.12.1 idna-3.10 keras-3.7.0 libclang-18.1.1 markdown-3.7 markdown-it-py-3.0.0 mdurl-0.1.2 ml-dtypes-0.3.2 namex-0.0.8 numpy-1.26.4 opt-einsum-3.4.0 optree-0.13.1 packaging-24.2 protobuf-4.25.5 pygments-2.18.0 requests-2.32.3 rich-13.9.4 tensorboard-2.16.2 tensorboard-data-server-0.7.2 tensorflow-2.16.1 tensorflow-io-gcs-filesystem-0.37.1 termcolor-2.5.0 typing-extensions-4.12.2 urllib3-2.2.3 werkzeug-3.1.3 wrapt-1.17.0
(axlearn) ben@olympus text % git checkout 0f9f6df5b4da19bc7a734ba05fc4fa12bccbedbe
Note: switching to '0f9f6df5b4da19bc7a734ba05fc4fa12bccbedbe'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 0f9f6df Merge pull request #1257 from rtg0795/2.16
(axlearn) ben@olympus text % ./oss_scripts/run_build.sh
darwin
Using installed tensorflow.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 85 100 85 0 0 504 0 --:--:-- --:--:-- --:--:-- 505
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 51203 100 51203 0 0 217k 0 --:--:-- --:--:-- --:--:-- 217k
2024/12/13 17:46:57 Downloading https://releases.bazel.build/6.5.0/release/bazel-6.5.0-darwin-arm64...
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
INFO: Reading 'startup' options from /Users/ben/dev/text/.bazelrc: --windows_enable_symlinks
INFO: Options provided by the client:
Inherited 'common' options: --isatty=1 --terminal_columns=206
INFO: Reading rc options for 'build' from /Users/ben/dev/text/.bazelrc:
Inherited 'common' options: --experimental_repo_remote_exec
INFO: Reading rc options for 'build' from /Users/ben/dev/text/.bazelrc:
'build' options: --define framework_shared_object=true --define tsl_protobuf_header_only=true --define=use_fast_cpp_protos=true --define=allow_oversize_protos=true --spawn_strategy=standalone -c opt --announce_rc --define=grpc_no_ares=true --features=-force_no_whole_archive --enable_platform_specific_config --define=with_xla_support=true --config=short_logs --config=v2 --define=no_aws_support=true --define=no_hdfs_support=true --experimental_cc_shared_library --experimental_link_static_libraries_once=false --incompatible_enforce_config_setting_visibility --action_env TF_HEADER_DIR=/Users/ben/miniforge3/envs/axlearn/lib/python3.10/site-packages/tensorflow/include --action_env TF_SHARED_LIBRARY_DIR=/Users/ben/miniforge3/envs/axlearn/lib/python3.10/site-packages/tensorflow --action_env TF_SHARED_LIBRARY_NAME=libtensorflow_framework.2.dylib --action_env TF_CXX11_ABI_FLAG=0
INFO: Found applicable config definition build:short_logs in file /Users/ben/dev/text/.bazelrc: --output_filter=DONT_MATCH_ANYTHING
INFO: Found applicable config definition build:v2 in file /Users/ben/dev/text/.bazelrc: --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1
INFO: Found applicable config definition build:macos in file /Users/ben/dev/text/.bazelrc: --apple_platform_type=macos --copt=-DGRPC_BAZEL_BUILD --features=archive_param_file --copt=-w --define=PREFIX=/usr --define=LIBDIR=$(PREFIX)/lib --define=INCLUDEDIR=$(PREFIX)/include --define=PROTOBUF_INCLUDE_PATH=$(PREFIX)/include --cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --config=no_tfrt
INFO: Found applicable config definition build:no_tfrt in file /Users/ben/dev/text/.bazelrc: --deleted_packages=tensorflow/compiler/mlir/tfrt,tensorflow/compiler/mlir/tfrt/benchmarks,tensorflow/compiler/mlir/tfrt/ir,tensorflow/compiler/mlir/tfrt/ir/mlrt,tensorflow/compiler/mlir/tfrt/jit/python_binding,tensorflow/compiler/mlir/tfrt/jit/transforms,tensorflow/compiler/mlir/tfrt/python_tests,tensorflow/compiler/mlir/tfrt/tests,tensorflow/compiler/mlir/tfrt/tests/ifrt,tensorflow/compiler/mlir/tfrt/tests/mlrt,tensorflow/compiler/mlir/tfrt/tests/ir,tensorflow/compiler/mlir/tfrt/tests/analysis,tensorflow/compiler/mlir/tfrt/tests/jit,tensorflow/compiler/mlir/tfrt/tests/lhlo_to_tfrt,tensorflow/compiler/mlir/tfrt/tests/lhlo_to_jitrt,tensorflow/compiler/mlir/tfrt/tests/tf_to_corert,tensorflow/compiler/mlir/tfrt/tests/tf_to_tfrt_data,tensorflow/compiler/mlir/tfrt/tests/saved_model,tensorflow/compiler/mlir/tfrt/transforms/lhlo_gpu_to_tfrt_gpu,tensorflow/compiler/mlir/tfrt/transforms/mlrt,tensorflow/core/runtime_fallback,tensorflow/core/runtime_fallback/conversion,tensorflow/core/runtime_fallback/kernel,tensorflow/core/runtime_fallback/opdefs,tensorflow/core/runtime_fallback/runtime,tensorflow/core/runtime_fallback/util,tensorflow/core/runtime_fallback/test,tensorflow/core/runtime_fallback/test/gpu,tensorflow/core/runtime_fallback/test/saved_model,tensorflow/core/runtime_fallback/test/testdata,tensorflow/core/tfrt/stubs,tensorflow/core/tfrt/tfrt_session,tensorflow/core/tfrt/mlrt,tensorflow/core/tfrt/mlrt/attribute,tensorflow/core/tfrt/mlrt/kernel,tensorflow/core/tfrt/mlrt/bytecode,tensorflow/core/tfrt/mlrt/interpreter,tensorflow/compiler/mlir/tfrt/translate/mlrt,tensorflow/compiler/mlir/tfrt/translate/mlrt/testdata,tensorflow/core/tfrt/gpu,tensorflow/core/tfrt/run_handler_thread_pool,tensorflow/core/tfrt/runtime,tensorflow/core/tfrt/saved_model,tensorflow/core/tfrt/graph_executor,tensorflow/core/tfrt/saved_model/tests,tensorflow/core/tfrt/tpu,tensorflow/core/tfrt/utils,tensorflow/core/tfrt/utils/debug,tensorflow/core/tfrt/saved_model/python,tensorflow/core/tfrt/graph_executor/python,tensorflow/core/tfrt/saved_model/utils
DEBUG: /private/var/tmp/_bazel_ben/01d7ccd2ec196c7653a6cb69b2fb917d/external/org_tensorflow/third_party/repo.bzl:132:14:
Warning: skipping import of repository 'icu' because it already exists.
DEBUG: /private/var/tmp/_bazel_ben/01d7ccd2ec196c7653a6cb69b2fb917d/external/org_tensorflow/third_party/repo.bzl:132:14:
Warning: skipping import of repository 'pybind11' because it already exists.
ERROR: /private/var/tmp/_bazel_ben/01d7ccd2ec196c7653a6cb69b2fb917d/external/local_config_apple_cc/BUILD:61:23: in apple_cc_toolchain rule @local_config_apple_cc//:cc-compiler-darwin_arm64: Xcode version must be specified to use an Apple CROSSTOOL. If your Xcode version has changed recently, verify that "xcode-select -p" is correct and then try: "bazel shutdown" to re-run Xcode configuration
ERROR: /private/var/tmp/_bazel_ben/01d7ccd2ec196c7653a6cb69b2fb917d/external/local_config_apple_cc/BUILD:61:23: Analysis of target '@local_config_apple_cc//:cc-compiler-darwin_arm64' failed
INFO: Repository icu instantiated at:
/Users/ben/dev/text/WORKSPACE:5:13: in <toplevel>
Repository rule http_archive defined at:
/private/var/tmp/_bazel_ben/01d7ccd2ec196c7653a6cb69b2fb917d/external/bazel_tools/tools/build_defs/repo/http.bzl:372:31: in <toplevel>
INFO: Repository com_google_sentencepiece instantiated at:
/Users/ben/dev/text/WORKSPACE:18:13: in <toplevel>
Repository rule http_archive defined at:
/private/var/tmp/_bazel_ben/01d7ccd2ec196c7653a6cb69b2fb917d/external/bazel_tools/tools/build_defs/repo/http.bzl:372:31: in <toplevel>
ERROR: /Users/ben/dev/text/tensorflow_text/core/pybinds/BUILD:154:17: errors encountered resolving toolchains for //tensorflow_text/core/pybinds:pywrap_model_converter.so
ERROR: Analysis of target '//oss_scripts/pip_package:build_pip_package' failed; build aborted:
INFO: Elapsed time: 60.756s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (84 packages loaded, 791 targets configured)
Fetching repository @local_config_cc; Running xcode-locator
Fetching repository @com_google_absl; starting
Fetching https://storage.googleapis.com/mirror.tensorflow.org/github.com/unicode-org/icu/archive/release-64-2.zip; 432.0 KiB (0.9%)
Fetching https://github.com/google/sentencepiece/archive/refs/tags/v0.1.96.zip
Fetching /private/var/tmp/_bazel_ben/01d7ccd2ec196c7653a6cb69b2fb917d/external/com_google_absl; Extracting fb3621f4f897824c0dbe0615fa94543df6192f30.tar.gz
The text was updated successfully, but these errors were encountered:
I was following the instructions on MacOS 15.1.1 arm64, and got the following error during oss build of tensorflow-text:
instructions followed:
Full logs starting from tensorflow install:
Click to expand
The text was updated successfully, but these errors were encountered: