Post

Replies

Boosts

Views

Activity

Install Tensorflow on Mac m1
Since most developers use Mac m1 and all ML developers use TensorFlow why does TensorFlow now work on Mac M1 never? The so-called latest instructions from Apple don't work on Mac OS Ventura 13.2.1 M1 https://developer.apple.com/metal/tensorflow-plugin/ Get this error: RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf ImportError: numpy.core._multiarray_umath failed to import ImportError: numpy.core.umath failed to import Traceback (most recent call last): File "/Users/thomasmann/Downloads/junk.py", line 1, in import tensorflow as tf File "/Users/thomasmann/miniconda3/lib/python3.10/site-packages/tensorflow/init.py", line 37, in from tensorflow.python.tools import module_util as _module_util File "/Users/thomasmann/miniconda3/lib/python3.10/site-packages/tensorflow/python/init.py", line 42, in from tensorflow.python import data File "/Users/thomasmann/miniconda3/lib/python3.10/site-packages/tensorflow/python/data/init.py", line 21, in from tensorflow.python.data import experimental File "/Users/thomasmann/miniconda3/lib/python3.10/site-packages/tensorflow/python/data/experimental/init.py", line 96, in from tensorflow.python.data.experimental import service File "/Users/thomasmann/miniconda3/lib/python3.10/site-packages/tensorflow/python/data/experimental/service/init.py", line 419, in from tensorflow.python.data.experimental.ops.data_service_ops import distribute File "/Users/thomasmann/miniconda3/lib/python3.10/site-packages/tensorflow/python/data/experimental/ops/data_service_ops.py", line 22, in from tensorflow.python.data.experimental.ops import compression_ops File "/Users/thomasmann/miniconda3/lib/python3.10/site-packages/tensorflow/python/data/experimental/ops/compression_ops.py", line 16, in from tensorflow.python.data.util import structure File "/Users/thomasmann/miniconda3/lib/python3.10/site-packages/tensorflow/python/data/util/structure.py", line 22, in from tensorflow.python.data.util import nest File "/Users/thomasmann/miniconda3/lib/python3.10/site-packages/tensorflow/python/data/util/nest.py", line 34, in from tensorflow.python.framework import sparse_tensor as _sparse_tensor File "/Users/thomasmann/miniconda3/lib/python3.10/site-packages/tensorflow/python/framework/sparse_tensor.py", line 24, in from tensorflow.python.framework import constant_op File "/Users/thomasmann/miniconda3/lib/python3.10/site-packages/tensorflow/python/framework/constant_op.py", line 25, in from tensorflow.python.eager import execute File "/Users/thomasmann/miniconda3/lib/python3.10/site-packages/tensorflow/python/eager/execute.py", line 21, in from tensorflow.python.framework import dtypes File "/Users/thomasmann/miniconda3/lib/python3.10/site-packages/tensorflow/python/framework/dtypes.py", line 34, in _np_bfloat16 = _pywrap_bfloat16.TF_bfloat16_type() TypeError: Unable to convert function return value to a Python type! The signature was () -> handle
3
1
3.0k
Mar ’23