Giter Site home page Giter Site logo

Comments (3)

seerge avatar seerge commented on July 24, 2024

@IcePanther hello,

This is already the case.

Application already checks if GPU is being (actively) used before automatically disabling it. In case of that - it shows popup as well

if (HardwareControl.IsUsedGPU())

Current threshold is 10% GPU Usage

Thanks

from g-helper.

IcePanther avatar IcePanther commented on July 24, 2024

Hi, thanks for your quick answer.

However, this only works if the GPU is under load, not used by an application.
If, for instance, you're in the menu of a paused game (some do interrupt rendering when you do), or in this case, the LLM instance was between generations, so it didn't load the GPU at that precise moment, but VRAM was still used by it, and when I tried to resume activity, it crashed.

Is there a way to detect if there are active handles pointing to the GPU instead of just the GPU load ? Or if it's simpler, maybe also detect if the dGPU's VRAM is being used ?

from g-helper.

seerge avatar seerge commented on July 24, 2024

@IcePanther there is no way to detect is GPU is used but not used at the same time reliably.

Nvidia / AMD driver can report list of applications that "use" GPU atm - but it will almost always include harmless things like browsers, windows components, etc. Preventing dGPU swtich based on this list will stop this feature from working at all (what pretty much happens with AC all the time).

If you have some non-trivial usage for your GPU like running ML on it, i would just advice to stick to Standard mode.

from g-helper.

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.