Comments (4)
Hi @msusol ,
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.
from tensorflow.
You will have to install tensorflow-metal
to add support for GPU on Apple silicons. More info
from tensorflow.
I did. Please look at the notebooks where I show exactly what was installed.
https://github.com/msusol/jupyter-notebook-on-macos/blob/main/notebooks/TensorFlow216.ipynb
from tensorflow.
Hi @msusol ,
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 settingos.environ['TF_USE_LEGACY_KERAS'] = '1'
. Meanwhile team will look into the issue with Keras3 vs Mac compatibility.
Verified that this change does restore GPU access to the kernel:
msusol/jupyter-notebook-on-macos@7688a9f
Waiting for the resolution to remove the legacy flag.
from tensorflow.
Related Issues (20)
- __dict__ error when saving a model using tf.saved_model.save(model, modelSavedPath)
- softplus on zero values is incorrect HOT 3
- We integrate tensorflow movenet with our webapp, and it stopped working (it worked two weeks ago) with the following error message, what can be the possible reasons and how to fix it? HOT 2
- Tensorflow TF ops - CPU Factory not registered HOT 8
- Complex dtype input for keras layer in tf2.16+ HOT 1
- [Android x86_64] [TFLite] `Fatal signal 11 (SIGSEGV), code 128 (SI_KERNEL), fault addr 0x0` crash from `libtensorflowlite.so` HOT 1
- [DOCS] Missing complex input for Round op HOT 1
- Ensemble provides either correct or (the same) incorrect inference results HOT 2
- tf.keras.utils.plot_model doesn't work HOT 1
- tf.raw_ops.Unbatch aborts with "Check failed: d < dims()" HOT 6
- Incorrect documentation of the hard_sigmoid activation function (TensorFlow 2.16.1) HOT 4
- CategoryEncoding layer with output_mode count as part of a model no longer working in TensorFlow 2.16.1 HOT 1
- TimeDistributed layer with nested model no longer working in TensorFlow 2.16.1
- Loading of a model with a Bidirectional LSTM layer no longer working in TensorFlow 2.16.1
- Documentation for RaggedTensors does not match Input layer documentation HOT 2
- Tensorflow doesn't work on my data HOT 2
- Segmentation fault when using tflite_model_maker searcher.TextDataLoader.create(EmbeddingModel, l2_normalize=True)
- ValueError: Only instances of `keras.Layer` can be added to a Sequential model. " Keras version - 3.5.0" HOT 2
- model.summary() broken for custom models subclassed from tf.keras.Model HOT 2
- opal_wrapper-wrapper-data.txt not found HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tensorflow.