# CUDA on WSL2 Could not open file to read NUMA

**URL:** https://forums.developer.nvidia.com/t/cuda-on-wsl2-could-not-open-file-to-read-numa/197962
**Category:** CUDA on Windows Subsystem for Linux
**Tags:** tensorflow
**Created:** [December 14, 2021, 4:27am UTC](https://forums.developer.nvidia.com/t/cuda-on-wsl2-could-not-open-file-to-read-numa/197962 "2021-12-14T04:27:59Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jfraschilla52](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@jfraschilla52](https://forums.developer.nvidia.com/u/jfraschilla52)
#### Post date: [December 14, 2021, 4:27am UTC](https://forums.developer.nvidia.com/t/cuda-on-wsl2-could-not-open-file-to-read-numa/197962/1 "2021-12-14T04:27:59Z")

</div>

I installed CUDA on WSL2 Ubuntu distribution. However, I was not sure if I also needed to install cudnn on WSL2. When I run Visual Studio Code from an Ubuntu distro in WSL2 and open a python tensorflow2 jupyter notebook and execute “device\_name = tf.test.gpu\_device\_name()” I getwhat is shown below. Why is it using OneDNN instead of CuDNN and why do I get “could not open file to read NUMA node”?

2021-12-13 20:04:21.536059: I tensorflow/core/platform/cpu\_feature\_guard.cc:151] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2 AVX512F FMA  
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.  
2021-12-13 20:04:21.571180: I tensorflow/stream\_executor/cuda/cuda\_gpu\_executor.cc:925] could not open file to read NUMA node: /sys/bus/pci/devices/0000:65:00.0/numa\_node  
Your kernel may have been built without NUMA support.  
2021-12-13 20:04:21.604827: I tensorflow/stream\_executor/cuda/cuda\_gpu\_executor.cc:925] could not open file to read NUMA node: /sys/bus/pci/devices/0000:65:00.0/numa\_node  
Your kernel may have been built without NUMA support.  
2021-12-13 20:04:21.605112: I tensorflow/stream\_executor/cuda/cuda\_gpu\_executor.cc:925] could not open file to read NUMA node: /sys/bus/pci/devices/0000:65:00.0/numa\_node  
Your kernel may have been built without NUMA support.  
2021-12-13 20:04:22.369084: I tensorflow/stream\_executor/cuda/cuda\_gpu\_executor.cc:925] could not open file to read NUMA node: /sys/bus/pci/devices/0000:65:00.0/numa\_node  
Your kernel may have been built without NUMA support.  
2021-12-13 20:04:22.369591: I tensorflow/stream\_executor/cuda/cuda\_gpu\_executor.cc:925] could not open file to read NUMA node: /sys/bus/pci/devices/0000:65:00.0/numa\_node  
Your kernel may have been built without NUMA support.  
2021-12-13 20:04:22.369609: I tensorflow/core/common\_runtime/gpu/gpu\_device.cc:1609] Could not identify NUMA node of platform GPU id 0, defaulting to 0. Your kernel may not have been built with NUMA support.  
2021-12-13 20:04:22.369964: I tensorflow/stream\_executor/cuda/cuda\_gpu\_executor.cc:925] could not open file to read NUMA node: /sys/bus/pci/devices/0000:65:00.0/numa\_node  
Your kernel may have been built without NUMA support.  
2021-12-13 20:04:22.370233: I tensorflow/core/common\_runtime/gpu/gpu\_device.cc:1525] Created device /device:GPU:0 with 21629 MB memory: → device: 0, name: NVIDIA GeForce RTX 3090, pci bus id: 0000:65:00.0, compute capability: 8.6

---

<div class="post-metadata">

### Author: ![rogangabe](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/rogangabe/32/150806_2.png) [@rogangabe](https://forums.developer.nvidia.com/u/rogangabe)
#### Post date: [March 10, 2022, 6:34pm UTC](https://forums.developer.nvidia.com/t/cuda-on-wsl2-could-not-open-file-to-read-numa/197962/2 "2022-03-10T18:34:08Z")

</div>

same issue here, any help would be appreciated

---

<div class="post-metadata">

### Author: ![hernybiotec](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@hernybiotec](https://forums.developer.nvidia.com/u/hernybiotec)
#### Post date: [April 14, 2023, 9:18am UTC](https://forums.developer.nvidia.com/t/cuda-on-wsl2-could-not-open-file-to-read-numa/197962/3 "2023-04-14T09:18:30Z")

</div>

Same issue. Any solutions?

---

<div class="post-metadata">

### Author: ![p.z](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@p.z](https://forums.developer.nvidia.com/u/p.z)
#### Post date: [April 28, 2023, 7:47pm UTC](https://forums.developer.nvidia.com/t/cuda-on-wsl2-could-not-open-file-to-read-numa/197962/4 "2023-04-28T19:47:28Z")

</div>

Still looking for a solution
