tensorflow/text

Build error

ramkumarkoppu opened this issue · 0 comments

As per instructions in https://github.com/sun1638650145/Libraries-and-Extensions-for-TensorFlow-for-Apple-Silicon/blob/main/tutorials/text/text.md, tried to build tensor flow-text for MacBook Pro M2 Max, and I get following error:
File "/Users/ramkumarkoppu/miniconda3/envs/tf_apple/lib/python3.10/site-packages/tensorflow/python/eager/execute.py", line 21, in
from tensorflow.python.framework import dtypes
File "/Users/ramkumarkoppu/miniconda3/envs/tf_apple/lib/python3.10/site-packages/tensorflow/python/framework/dtypes.py", line 37, in
_np_bfloat16 = _pywrap_bfloat16.TF_bfloat16_type()
TypeError: Unable to convert function return value to a Python type! The signature was
() -> handle
++ TF_ABIFLAG=