Problem running tensorflow v51 tensorflow==2.11.0+nv23.01

Hi, I run a code, then I get to the next section and it just runs the code for me on the CPU, how do you handle it?
Also I installed Index of /compute/redist/jp/v51 tensorflow==2.11.0+nv23.01
in a virtual environment with jupyter notebook

with tf.device(“/GPU:0”):
model = Sequential()

 # CONVOLUTIONARY LAYER
 model.add(Conv2D(filters=32, kernel_size=(4,4),input_shape=(28, 28, 1), activation='relu',))
 # POOLING LAYER
 model.add(MaxPool2D(pool_size=(2, 2)))

 # FLATTEN IMAGES FROM 28 by 28 to 764 BEFORE FINAL LAYER
 model.add(Flatten())

 # 128 NEURONS IN DENSE HIDDEN LAYER (YOU CAN CHANGE THIS NUMBER OF NEURONS)
 model.add(Dense(128, activation='relu'))

 # LAST LAYER IS THE CLASSIFIER, THUS 10 POSSIBLE CLASSES
 model.add(Dense(10, activation='softmax'))

 # https://keras.io/metrics/
 model.compile(loss='categorical_crossentropy',
               optimizer='adam',
               metrics=['accuracy']) # we can add in additional metrics https://keras.io/metrics/

2023-04-11 08:47:14.896328: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:984] could not open file to read NUMA node: /sys/bus/pci/devices/0000:00:00.0/numa_node
Your kernel may have been built without NUMA support.
2023-04-11 08:47:15.052247: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:984] could not open file to read NUMA node: /sys/bus/pci/devices/0000:00:00.0/numa_node
Your kernel may have been built without NUMA support.
2023-04-11 08:47:15.052754: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:984] could not open file to read NUMA node: /sys/bus/pci/devices/0000:00:00.0/numa_node
Your kernel may have been built without NUMA support.
2023-04-11 08:47:15.057740: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:984] could not open file to read NUMA node: /sys/bus/pci/devices/0000:00:00.0/numa_node
Your kernel may have been built without NUMA support.
2023-04-11 08:47:15.058241: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:984] could not open file to read NUMA node: /sys/bus/pci/devices/0000:00:00.0/numa_node
Your kernel may have been built without NUMA support.
2023-04-11 08:47:15.058632: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:984] could not open file to read NUMA node: /sys/bus/pci/devices/0000:00:00.0/numa_node
Your kernel may have been built without NUMA support.
2023-04-11 08:47:17.844735: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:984] could not open file to read NUMA node: /sys/bus/pci/devices/0000:00:00.0/numa_node
Your kernel may have been built without NUMA support.
2023-04-11 08:47:17.845461: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:984] could not open file to read NUMA node: /sys/bus/pci/devices/0000:00:00.0/numa_node
Your kernel may have been built without NUMA support.
2023-04-11 08:47:17.845639: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Could not identify NUMA node of platform GPU id 0, defaulting to 0. Your kernel may not have been built with NUMA support.
2023-04-11 08:47:17.845954: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:984] could not open file to read NUMA node: /sys/bus/pci/devices/0000:00:00.0/numa_node
Your kernel may have been built without NUMA support.
2023-04-11 08:47:17.846192: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1616] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 2393 MB memory: → device: 0, name: Xavier, pci bus id: 0000:00:00.0, compute capability: 7.2

Hi,

Is this a duplicate of topic 249486?

Thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.