NVIDIA / Stable-Diffusion-WebUI-TensorRT

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

ModuleNotFoundError: No module named 'launch' #303

Open LaVie024 opened 8 months ago

LaVie024 commented 8 months ago

Upon attempting to install from the extensions tab in A1111, it hangs indefinitely upon trying to install TensorRT. Manually attempting to install it by running: python3 install.py

Results in the error ModuleNotFoundError: No module named 'launch'

I have attempted to try and counter this issue a bit by copying over the launch.py file to the TensorRT directory, however this then results in an error:

ModuleNotFoundError: No module named 'modules'

Which I cannot find a fix for. Is there any way to correct this issue?

Operating system: Artix Linux (kernel 6.8.1-artix1-1) GPU: RTX 3050 8GB Python version: 3.11.8 PIP version: pip 24.0

Milor123 commented 8 months ago

I am trying install it stable diffusion forget and I have the same issue, stuck installing and then stuck starting stable diffusion. I am in archlinux with a 4070 GPU, propietary drivers :/

What should i do guys?

image

Milor123 commented 8 months ago

I've solved it, installing this fork from url of extensions tab, https://github.com/andrewtvuong/Stable-Diffusion-WebUI-TensorRT

delete your old Stable-Diffusion-WebUI-TensorRT in extension and install from extensions tab