Skip to content

TensorFlow on Windows logs an error when using GPUs: "Could not identify NUMA node" #5986

Closed

Description

@nobsu

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.

Activity

  1. mrry commented on Nov 30, 2016

    @mrry
    Contributor

    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.

  2. mrry commented on Nov 30, 2016

    @mrry
    Contributor

    @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?

  3. 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
  4. added
    stat:awaiting tensorflower
    on Nov 30, 2016
  5. poxvoculi commented on Nov 30, 2016

    @poxvoculi
    Contributor

    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.

  6. removed
    stat:awaiting tensorflower
    on Nov 30, 2016
  7. mrry commented on Nov 30, 2016

    @mrry
    Contributor

    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?

  8. poxvoculi commented on Nov 30, 2016

    @poxvoculi
    Contributor

    That should probably be a LOG(INFO), not an error.

  9. added 7 commits that reference this issue on Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions