NVIDIA / Stable-Diffusion-WebUI-TensorRT

TensorRT Extension for Stable Diffusion Web UI
MIT License
1.92k stars 146 forks source link

Latest version of automatic1111 wont start with this extension installed. #323

Open thavus opened 7 months ago

thavus commented 7 months ago

Reproduction.

  1. Install this extension using automatic1111 built in extension installer.
  2. Apply and reload ui.
  3. Watch it crash.
  4. Try to start web-ui-user.py and it won't start.

Expectation. It shouldn't brick your install of automatic1111. Deleting this extension from the extensions folder solves the problem.

pstuvwx commented 6 months ago

I've encountered the same issue with both automatic1111 v1.9.3 and v1.6.1. My solution was to install the packages listed in install.py into a virtual environment.

While I haven't looked into the contents of launch.run_pip, I was able to achieve the desired results by simply activating the venv and running pip3 install. For reference, I successfully confirmed this using the nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04 docker image.

murtaza-nasir commented 4 months ago

Still getting this issue. I installed all the packages mentioned in install.py but automatic1111 still doesn't start.