m1-machine-learning-test icon indicating copy to clipboard operation
m1-machine-learning-test copied to clipboard

Trouble while running Tensorflow after installing TensorFlow-metal

Open mikkel-larsen opened this issue 3 years ago • 2 comments

I followed the instructions, but afterwards I get the errorcode

Could not identify NUMA node of platform GPU ID 0, defaulting to 0. Your kernel may not have been built with NUMA support.

every time I run something with Tensorflow. The program runs as otherwise expected, and the programs does not stop but continues to run, only very slow (far slower than using CPU).

Besides that errorcode I also get

Plugin optimizer for device_type GPU is enabled.

every time.

I am using a regular M1, and have followed the instructions, and also tested the "list physical devices" which works just fine.

TensorFlow 2.7

mikkel-larsen avatar Mar 17 '22 09:03 mikkel-larsen

Im having the same issue when compiling a model on my M2pro. I tensorflow[/core/common_runtime/pluggable_device/pluggable_device_factory.cc:306](https://file+.vscode-resource.vscode-cdn.net/core/common_runtime/pluggable_device/pluggable_device_factory.cc:306)] Could not identify NUMA node of platform GPU ID 0, defaulting to 0. Your kernel may not have been built with NUMA support.

AnshuGusain avatar Feb 22 '23 04:02 AnshuGusain

I had the same error as well. But I fixed it through this Apple Developer post. Dropping back to versions: tensorflow-macos==2.9 and tensorflow-metal==0.5.0 fixed the issue for me.

https://developer.apple.com/forums/thread/721619

michael-learns avatar Feb 26 '23 07:02 michael-learns