Can't initialize NVML error with RVC project

username: linuxtroubleshooting
cooked: <p>I’m trying to run this project on my local machine: <a href="https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/" class="inline-onebox" rel="noopener nofollow ugc">GitHub - RVC-Project/Retrieval-based-Voice-Conversion-WebUI: Voice data &lt;= 10 mins can also be used to train a good VC model!</a></p>
<p>I followed all the instructions on the read me of the project and when I try to run the project, I’m getting this error:</p>
<blockquote>
<p>/home/<em>/.local/lib/python3.10/site-packages/torch/cuda/<strong>init</strong>.py:611: UserWarning: Can’t initialize NVML<br>
warnings.warn(“Can’t initialize NVML”)<br>
/home/</em>/.local/lib/python3.10/site-packages/torch/cuda/<strong>init</strong>.py:740: UserWarning: CUDA initialization: The NVIDIA driver on your system is too old (found version 11070). Please update your GPU driver by downloading and installing a new version from the URL:  Alternatively, go to: to install a PyTorch version that has been compiled with your version of the CUDA driver. (Triggered internally at …/c10/cuda/CUDAFunctions.cpp:108.)<br>
return torch._C._cuda_getDeviceCount() if nvml_count &lt; 0 else nvml_count<br>
2023-12-23 16:12:24.342762: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.<br>
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.<br>
2023-12-23 16:12:26 | INFO | configs.config | No supported Nvidia GPU found<br>
overwrite preprocess and configs.json<br>
2023-12-23 16:12:26 | INFO | configs.config | Use cpu instead<br>
is_half:False, device:cpu<br>
/home/*/.local/lib/python3.10/site-packages/matplotlib/projections/<strong>init</strong>.py:63: UserWarning: Unable to import Axes3D. This may be due to multiple versions of Matplotlib being installed (e.g. as a system package and as a pip package). As a result, the 3D projection is not available.<br>
warnings.warn("Unable to import Axes3D. This may be due to multiple versions of "<br>
2023-12-23 16:12:27 | INFO | <strong>main</strong> | Use Language: en_US<br>
Running on local URL:  <a href="http://0.0.0.0:7865" rel="noopener nofollow ugc">http://0.0.0.0:7865</a></p>
</blockquote>
<p>The read me section of the project asks me to run this: “pip install torch torchvision torchaudio --index-url 5.4.2”</p>
<p>But this link on pytorch is invalid.</p>
<p>I tried running the latest pytorch ROCm link and I get this error:</p>
<blockquote>
<p>DEPRECATION: omegaconf 2.0.6 has a non-standard dependency specifier PyYAML&gt;=5.1.*. pip 24.0 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of omegaconf or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at github/pypa/pip/issues/12063</p>
</blockquote>
<p>I doubt the can’t initialize NVML error is due to this.</p>
<p>This is my system:<br>
OS: Ubuntu 22.06<br>
CPU: Ryzen 3 3200G<br>
RAM: 16GB<br>
GPU: Radeon RX 6500 XT</p>
<p>How can I resolve this?</p>

username: ptrblck
cooked: <p>NVML is the NVIDIA Management Library and is used on NVIDIA GPUs. You might have installed the PyTorch binaries with CUDA support by mistake and might want to install the ones with rocm for AMD GPUs.</p>

username: linuxtroubleshooting
cooked: <p>Thanks for this insight.</p>
<p>But running this Pytorch ROCm installation command is giving me errors</p>
<blockquote>
<p>pip3 install --pre torch torchvision torchaudio --index-url <a href="https://download.pytorch.org/whl/nightly/rocm5.7" rel="noopener nofollow ugc">https://download.pytorch.org/whl/nightly/rocm5.7</a></p>
</blockquote>
<p>This error: DEPRECATION: omegaconf 2.0.6 has a non-standard dependency specifier PyYAML&gt;=5.1.*. pip 24.0 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of omegaconf or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at github/pypa/pip/issues/12063</p>
<p>Should I uninstall the NVIDIA one?</p>