You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just update my M1 to OS Monterey, and my tensorflow was spoiled (problems with memory allocation and malloc)
Then I reintall tensorflow metal and then it only train on GPU.
In my experiments I got better results if train on small batches and therefore it was a lot faster for me to train in mode 'any' ( I think it uses CPU and Neural Engine)
This was the code I used:
from tensorflow.python.compiler.mlcompute import mlcompute mlcompute.set_mlc_device(device_name='any')
Now with tf-metal how can be possible to train on CPU or/and Neural Engine?
Thanks in advance
The text was updated successfully, but these errors were encountered:
Hi all,
I just update my M1 to OS Monterey, and my tensorflow was spoiled (problems with memory allocation and malloc)
Then I reintall tensorflow metal and then it only train on GPU.
In my experiments I got better results if train on small batches and therefore it was a lot faster for me to train in mode 'any' ( I think it uses CPU and Neural Engine)
This was the code I used:
from tensorflow.python.compiler.mlcompute import mlcompute
mlcompute.set_mlc_device(device_name='any')
Now with tf-metal how can be possible to train on CPU or/and Neural Engine?
Thanks in advance
The text was updated successfully, but these errors were encountered: