Build error
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python, tensorflow
- Domain
- build-system, machine-learning
Research direction
Start with tutorials/text/text.md and reproduce the TensorFlow Text build on the reported MacBook Pro M2 Max environment. Read the traceback beginning in tensorflow/python/eager/execute.py and continuing through tensorflow/python/framework/dtypes.py. Done means the documented build completes without the reported TF_bfloat16 conversion error.
Written by the indexing model from the issue text.
Description
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=
- Dominant language
- C++
- Stars
- 1.3k
- Forks
- 379
- Avg merge
- 3h 30m
- Merged PRs (30d)
- 8
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from tensorflow/text
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
tensorflow/text#1498 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
tensorflow/text#1497 ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
tensorflow/text#1448 · 3 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
tensorflow/text#1421 · 2 comments · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
tensorflow/text#1393 · 1 reaction ·
Similar issues
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 88/100
QuantStack/git2cpp#187 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100