Git Product home page Git Product logo

Comments (10)

CedricHwong avatar CedricHwong commented on July 16, 2024 2

Manually install all pip packages mentioned in the install.py of the trt plugin in your python virtual environment, and then comment out the part about pip uninstalling cudnn in install.py before starting webui.sh. The above method works for me.

from stable-diffusion-webui-tensorrt.

sup2069 avatar sup2069 commented on July 16, 2024 1

Manually install all pip packages mentioned in the install.py of the trt plugin in your python virtual environment, and then comment out the part about pip uninstalling cudnn in install.py before starting webui.sh. The above method works for me.

So do you mean I should install this extension manually by doing a git clone of this repository in the extensions folder ? then manually install the dependencies, then comment pip uninstalling cudnn in install.py that is located in the newly created folder inside the extensions folder ? I tried that but the webui never started, and stops after basic initialization, it doesn't even start the gradio server interface

I did the extension route, then after a few minutes, killed the webui.sh, followed the instructions and reran the webui.sh. Or you can do the get clone command in the extension folder to save time. Got it working!

from stable-diffusion-webui-tensorrt.

CatBut avatar CatBut commented on July 16, 2024 1

Manually install all pip packages mentioned in the install.py of the trt plugin in your python virtual environment, and then comment out the part about pip uninstalling cudnn in install.py before starting webui.sh. The above method works for me.

So do you mean I should install this extension manually by doing a git clone of this repository in the extensions folder ? then manually install the dependencies, then comment pip uninstalling cudnn in install.py that is located in the newly created folder inside the extensions folder ? I tried that but the webui never started, and stops after basic initialization, it doesn't even start the gradio server interface

I did the extension route, then after a few minutes, killed the webui.sh, followed the instructions and reran the webui.sh. Or you can do the get clone command in the extension folder to save time. Got it working!

What @sup2069 is saying is to go into the extensions folder and run the git clone on the repo. Then comment out the problem code. I think the problem comes form Nvidia making this extension for Windos users. So, when you run webui.sh it tries running some .exe commands that work natively on Windows but when using WSL or Linux it just causes problems. I'm by no means a pro, and that this might not actuly be the resons why it's not working without some modifications, but this is my leading theory.

My fix

When you Open the install.py with a Text editor like VS Code or Notepad you'll find on line (on line 34) that says "if launch.is_installed("nvidia-cudnn-cu11"):" this the part @sup2069 wants you to comment out (Place a # in front to comment it out). I had some other problems after I got it fully loaded, and brought up the web environment.

I ran into a new error where when I tried to make some TRTs it started saying that some of the packages were not installed and would soft fail. I tried to fix this by going back into the install.py and forcing it to install some of the packages. As of now, I can not make any TRTs. I tried several fixes here on GitHub, but after several hours I have returned empty-handed.

I'm running this on Ubuntu in WSL, using Forge (RIP).

from stable-diffusion-webui-tensorrt.

FurkanGozukara avatar FurkanGozukara commented on July 16, 2024

same on ubuntu it stucks forever

from stable-diffusion-webui-tensorrt.

Ornatrix avatar Ornatrix commented on July 16, 2024

same

from stable-diffusion-webui-tensorrt.

sup2069 avatar sup2069 commented on July 16, 2024

I am running into the same issue but on Debian Sid:

RTX 3090
A1111 version 1.9.0-RC-7-gradadb4e3
python: 3.10.10
torch 2.3.0+cu121
xformers: 0.0.26.post1
gradio: 3.41.2
64GB Ram
12th Gen Intel(R) Core(TM) i9-12900K

from stable-diffusion-webui-tensorrt.

FurkanGozukara avatar FurkanGozukara commented on July 16, 2024

I solved this problem and pubislihed installers for runpod and massed compute (Ubuntu)

Runpod installer : https://www.patreon.com/posts/1-click-for-sd-86438018

Massed compute installer (Ubuntu Linux) :
https://www.patreon.com/posts/massed-compute-105735932

It is a shame that 2 trillion dollar company doesn't care

Also my installers install a fork that supports Lora perfectly for TensorRT

from stable-diffusion-webui-tensorrt.

tomakorea avatar tomakorea commented on July 16, 2024

Too bad your stuff is behind a paywall.. it's not very open source friendly imho

from stable-diffusion-webui-tensorrt.

tomakorea avatar tomakorea commented on July 16, 2024

Manually install all pip packages mentioned in the install.py of the trt plugin in your python virtual environment, and then comment out the part about pip uninstalling cudnn in install.py before starting webui.sh. The above method works for me.

So do you mean I should install this extension manually by doing a git clone of this repository in the extensions folder ? then manually install the dependencies, then comment pip uninstalling cudnn in install.py that is located in the newly created folder inside the extensions folder ? I tried that but the webui never started, and stops after basic initialization, it doesn't even start the gradio server interface

from stable-diffusion-webui-tensorrt.

Saniel0 avatar Saniel0 commented on July 16, 2024

I found this post that helped me fix the issue.
#204 (comment)

from stable-diffusion-webui-tensorrt.

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.