NUMA Error running Tensorflow on Jetson Tx2

Hey Developers,

i just build tensorflow on my jetson tx2 and ran the “Hello Tensorflow” Test and got following output.
It says something about “NUMA” and “numa_nodes” which it searches somewhere in “bus/pci/devices”. How can i change this for the tegra to work?

>>> print tf.Session().run(hello)
2017-12-13 10:00:03.781946: E tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:878] 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.
2017-12-13 10:00:03.782058: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Found device 0 with properties: 
name: NVIDIA Tegra X2 major: 6 minor: 2 memoryClockRate(GHz): 1.3005
pciBusID: 0000:00:00.0
totalMemory: 7.67GiB freeMemory: 157.59MiB
2017-12-13 10:00:03.782100: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: NVIDIA Tegra X2, pci bus id: 0000:00:00.0, compute capability: 6.2)
2017-12-13 10:00:03.782145: I tensorflow/core/common_runtime/gpu/gpu_device.cc:732] Could not identify NUMA node of /job:localhost/replica:0/task:0/device:GPU:0, defaulting to 0.  Your kernel may not have been built with NUMA support.
Hello,TensorFlow!

I rebuild and reinstalled tensorflow 1.4 according to this guide.

When i run a simple “Hello Tensorflow” Demo i get following output:

nvidia@tegra-ubuntu:~$ python
Python 2.7.12 (default, Nov 20 2017, 18:23:56) 
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
>>> hi = tf.Constant("Fuck you")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'Constant'
>>> tf.constant("Fuck you")
<tf.Tensor 'Const:0' shape=() dtype=string>
>>> hi = tf.constant("Fuck you")
>>> print tf.Session().run(hi)
2017-12-13 14:43:51.549761: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:855] ARM has no NUMA node, hardcoding to return zero
2017-12-13 14:43:51.549879: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Found device 0 with properties: 
name: NVIDIA Tegra X2 major: 6 minor: 2 memoryClockRate(GHz): 1.3005
pciBusID: 0000:00:00.0
totalMemory: 7.67GiB freeMemory: 3.77GiB
2017-12-13 14:43:51.549931: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: NVIDIA Tegra X2, pci bus id: 0000:00:00.0, compute capability: 6.2)

does this mean everything is fine?

Because when i try to run googles object detection API it gets stuck after this line

2017-12-13 14:43:51.549931: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: NVIDIA Tegra X2, pci bus id: 0000:00:00.0, compute capability: 6.2)

Don’t swear on the forum.

The NUMA information is a non-harmful warning.
Tensorflow can run correctly with the warning.

Please remember to remove the inappropriate word in comment #2.
Thanks.

after running
self.gpu_options = tf.GPUOptions(per_process_gpu_memory_fraction=gpu_memory_fraction)

the console print -> does not support NUMA - returning NUMA node zero
e: NVIDIA Tegra X2 major: 6 minor: 2 memoryClockRate(GHz): 1.02
2019-09-30 19:29:57.556148: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudnn.so.7
2019-09-30 19:29:57.556624: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:972] ARM64 does not support NUMA - returning NUMA node zero
2019-09-30 19:29:57.556947: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:972] ARM64 does not support NUMA - returning NUMA node zero
2019-09-30 19:29:57.557038: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1763] Adding visible gpu devices: 0
2019-09-30 19:29:57.557302: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudart.so.10.0
2019-09-30 19:29:59.313177: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1181] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-09-30 19:29:59.313285: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1187] 0
2019-09-30 19:29:59.313324: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1200] 0: N
2019-09-30 19:29:59.314187: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:972] ARM64 does not support NUMA - returning NUMA node zero
2019-09-30 19:29:59.314843: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:972] ARM64 does not support NUMA - returning NUMA node zero

so the ARM has no NUMA node just a warning, does my code run still pass and ok?

Hi,

YES. It should be a harmless warning.
Thanks.