You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TensorFlow on Windows logs an error when using GPUs: "Could not identify NUMA node" #5986
I use one GPU card now, tensorflow(0.12) reports follow error, but the process run correctly. How to suport if we use multi-gpu on windows ?
E c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core\common_runtime\gpu\gpu_device.cc:586] Could not identify NUMA node of /job:localhost/replica:0/task:0/gpu:0, defaulting to 0. Your kernel may not have been built with NUMA support.
This error should be a warning. Multiple GPUs work today on Windows, and they should work with a NUMA setup (although we haven't tested this). However, the stream executor code will not take advantage of NUMA topology if it is available.
@poxvoculi I think you know most about the more complex bus topologies we use. What are we missing if we don't have GPU-to-NUMA-node mapping information in stream executor?
changed the title [-][windows] when can tensorflow support multiple GPUs and NUMA [/-][+]TensorFlow on Windows logs an error when using GPUs: "Could not identify NUMA node"[/+]on Nov 30, 2016
The code and comments in gpu_device.cc clarify what's going on. We use the StreamExecutor interface to get NUMA affinity for a GPU, then use that to set a (PCI) bus identifier for the GPU. In the generic open-source version of TensorFlow, the bus id is of no consequence because there are no adaptations for multi-bus architectures. It would be possible to utilize this feature to customize TF for higher performance in some kinds of multi-bus architecture.
Should we remove this log statement from tensorflow/stream_executor then? Or should we even remove the code for querying the NUMA affinity, since the bus ID is never used?
Activity
mrry commentedon Nov 30, 2016
This error should be a warning. Multiple GPUs work today on Windows, and they should work with a NUMA setup (although we haven't tested this). However, the stream executor code will not take advantage of NUMA topology if it is available.
mrry commentedon Nov 30, 2016
@poxvoculi I think you know most about the more complex bus topologies we use. What are we missing if we don't have GPU-to-NUMA-node mapping information in stream executor?
[-][windows] when can tensorflow support multiple GPUs and NUMA [/-][+]TensorFlow on Windows logs an error when using GPUs: "Could not identify NUMA node"[/+]poxvoculi commentedon Nov 30, 2016
The code and comments in gpu_device.cc clarify what's going on. We use the StreamExecutor interface to get NUMA affinity for a GPU, then use that to set a (PCI) bus identifier for the GPU. In the generic open-source version of TensorFlow, the bus id is of no consequence because there are no adaptations for multi-bus architectures. It would be possible to utilize this feature to customize TF for higher performance in some kinds of multi-bus architecture.
mrry commentedon Nov 30, 2016
Should we remove this log statement from
tensorflow/stream_executorthen? Or should we even remove the code for querying the NUMA affinity, since the bus ID is never used?poxvoculi commentedon Nov 30, 2016
That should probably be a LOG(INFO), not an error.
[Windows] Don't try to read numa node from SysFS
[Windows] Don't try to read numa node from SysFS (#5991)
PR #46314: [XLA] Fix asymmetric copy elision in conditional branches
PR #46314: [XLA] Fix asymmetric copy elision in conditional branches
PR #46314: [XLA] Fix asymmetric copy elision in conditional branches
PR #46314: [XLA] Fix asymmetric copy elision in conditional branches
PR #46314: [XLA] Fix asymmetric copy elision in conditional branches
PR #46314: [XLA] Fix asymmetric copy elision in conditional branches
PR #46314: [XLA] Fix asymmetric copy elision in conditional branches