Open Aeychpge opened 1 year ago
That likely relates to it not installing right. I had to manually install a few things for it to popup in the webui, namely, fairscale.
Seems to be a problem with pip, as it makes folders starting with ~ that makes it crap its pants.
confirmed that need to manually install fairscale.
.\venv\Scripts\activate pip install fairscale deactivate
start 1111
that's how i got mine working
can confirm! after many different attempts, the following code seems to have worked:
from within your main "stable-diffusion-webui" folder:
.\venv\Scripts\activate
- this will activate your virtual environment
pip install fairscale
- This will install fairscale within the virtual environment itself
deactivate
- this exits the virtual python environment
from there, start the webui-user.bat
as you would normally EDIT: changed webui.bat
to webui-user.bat
at @ShaguarWKL suggestion
This is under the assumption that the missing module trace continues past ModuleNotFoundError: No module named 'extensions.sd_smartprocess'
and ends with:
ModuleNotFoundError: No module named 'fairscale'
@jparris3213 better to use webui-user.bat instead of webui.bat so if there are any flags set like --xformers will work.
confirmed that need to manually install fairscale.
.\venv\Scripts\activate pip install fairscale deactivate
start 1111
that's how i got mine working
Thanks! I'll type the words I google with no answer until I found this. Hopefully they pop up for someone searching the same lol
Stable Diffusion Automatic1111 webui ModuleNotFoundError: No module named 'fairscale'
@jparris3213 better to use webui-user.bat instead of webui.bat so if there are any flags set like --xformers will work.
You are correct! my mistake on that, previous post updated
Do we have a solution for this on Apple Sillicon?
Are you sure this is the actual fix? I had the same error because the extension directory was not called sd_smartprocess
. Renaming it back to this fixed the error on mine.
It seems that this extension is sensitive to its own directory name (making it one of the 2 of the 36 I have installed that are, the other being depthmap
).
Is there a reason that fairscale is not is not in the requirements.txt ?
Is there a reason that fairscale is not is not in the requirements.txt ?
IDK, but it's works fine to add fairscale to requirements.txt
Is there a reason that fairscale is not is not in the requirements.txt ?
Adding fairscale to this file seems to have fixed my problem!
stable-diffusion-webui\extensions\sd_smartprocess-main\scripts\main.py", line 3, in
from extensions.sd_smartprocess import smartprocess
ModuleNotFoundError: No module named 'extensions.sd_smartprocess'