-
Notifications
You must be signed in to change notification settings - Fork 354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After fresh install of Windows, roop-unleashed is running incredibly slow, and CPU is at 70% usage, GPU ~5%. #638
Comments
As far as I understand, you did a manual install and an automatic with the windows_run.bat. It's quite possible, that this has things messed up in your environment variables or elsewhere. You don't need to install python / git / ffmpeg when using the windows_run.bat. Do either step 1/3 or 4 from your steps, not both. If you do a manual installation (do the git clone inside of the activated venv, as explained in first part of #210), you need to start it with My suggestion: Start fresh. Delete the roop-unleashed folder(s). Last, but not least: No matter if you do a manual or automatic install, do it in a short folder in C: or whereever ( |
Thank you for replying! It may have been vital information to point out, but I already had python / git / ffmpeg installed, which I use for stable diffusion forge. Doesn't windows recognize that I already have certain parts, like python / git / ffmpeg, and therefore skip them? Anyway, I'm gonna try installing it fresh via your steps. I'll be back! |
Alright, if you already have all that installed for stable diffusion, don't bother with the windows_run.bat, do a manual install and run it with |
Alright, said and done. Managed to get everything right with the manual installation, after running into some minor problems (like not understanding that cd.. is actually a command lol). Roop is functioning better this time, but only around 5-10% better. Starting faster, a little bit less lag in the webUI, but my processor is still at 70% use and 70 celcius, while my GPU is running nothing at all. That seems to be my only problem at the moment. I'm thinking that maybe I should reinstall python, git and ffmpeg, so I get a real clean install. Apart from that, I'm out of ideas 😩 |
No, that what it's supposed to look like. Everything in your screenshots looks fine actually. |
I am experiencing the same problem, did you find a solution? Thank you |
Unfortunatly I did not solve the problem. Instead, I moved on to the Reactor extension for Stable Diffusion. You can get some really good results with it, if you tweak the settings. I recommend you checking it out! |
Describe the bug
I've been using roop-unleashed for well over a month, and it's been working pretty well. I recently made a fresh install of my Windows, and now after installing everything, the WebUI is incredibly slow, taking many seconds for it to respond. It's as if the webUI is frozen for 10 seconds, then starts working for maybe 3-4 seconds, then going back to being frozen. As soon as I start the bat.file, my CPU's going from 2% usage to 70%, and 38 to 70 celcius. Basically, my computer is lifting some heavy shit going on, but I'm not sure why it acts this way. Something is clearly not right.
After I noticed that roop is not working as intended, I looked at the installation wiki to see if I might have misread something. The following part
was not super clear to me. I thought maybe you're supposed to not only run pip uninstall onnxruntime onnxruntime-gpu, pip install onnxruntime-gpu==1.15.1, but also others. So I also ran
pip uninstall onnxruntime
pip install onnxruntime-silicon
. This seemed to have done nothing. The issue was still the same, and I ran this after I saw that roop didn't run as intended, so I won't include this in the reproducing part.PS; I have no background in programming at all. I've been learning and teaching myself for about over a month ago, when I found stable diffusion, so I'm quite novice when it comes to computer language and the like. Just a heads up!
To Reproduce
Steps to reproduce the behavior:
Have the following software installed:
Python 3.10.6, Git 2.44.0.windows.1, Visual Studio 17.9.6, CUDA 11.8.0, cuDNN for CUDA 11.x (9.1.0), ffmpeg version N-114902-g277f051ff6-20240421 (this should be everything, although I could have missed something). Also have CUDA, cuDNN, Python, Git and ffmpeg in PATH Env.
Go to roop-unleashed, then head to the installation in the wiki.
Follow the manual installation as follows:
git clone
https://github.com/C0untFloyd/roop-unleashed
preferably create a venv or conda environment (created environment with
python -m venv /path/to/new/virtual/environment
cd roop-unleashed
pip install -r requirements.txt
Run the windows_run.bat file to install roop-unleashed. When complete, run
pip uninstall onnxruntime onnxruntime-gpu
pip install onnxruntime-gpu==1.15.1
Then run the windows_run.bat file again to start roop-unleashed.See error
Details
What OS are you using?
Are you using a GPU?
Which version of roop unleashed are you using?
3.9.0
Screenshots
Even though I'm using my GPU (NVIDIA Geforce RTX 3070 ti), as you can see the GPU temp/usage/Vram has hardly changed at all after I launched roop unleashed (where the CPU usage goes from ca 10-20% to 70%). It looks like my CPU is doing all the lifting. I find this strange because I use my GPU with cuda every day when I'm on Stable Diffusion-Forge.
I also caught this showing in my terminal. I'm quite novice when it comes to programming, not clue what it means.
I believe the code below is part of the launch, showing my providers. Not sure if should look like this though.
The text was updated successfully, but these errors were encountered: