Open yingding opened 1 year ago
I have the same problem using same tf, tf-io and tf-metal versions as @yingding MacOS: 13.4 Proc: M2 Pro
same issue. can not use Tensorflow.io on Mac M1
I have the same issue. Same tf and tfio versions and M1 system.
same issue on mbp with m1 pro using python 3.9, tfio 0.34.0, and tf 2.13.0
Same issue for me.
same issue on m3 with tf 2.15.0 and tfio 0.36.0 any workaround ?
same issue on m3 with tf 2.15.0 and tfio 0.36.0 any workaround ?
I have similar issues with the same versions and also with tfio 0.34.0. I use Mac M1. I would be happy about a quick workaround.
Error AttributeError: module '77ab628d7ad4acaa62f6bde524b9d631895821c9' has no attribute 'io_audio_resample'
Same here with tfio 0.34.0, Tensorflow 2.13 and tensorflow-metal 1.0.0
Folks at Google also use MacBooks for dev... I'm wondering how come they don't have this problem?
i have this issue too usign tfio.audio.resample with m1Max as im reading this i got that this issue just happend on apple silicon that means this library works on regular windows systems??
I got the same error on the Apple M3 chip when using the audio module. It looks like the culprit is libtensorflow_io.so
that is missing some functions. My environment:
python 3.10.14
tensorflow 2.15.0
tensorflow-io 0.36.0
The core_ops
tries to access the io_audio_resample
function, which is backed by the libtensorflow_io.so
. Here is the initialization code in tensorflow io package: core_ops = LazyLoader("core_ops", "libtensorflow_io.so")
. The core_ops
did not load as many functions as the one from the Apple Intel chip. I compared the two runtimes side by side.
File "[.../venv/lib/python3.10/site-packages/tensorflow_io/python/ops/audio_ops.py", line 465] in f
return core_ops.io_audio_resample(
File "[.../venv/lib/python3.10/site-packages/tensorflow_io/python/ops/__init__.py", line 88] in __getattr__
return getattr(self._load(), attrb)
AttributeError: module '77ab628d7ad4acaa62f6bde524b9d631895821c9' has no attribute 'io_audio_resample'
same here with Tensorflow 2.16.1, Tensorflow-io 0.37.0 on Apple M1
Me as well - doesn't work on M1 Max MBP 16" here.
Is there still no fix on this even till now? Or has anybody found a fix/workaround, please?
Same here MacBook Air M2
I got an error
no attribute io_audio_readable_init
on M1 Max MBP with Python 3.10.Run the tfio example code:
Then got the error
no attribute 'io_audio_readable_init'
forAudioIOTensor
:The root cause might be the same, which also is causing https://github.com/tensorflow/io/issues/1855