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
As a temporary fix you can use Keras2 backend. Since TF2.16 defaults to Keras3 backend it uses Keras3 by default with tf.keras. You can switch to Keras2 backend by installing tf_keras package and setting os.environ['TF_USE_LEGACY_KERAS'] = '1'. Meanwhile team will look into the issue with Keras3 vs Mac compatibility.
As a temporary fix you can use Keras2 backend. Since TF2.16 defaults to Keras3 backend it uses Keras3 by default with tf.keras. You can switch to Keras2 backend by installing tf_keras package and setting os.environ['TF_USE_LEGACY_KERAS'] = '1'. Meanwhile team will look into the issue with Keras3 vs Mac compatibility.
Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
No
Source
binary
TensorFlow version
v2.16.1-0-g5bc9d26649c 2.16.1
Custom code
Yes
OS platform and distribution
Mac OS 14.3.1 Apple M3 Pro
Mobile device
No response
Python version
3.11
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
I can not get the basic example showing use of GPU to work on MacOS w/ TF 2.16.1.
However, It performs as expected in TF2.15.0
Standalone code to reproduce the issue
I have prepared 2 notebooks to show the behavior clearly, each using their own virtual environments.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: