By default, all processors available for a process are aggregated in a cpu:0 device.
In response to mrry , it shows how to create logical devices like /cpu:1 , /cpu:2
It seems that there is no functionality for connecting logical devices to specific physical kernels or the possibility of using NUMA nodes in a tensor stream.
A possible job is to use distributed TensorFlow with multiple processes on the same machine and use Linux taskset to bind specific processes to specific kernels.
source share