Failed to initialize NVML: Driver/library version mismatch NVML library version: 535.183

The error message "Failed to initialize NVML: Driver/library version mismatch" typically indicates that the Nvidia driver and the NVML library version are not compatible [1] [2] [3]. The NVML library version you mentioned is 535.183.

To resolve this issue, you can try one of the following steps:

  1. Remove the current Nvidia driver and reinstall the correct version using the package manager or the official installer [1] [6].
  2. Ensure that the Nvidia driver and the NVML library are of the same version. If not, you may need to update or downgrade the library to match the driver version [4].
  3. Manually unload the old kernel driver before building the new one [7].
  4. Reboot the system to ensure that the drivers are properly loaded [8].

If you are still experiencing issues after trying these steps, please provide more context on your system configuration, such as the Nvidia driver version, the operating system, and the application you are trying to run [5].

References

Any other questions?