Giter Site home page Giter Site logo

not using gpu about qualityscaler HOT 23 OPEN

xxopenxx avatar xxopenxx commented on June 14, 2024
not using gpu

from qualityscaler.

Comments (23)

SandwichIsGreat avatar SandwichIsGreat commented on June 14, 2024

What version of python ate you using? This issue can occur when using an outdated python version. I know that Python 3.11.4 works for certain. 3.10 does not work.

from qualityscaler.

xxopenxx avatar xxopenxx commented on June 14, 2024

i have python 3.11.4

from qualityscaler.

Djdefrag avatar Djdefrag commented on June 14, 2024

Hi @xxopenxx.

Are you on Windows 10 or Windows 11? because onnxruntime-directml (the AI engine) is only compatible with this OS.

Otherwhise it will use the CPU

from qualityscaler.

xxopenxx avatar xxopenxx commented on June 14, 2024

Hi @xxopenxx.

Are you on Windows 10 or Windows 11? because onnxruntime-directml (the AI engine) is only compatible with this OS.

Otherwhise it will use the CPU

WINDOWS 10

from qualityscaler.

xxopenxx avatar xxopenxx commented on June 14, 2024

Python 3.10.14, I never had problem with any ai open source apps, like stable diffusion, ollama etc

from qualityscaler.

Djdefrag avatar Djdefrag commented on June 14, 2024

@xxopenxx can you send your PC specs? (Task manager / performance tab)

from qualityscaler.

xxopenxx avatar xxopenxx commented on June 14, 2024

i5 12400f, rtx 4070 12gb vram, 16gb ram

from qualityscaler.

Djdefrag avatar Djdefrag commented on June 14, 2024

Have you installed Visual C Redistributable and DXRuntime?

  1. (If not already installed) install Visual-C-Runtimes:

  2. (If not already installed) install Directx:

typically should already be installed

from qualityscaler.

xxopenxx avatar xxopenxx commented on June 14, 2024

These 2 things already installed

from qualityscaler.

Djdefrag avatar Djdefrag commented on June 14, 2024

Strange, are you sure it is not using your gpu? the temperature is "normal" while upscaling?

Also, if you are on Python, you should see an error that says "onnxruntime will use CPU" in the terminal

from qualityscaler.

xxopenxx avatar xxopenxx commented on June 14, 2024

i dont have that error, there are no errors at all in terminal of quality scaler

from qualityscaler.

Djdefrag avatar Djdefrag commented on June 14, 2024

Are you selecting "High performance" GPU in the options right? and if you select Power saving?

from qualityscaler.

SandwichIsGreat avatar SandwichIsGreat commented on June 14, 2024

Python 3.10.14, I never had problem with any ai open source apps, like stable diffusion, ollama etc

wait.... do you have python 3.10.14 or 3.11.4? Because this looks an awfully lot like this issue #69

from qualityscaler.

xxopenxx avatar xxopenxx commented on June 14, 2024

image

from qualityscaler.

xxopenxx avatar xxopenxx commented on June 14, 2024

image

from qualityscaler.

Djdefrag avatar Djdefrag commented on June 14, 2024

Hi my friend, maibe you do not see the correct "graph". In fact, you are seeing only "Video encode" e "Video decode", but there are more options. To see if the gpu is being used, you have to switch to "3D" graph.

Also, you can use VsCode to run QualityScaler.py and you should see all logs

from qualityscaler.

xxopenxx avatar xxopenxx commented on June 14, 2024

But while im using stable diffusion and im upscaling photo for example, I have 99% gpu usage in task manager, it's same for ollama and video diffusion. Upscaling using qualityscaler takes 2h to upscale 2minutes video from 360 p to 760p, using multihreading

from qualityscaler.

Djdefrag avatar Djdefrag commented on June 14, 2024

sorry but, just a stupid question, have you installed the correct dependencies in requirements.txt?

from qualityscaler.

xxopenxx avatar xxopenxx commented on June 14, 2024

image

from qualityscaler.

xxopenxx avatar xxopenxx commented on June 14, 2024

i can share screen on discord or something like that if you want

from qualityscaler.

Djdefrag avatar Djdefrag commented on June 14, 2024

can you unistall everything and re-install? i think there is some problem somewere because the latest version of onnxruntime-directml is 1.17.3, but you have 1.17.0

  • pip freeze > requirements.txt
  • pip uninstall -r requirements.txt -y
  • pip cache purge

from qualityscaler.

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.