I am working on a Kaggle notebook where I am trying to import TensorFlow/Keras to build a simple neural network for tabular data.
However, even with Accelerator = None (CPU only), TensorFlow fails during import with multiple CUDA-related warnings and then crashes with a protobuf error.
Here is the minimal reproducible code:
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Input, Dense
model = Sequential([
Input(shape=(7,)),
Dense(7, activation='relu'),
Dense(7, activation='relu'),
Dense(1, activation='linear')
])
Unable to register cuFFT factory
Unable to register cuDNN factory
Unable to register cuBLAS factory
failed call to cuInit: UNKNOWN ERROR (303)
AttributeError: 'MessageFactory' object has no attribute 'GetPrototype'
enter image description here here is the image of error