#How to run tensorflow codes all on GPU (Mac M1)
1 messages · Page 1 of 1 (latest)
I also get this warring:
tensorflow/tsl/platform/profile_utils/cpu_utils.cc:128] Failed to get CPU frequency: 0 Hz
you can find the file giving you the warning here https://github.com/google/tsl/blob/main/tsl/platform/profile_utils/cpu_utils.cc, according to the most recent commit https://github.com/google/tsl/commit/ffae26b3daa33640e7974bd00e99b43296b22131, it may just be an issue of using M1. It may go away if you install the latest TF version.
make sure you also have tensorflow-metal installed
@tepid crown have you found a solution that you can share?
yes so I tried reinstalling it again like this instructions https://github.com/jeffheaton/t81_558_deep_learning/blob/master/install/tensorflow-install-mac-metal-jan-2023.ipynb