Giter Club home page Giter Club logo

Comments (2)

Cldfire avatar Cldfire commented on May 26, 2024 1

I've never tried this with the studio driver personally, so I'm not sure what would be going on there.

If you're hitting FailedToLoadSymbol("GetProcAddress failed") when trying to initialize, that's likely coming from our attempt to call nvmlInit_v2 in Nvml::init_internal:

let sym = nvml_sym(lib.nvmlInit_v2.as_ref())?;

If you can confirm that's the source of the error, it's unlikely newer generated bindings will fix this (although you're welcome to try, I just committed #50 into main). nvmlInit_v2 has existed for years, here's a commit from 2020:

#define nvmlInit nvmlInit_v2

Is it possible to self re-generate/re-build the project to get compatibility with latest drivers? I've tried to find the source of nvml.h but haven't managed to track it down.

Yes, you could try that as well. I get nvml.h from the CUDA toolkit download: https://developer.nvidia.com/cuda-downloads. After installation I copy C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.2\include\nvml.h to nvml-wrapper-sys\nvml.h, and then you can run nvml-wrapper-sys\gen_bindings.sh to regenerate bindings (on Windows I run that script through WSL2).

Let me know if that gets you anywhere 😄.

from nvml-wrapper.

joshhunt avatar joshhunt commented on May 26, 2024 1

Ahhh - it must have been the studio driver. Since updated/changed to the normal 'game ready' drivers and it's working all fine now. It didn't quite occur to me that could be the issue.

Reverting from the Studio drivers to the Game Ready drivers fixed the issue. Thanks!

from nvml-wrapper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.