1-Click INSTALL Stable Diffusion Auto1111
Added 2023-07-31 09:01:11 +0000 UTC
Hey everyone! I've created 2 cool little files to make the Stable Diffusion installation much easier. No more fumbling through complicated installation steps - these files automates it all for you with just 1-CLICK!
Here's how it works:
1. Download ONE OF THE the batch file from this Patreon post and put it in an empty folder somewhere on your computer.
2. Double click the batch file to run it. Sit back and relax! The file will automatically:
- Install Python and other dependencies
- Clone the Stable Diffusion repository from GitHub
- Download the required model files (only the SD_AUTO_INSTALL + SDXL.bat)
- Launch the web UI interface
In just a few minutes, you'll have Stable Diffusion up and running without any hassle. No coding or manual installation required!
Let me know if you run into any issues getting it set up!
And as always, supporting me on Patreon allows me to keep creating helpful resources like this for the AI art community. Thank you for your support - now go make some awesome art
Struggled with this: Receiving Error: Torch is not able to use the GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
amanda b
2025-01-20 14:16:15 +0000 UTC
I've got the UI up and running, but I'm running on AMD and it's giving me "RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed"
Daniel Wilson
2024-09-30 12:59:20 +0000 UTC
Go inside the main folder, click on the folder path, type “cmd” press enter, this will bring the command prompt window and inside you’re gonna type:
git config --global --add safe.directory 'D:/Stable Diffusion/stable-diffusion-webui/repositories/stable-diffusion-webui-assets'
Then press enter
Then you can relaunch the webui
Aitrepreneur
2024-09-03 20:58:53 +0000 UTC
Could you please help me out with this....I have followed the exact steps and have encountered the following error: Error code: 128
stderr: fatal: detected dubious ownership in repository at 'D:/Stable Diffusion/stable-diffusion-webui/repositories/stable-diffusion-webui-assets'
'D:/Stable Diffusion/stable-diffusion-webui/repositories/stable-diffusion-webui-assets' is on a file system that does not record ownership
To add an exception for this directory, call:
git config --global --add safe.directory 'D:/Stable Diffusion/stable-diffusion-webui/repositories/stable-diffusion-webui-assets'
carmen goodwin
2024-09-02 09:57:17 +0000 UTC
Try this: Go to the A1111 folder
open click on the folder path type cmd press enter
type venv\scripts\activate press enter
When you see (venv) X:\path-to-webui\stable-diffusion-webui>
type:
pip install insightface press enter
pip install --upgrade pydantic==1.10.14 press enter
pip install --upgrade albumentations==1.4.2 press enter
close the cmd and relaunch the webui
Aitrepreneur
2024-08-14 00:52:41 +0000 UTC
when i try to add controlnet extension I get this error: Warning: Failed to install handrefinerportable. Some processors will not work.
Installing sd-webui-controlnet requirement: depth_anything
Installing sd-webui-controlnet requirement: depth_anything_v2
Installing sd-webui-controlnet requirement: dsine
Lance Fanger
2024-08-13 19:06:14 +0000 UTC
what is your current python version?
You need the python 3.10.11. First, you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe
Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation.
You can check that the right python version is installed by opening a new command prompt window and typing:
python --version
and it should give you the 3.10.11 version
Then just relaunch the 1-click installer in a new folder and try again.
Aitrepreneur
2024-07-23 14:43:35 +0000 UTC
Problem when i launch the Webui : "RuntimeError: Couldn't install torch.
Command: "C:\SDXL\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install torch==2.1.2 torchvision==0.16.2 --extra-index-url https://download.pytorch.org/whl/cu121
Error code: 1" Ive tried to edit the webui user.bat to set the Python path. No luck... Thanks
Sébastien Chapelier
2024-07-23 14:37:42 +0000 UTC
yes it's because the installer automatically installs the latest version so it doesn't need to "update"
Aitrepreneur
2024-07-18 10:36:56 +0000 UTC
I used a previous installation of Stable Diffusion you posted, and it updated various things at the start. You could visibly see the updates. Does this one do the same? I don't think I saw the same dialogs. Thanks for the help!
Jerry
2024-07-18 02:56:55 +0000 UTC
yes it always dl the latest version of the Auto 1111 webUI
Aitrepreneur
2024-06-27 23:51:44 +0000 UTC
what do you mean? what exactly happens?
Aitrepreneur
2024-06-27 23:51:14 +0000 UTC
Latecomer here to your Patreon page. @Gustavo Coelho's question above leads me to ask if these are still up to date with the latest version of Automatic111, for those of use who would like to get started on it now.
Ken L. Black
2024-06-27 12:18:15 +0000 UTC
I could not get it to work... the .BAT file paths are all blank!
Gustavo Coelho
2024-06-27 04:22:08 +0000 UTC
what's your GPU? have you tried loading other models?
Aitrepreneur
2024-06-22 15:08:42 +0000 UTC
venv "C:\NonPrograms\SDXL\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Version: v1.9.4
Commit hash: feee37d75f1b168768014e4634dcb156ee649c05
Launching Web UI with arguments:
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
Loading weights [a78b9fb8ff] from C:\NonPrograms\SDXL\stable-diffusion-webui\models\Stable-diffusion\sd_xl_base_1.0_0.9vae.safetensors
loading stable diffusion model: SafetensorError
Traceback (most recent call last):
File "C:\Users\jdawg\AppData\Local\Programs\Python\Python310\lib\threading.py", line 973, in _bootstrap
self._bootstrap_inner()
File "C:\Users\jdawg\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "C:\Users\jdawg\AppData\Local\Programs\Python\Python310\lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "C:\NonPrograms\SDXL\stable-diffusion-webui\modules\initialize.py", line 149, in load_model
shared.sd_model # noqa: B018
File "C:\NonPrograms\SDXL\stable-diffusion-webui\modules\shared_items.py", line 175, in sd_model
return modules.sd_models.model_data.get_sd_model()
File "C:\NonPrograms\SDXL\stable-diffusion-webui\modules\sd_models.py", line 620, in get_sd_model
load_model()
File "C:\NonPrograms\SDXL\stable-diffusion-webui\modules\sd_models.py", line 705, in load_model
state_dict = get_checkpoint_state_dict(checkpoint_info, timer)
File "C:\NonPrograms\SDXL\stable-diffusion-webui\modules\sd_models.py", line 330, in get_checkpoint_state_dict
res = read_state_dict(checkpoint_info.filename)
File "C:\NonPrograms\SDXL\stable-diffusion-webui\modules\sd_models.py", line 304, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "C:\NonPrograms\SDXL\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 308, in load_file
with safe_open(filename, framework="pt", device=device) as f:
safetensors_rust.SafetensorError: Error while deserializing header: MetadataIncompleteBuffer
Stable diffusion model failed to load
Applying attention optimization: Doggettx... done.
Running on local URL: http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.
Startup time: 32.3s (prepare environment: 8.8s, import torch: 10.6s, import gradio: 2.6s, setup paths: 3.1s, initialize shared: 1.3s, other imports: 2.1s, load scripts: 2.4s, create ui: 1.1s, gradio launch: 0.4s).
Loading weights [a78b9fb8ff] from C:\NonPrograms\SDXL\stable-diffusion-webui\models\Stable-diffusion\sd_xl_base_1.0_0.9vae.safetensors
loading stable diffusion model: SafetensorError
Traceback (most recent call last):
File "C:\Users\jdawg\AppData\Local\Programs\Python\Python310\lib\threading.py", line 973, in _bootstrap
self._bootstrap_inner()
File "C:\Users\jdawg\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "C:\NonPrograms\SDXL\stable-diffusion-webui\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run
result = context.run(func, *args)
File "C:\NonPrograms\SDXL\stable-diffusion-webui\venv\lib\site-packages\gradio\utils.py", line 707, in wrapper
response = f(*args, **kwargs)
File "C:\NonPrograms\SDXL\stable-diffusion-webui\modules\ui.py", line 1154, in
update_image_cfg_scale_visibility = lambda: gr.update(visible=shared.sd_model and shared.sd_model.cond_stage_key == "edit")
File "C:\NonPrograms\SDXL\stable-diffusion-webui\modules\shared_items.py", line 175, in sd_model
return modules.sd_models.model_data.get_sd_model()
File "C:\NonPrograms\SDXL\stable-diffusion-webui\modules\sd_models.py", line 620, in get_sd_model
load_model()
File "C:\NonPrograms\SDXL\stable-diffusion-webui\modules\sd_models.py", line 705, in load_model
state_dict = get_checkpoint_state_dict(checkpoint_info, timer)
File "C:\NonPrograms\SDXL\stable-diffusion-webui\modules\sd_models.py", line 330, in get_checkpoint_state_dict
res = read_state_dict(checkpoint_info.filename)
File "C:\NonPrograms\SDXL\stable-diffusion-webui\modules\sd_models.py", line 304, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "C:\NonPrograms\SDXL\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 308, in load_file
with safe_open(filename, framework="pt", device=device) as f:
safetensors_rust.SafetensorError: Error while deserializing header: MetadataIncompleteBuffer
Stable diffusion model failed to load
changing setting sd_model_checkpoint to sd_xl_base_1.0_0.9vae.safetensors [a78b9fb8ff]: AttributeError
Traceback (most recent call last):
File "C:\NonPrograms\SDXL\stable-diffusion-webui\modules\options.py", line 165, in set
option.onchange()
File "C:\NonPrograms\SDXL\stable-diffusion-webui\modules\call_queue.py", line 13, in f
res = func(*args, **kwargs)
File "C:\NonPrograms\SDXL\stable-diffusion-webui\modules\initialize_util.py", line 181, in
shared.opts.onchange("sd_model_checkpoint", wrap_queued_call(lambda: sd_models.reload_model_weights()), call=False)
File "C:\NonPrograms\SDXL\stable-diffusion-webui\modules\sd_models.py", line 860, in reload_model_weights
sd_model = reuse_model_from_already_loaded(sd_model, checkpoint_info, timer)
File "C:\NonPrograms\SDXL\stable-diffusion-webui\modules\sd_models.py", line 793, in reuse_model_from_already_loaded
send_model_to_cpu(sd_model)
File "C:\NonPrograms\SDXL\stable-diffusion-webui\modules\sd_models.py", line 662, in send_model_to_cpu
if m.lowvram:
AttributeError: 'NoneType' object has no attribute 'lowvram'
changing setting sd_model_checkpoint to sd_xl_refiner_1.0_0.9vae.safetensors: AttributeError
Traceback (most recent call last):
File "C:\NonPrograms\SDXL\stable-diffusion-webui\modules\options.py", line 165, in set
option.onchange()
File "C:\NonPrograms\SDXL\stable-diffusion-webui\modules\call_queue.py", line 13, in f
res = func(*args, **kwargs)
File "C:\NonPrograms\SDXL\stable-diffusion-webui\modules\initialize_util.py", line 181, in
shared.opts.onchange("sd_model_checkpoint", wrap_queued_call(lambda: sd_models.reload_model_weights()), call=False)
File "C:\NonPrograms\SDXL\stable-diffusion-webui\modules\sd_models.py", line 860, in reload_model_weights
sd_model = reuse_model_from_already_loaded(sd_model, checkpoint_info, timer)
File "C:\NonPrograms\SDXL\stable-diffusion-webui\modules\sd_models.py", line 793, in reuse_model_from_already_loaded
send_model_to_cpu(sd_model)
File "C:\NonPrograms\SDXL\stable-diffusion-webui\modules\sd_models.py", line 662, in send_model_to_cpu
if m.lowvram:
AttributeError: 'NoneType' object has no attribute 'lowvram'
Ian Brumley
2024-06-21 21:22:00 +0000 UTC
3.10.6 or 3.10.11 are pretty much the same but some tools now prefer using the 3.10.11 so now I recommend using that version instead
Aitrepreneur
2024-06-14 14:06:49 +0000 UTC
Oh because in the video you are talking about the python 3.10.6 version
Samuel
2024-06-14 06:47:53 +0000 UTC
This looks like a bad initial python install, you need to uninstall any of your current python installations and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe
Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation.
You can check that the right python version is installed by opening a new command prompt window and typing:
python --version
and it should give you the 3.10.11 version
Then just relaunch the 1-click installer in a new folder and try again.
Aitrepreneur
2024-06-13 22:41:15 +0000 UTC
Couldn't launch python
exit code: 9009
stderr:
Python konnte nicht gefunden werden. F³hren Sie die Verkn³pfung ohne Argumente aus, um sie ³ber den Microsoft Store zu installieren, oder deaktivieren Sie diese Verkn³pfung unter
Launch unsuccessful. Exiting.
Samuel
2024-06-13 13:31:09 +0000 UTC
im unsure how but i have seemed to have fixed it
PropForge
2024-05-22 08:43:35 +0000 UTC
i thought i share this, i was having an issue with the .bat file closing instantly and not doing anything, after about 20 mins i thought to turn off my anti virus and it ran no issue.
however i am now getting ERROR: Could not find a version that satisfies the requirement torch==2.1.2 (from versions: 2.2.0, 2.2.0+cu121, 2.2.1, 2.2.1+cu121, 2.2.2, 2.2.2+cu121, 2.3.0, 2.3.0+cu121)
ERROR: No matching distribution found for torch==2.1.2
PropForge
2024-05-22 05:42:35 +0000 UTC
could a multitude of reasons, first open a command prompt window and drag and drop the installer file inside the window, then press enter, this should avoid the window from closing and it will at least give us an error code we can use to troubleshoot the error, make also sure that you have disabled any antivirus/firewall from running and blocking the file/connection.
This could also be a bad initial python install, you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe
Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation.
You can check that the right python version is installed by opening a new command prompt window and typing:
python --version
and it should give you the 3.10.6 version
Aitrepreneur
2024-05-15 20:02:33 +0000 UTC
Well, that was unfortunate. I installed manually from the video the first time and worked through everything and got it functional. On a new PC, I tried the first batch file and it fails with no prompts or anything... I'll continue to dive deeper.
Daniel Herbert
2024-05-15 19:52:34 +0000 UTC
of course as long as you have the right python version and that it's installed correctly
Aitrepreneur
2024-05-14 22:12:53 +0000 UTC
Is it possible for this to work if you've already got Python and git installed?
Starseed.1111
2024-05-14 21:57:59 +0000 UTC
could a multitude of reasons, first open a command prompt window and drag and drop the installer file inside the window, then press enter, this should avoid the window from closing and it will at least give us an error code we can use to troubleshoot the error, make also sure that you have disabled any antivirus/firewall from running and blocking the file/connection.
This could also be a bad initial python install, you need to uninstall your current python installation and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe
Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation.
Aitrepreneur
2024-05-11 13:05:26 +0000 UTC
Hi! It is normal that i get the black window downloading python and suddenly it close? Was the first time opening the installer. Just openned again, hopefuly this time works.
Daniel G
2024-05-11 01:22:24 +0000 UTC
watch the install video if you are a beginner: https://youtu.be/rtUpIY9Opjs
open the webui-user.bat file once it's installed
Aitrepreneur
2024-04-30 21:58:18 +0000 UTC
where do i go to use it? ive downloaded clicked all the webuis and dont see anything
Risky KC
2024-04-30 21:54:25 +0000 UTC
There probably was an issue during install, try reinstalling in a new folder, disable any antivirus and firewall before reinstalling just in case
Aitrepreneur
2024-04-15 19:28:49 +0000 UTC
i have this problem ModuleNotFoundError: No module named 'packaging'
Leon Jeppesen
2024-04-15 01:47:54 +0000 UTC
make sure to also use something like --xformers for better results and if you want to avoid getting out of memory errors make sure that you have installed the latest nvidia drivers and that system memory fallback is activated by default
Aitrepreneur
2024-04-05 15:56:21 +0000 UTC
Disregard the above. I found a method to change the arguments in the webui.bat to indicate low vram and limit pytorch.
DTar5478
2024-04-04 22:37:31 +0000 UTC
I have been using SDXL successfully on my desktop PC for 4-5 months. Thank you! I am now a 3 out of 10 in expertise (my wild guess). I tried loading SDXL on my laptop and I am getting a CUDA error message, not enough memory. My laptop graphics card is a NVIDIA RTX 3050 Ti Laptop GPU. This GPU only has 4GB of memory. The CPU is a core I9 12900HK. It appears PyTorch is allocating 3.3GB of the GPU memory. The error message suggests "try setting max_split_size_md to avoid fragmentation". Any thoughts or suggestions on this or am I chasing a dead rabbit? Thanks!
DTar5478
2024-04-04 22:11:24 +0000 UTC
Hello! I am enjoying your Patreon site. I have SDXL Automatic 1111 installed on my PC and have been working with it for 4-5 months now. I am getting pretty good, but my assessment is I am a 3 out of 10. Anyway, I decided to try to install it on my laptop as well and I am running into out of memory issues with my laptop graphic card. I am getting a "OutOfMemoeryError: CUDA out of memory." There is a suggestion, "try setting max_split_size_mb to avoid fragmentation". Any thoughts on how to do this? Thanks!
DTar5478
2024-04-04 21:49:25 +0000 UTC
you are loading the wrong model, this is the refiner not the base model
Aitrepreneur
2024-03-29 18:20:21 +0000 UTC
.
Loading weights [8d0ce6c016] from D:\SDXL\stable-diffusion-webui\models\Stable-diffusion\sd_xl_refiner_1.0_0.9vae.safetensors
Creating model from config: D:\SDXL\stable-diffusion-webui\repositories\generative-models\configs\inference\sd_xl_refiner.yaml
changing setting sd_model_checkpoint to sd_xl_refiner_1.0_0.9vae.safetensors [8d0ce6c016]: RuntimeError
Traceback (most recent call last):
File "D:\SDXL\stable-diffusion-webui\modules\options.py", line 165, in set
option.onchange()
File "D:\SDXL\stable-diffusion-webui\modules\call_queue.py", line 13, in f
res = func(*args, **kwargs)
File "D:\SDXL\stable-diffusion-webui\modules\initialize_util.py", line 174, in
shared.opts.onchange("sd_model_checkpoint", wrap_queued_call(lambda: sd_models.reload_model_weights()), call=False)
File "D:\SDXL\stable-diffusion-webui\modules\sd_models.py", line 877, in reload_model_weights
load_model(checkpoint_info, already_loaded_state_dict=state_dict)
File "D:\SDXL\stable-diffusion-webui\modules\sd_models.py", line 749, in load_model
load_model_weights(sd_model, checkpoint_info, state_dict, timer)
File "D:\SDXL\stable-diffusion-webui\modules\sd_models.py", line 394, in load_model_weights
model.load_state_dict(state_dict, strict=False)
File "D:\SDXL\stable-diffusion-webui\modules\sd_disable_initialization.py", line 223, in
module_load_state_dict = self.replace(torch.nn.Module, 'load_state_dict', lambda *args, **kwargs: load_state_dict(module_load_state_dict, *args, **kwargs))
File "D:\SDXL\stable-diffusion-webui\modules\sd_disable_initialization.py", line 221, in load_state_dict
original(module, state_dict, strict=strict)
File "D:\SDXL\stable-diffusion-webui\modules\sd_disable_initialization.py", line 223, in
module_load_state_dict = self.replace(torch.nn.Module, 'load_state_dict', lambda *args, **kwargs: load_state_dict(module_load_state_dict, *args, **kwargs))
File "D:\SDXL\stable-diffusion-webui\modules\sd_disable_initialization.py", line 221, in load_state_dict
original(module, state_dict, strict=strict)
File "D:\SDXL\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 2152, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for DiffusionEngine:
While copying the parameter named "model.diffusion_model.output_blocks.1.0.in_layers.0.weight", whose dimensions in the model are torch.Size([3072]) and whose dimensions in the checkpoint are torch.Size(
Man I suck at this
Emu
2024-03-29 05:10:39 +0000 UTC
Having issues myself, it says simple. But when i download it, it doesn't do it automatically like mentioned EDIT : NVM
Littlebitofthat
2024-03-27 00:32:49 +0000 UTC
it is installed in the same folder as where you run the installer
Aitrepreneur
2024-03-20 22:43:42 +0000 UTC
Great work on the installer! Is there a way to choose where stable diffusion will be installed? Now it gets a bit buried in windows/system32. Thanks
Dario van Houwelingen
2024-03-20 20:21:04 +0000 UTC
what python version you have? You need the python 3.10 version (I use 3.10.6)
Aitrepreneur
2024-03-17 19:35:04 +0000 UTC
you have the wrong python version, uninstall python from your computer and then relaunch the installer
Aitrepreneur
2024-03-17 19:24:49 +0000 UTC
won't run
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
Traceback (most recent call last):
File "F:\AI\SUPERSD\Stable Diffusion\stable-diffusion-webui\launch.py", line 48, in
main()
File "F:\AI\SUPERSD\Stable Diffusion\stable-diffusion-webui\launch.py", line 44, in main
start()
File "F:\AI\SUPERSD\Stable Diffusion\stable-diffusion-webui\modules\launch_utils.py", line 465, in start
import webui
File "F:\AI\SUPERSD\Stable Diffusion\stable-diffusion-webui\webui.py", line 13, in
initialize.imports()
File "F:\AI\SUPERSD\Stable Diffusion\stable-diffusion-webui\modules\initialize.py", line 36, in imports
shared_init.initialize()
File "F:\AI\SUPERSD\Stable Diffusion\stable-diffusion-webui\modules\shared_init.py", line 40, in initialize
from modules import styles
File "F:\AI\SUPERSD\Stable Diffusion\stable-diffusion-webui\modules\styles.py", line 9, in
class PromptStyle(typing.NamedTuple):
File "F:\AI\SUPERSD\Stable Diffusion\stable-diffusion-webui\modules\styles.py", line 11, in PromptStyle
prompt: str | None
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'
Press any key to continue . . .
What do I do?
MemeL0rd420
2024-03-17 18:12:08 +0000 UTC
please help:
Python 3.12.1 (tags/v3.12.1:2305ca5, Dec 7 2023, 22:03:25) [MSC v.1937 64 bit (AMD64)]
Version: v1.8.0
Commit hash: bef51aed032c0aaa5cfd80445bc4cf0d85b408b5
Installing torch and torchvision
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu121
ERROR: Could not find a version that satisfies the requirement torch==2.1.2 (from versions: 2.2.0, 2.2.0+cu121, 2.2.1, 2.2.1+cu121)
ERROR: No matching distribution found for torch==2.1.2
[notice] A new release of pip is available: 23.2.1 -> 24.0
[notice] To update, run: E:\AI-Projects\Image_Generator\SD-webui\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip
Traceback (most recent call last):
File "E:\AI-Projects\Image_Generator\SD-webui\stable-diffusion-webui\launch.py", line 48, in
main()
File "E:\AI-Projects\Image_Generator\SD-webui\stable-diffusion-webui\launch.py", line 39, in main
prepare_environment()
File "E:\AI-Projects\Image_Generator\SD-webui\stable-diffusion-webui\modules\launch_utils.py", line 380, in prepare_environment
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True)
File "E:\AI-Projects\Image_Generator\SD-webui\stable-diffusion-webui\modules\launch_utils.py", line 115, in run
raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't install torch.
Command: "E:\AI-Projects\Image_Generator\SD-webui\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install torch==2.1.2 torchvision==0.16.2 --extra-index-url https://download.pytorch.org/whl/cu121
Error code: 1
Press any key to continue . . .
Sako Alrhman
2024-03-16 20:52:11 +0000 UTC
you can if you want to altough it's not recommended if it updates automatically there is often the chance that an update can break the webui (it's rare but it happened often in the past) if you want to you can just edit the webui-user.bat file and after the line set command line, create a new line and put:
git pull
So it looks like this:
@echo off
set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS=--xformers --theme dark --autolaunch
git pull
call webui.bat
save the file and relaunch the webui, this time it will automatically update to the latest version each time you launch it
Aitrepreneur
2024-03-15 08:00:32 +0000 UTC
Does this auto check for updates? Or is that something we need to do manually?
Jessica Gould
2024-03-15 06:08:47 +0000 UTC
dm me more info, when does that happen, does the sd models are located inside the models\Stable-diffusion folder?
Aitrepreneur
2024-03-13 20:51:21 +0000 UTC
Stable diffusion model failed to load
Loading weights [e6bb9ea85b] from E:\imag generator\Nouveau dossier\stable-diffusion-webui\models\Stable-diffusion\sd_xl_base_1.0_0.9vae.safetensors
Creating model from config: E:\imag generator\Nouveau dossier\stable-diffusion-webui\repositories\generative-models\configs\inference\sd_xl_base.yaml
Loading weights [e6bb9ea85b] from E:\imag generator\Nouveau dossier\stable-diffusion-webui\models\Stable-diffusion\sd_xl_base_1.0_0.9vae.safetensors
Appuyez sur une touche pour continuer... what is wrong ?
euphobie
2024-03-13 11:38:14 +0000 UTC
hi, sdxl is a model like the 1.5 that needs to be run inside the webui, it's not a special webui version or something like that
Aitrepreneur
2024-03-07 20:54:15 +0000 UTC
Hello. THanks for your work. I will now give it a try. But could you kindly suggest if SDXL supports models, that were created with DreamBooth and 1.5 version? Or i have to create a new model to use with SDXL ?
antonde slovenia
2024-03-07 16:50:45 +0000 UTC
Ah yes your right the firewall was blocking the install. As for the python I managed to find the issue. I had to edit the webui-user.bat to include the python.exe path. Other then that thank you for the support everything is green!
Olyvion
2024-02-27 01:15:04 +0000 UTC
you might have a firewall/ antivirus blocking the connection, try disabling them and try again.
There might also be a bad python install, dm me more info so I can easily follow the discussion
Aitrepreneur
2024-02-26 23:24:02 +0000 UTC
Downloading Python 3.10.6...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.
Failed to download Python installer.
Olyvion
2024-02-26 21:25:52 +0000 UTC
not really the log though, try to open a new command prompt window and drag and drop the installer inside the window and press enter, it will at least give you an error that we can use
Aitrepreneur
2024-02-26 17:59:20 +0000 UTC
Got the log files when trying to run it would close immediately :
@echo off
echo Downloading Python 3.10.6...
curl -L -o python-3.10.6-amd64.exe https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe
if %errorlevel% NEQ 0 (
echo Failed to download Python installer.
exit /b
)
echo Installing Python...
start /wait python-3.10.6-amd64.exe /quiet InstallAllUsers=1 PrependPath=1
del python-3.10.6-amd64.exe
echo Downloading Git...
curl -L -o Git-2.42.0-64-bit.exe https://github.com/git-for-windows/git/releases/download/v2.42.0.windows.1/Git-2.42.0-64-bit.exe
if %errorlevel% NEQ 0 (
echo Failed to download Git installer.
exit /b
)
echo Installing Git...
start /wait Git-2.42.0-64-bit.exe /VERYSILENT
del Git-2.42.0-64-bit.exe
echo Cloning stable-diffusion-webui repository...
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
if %errorlevel% NEQ 0 (
echo Failed to clone repository.
exit /b
)
echo Listing the contents of the cloned repository...
dir .\stable-diffusion-webui\
echo Changing directory to the cloned repository...
cd .\stable-diffusion-webui\
echo Downloading models...
curl -L -o .\models\Stable-diffusion\sd_xl_refiner_1.0_0.9vae.safetensors https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/resolve/main/sd_xl_refiner_1.0_0.9vae.safetensors
if %errorlevel% NEQ 0 (
echo Failed to download model sd_xl_refiner_1.0_0.9vae.safetensors.
exit /b
)
curl -L -o .\models\Stable-diffusion\sd_xl_base_1.0_0.9vae.safetensors https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0_0.9vae.safetensors
if %errorlevel% NEQ 0 (
echo Failed to download model sd_xl_base_1.0_0.9vae.safetensors.
exit /b
)
echo Models downloaded successfully!
echo Running webui-user.bat...
call webui-user.bat
echo Done!
pause
Olyvion
2024-02-26 15:24:09 +0000 UTC
probably because you installed it with a different user, but you can try this:
open a command prompt window and type this:
git config --global --add safe.directory C:/stable-diffusion-webui
then press enter, then you can relaunch the webui-user.bat file
Aitrepreneur
2024-02-17 17:16:54 +0000 UTC
whe i execute the webui-user.bat i got this error:
venv "C:\stable-diffusion-webui\venv\Scripts\Python.exe"
fatal: detected dubious ownership in repository at 'C:/stable-diffusion-webui'
'C:/stable-diffusion-webui' is owned by:
'S-1-5-32-544'
but the current user is:
'S-1-5-21-4022657936-3755423042-3748107276-1001'
To add an exception for this directory, call:
git config --global --add safe.directory C:/stable-diffusion-webui
fatal: detected dubious ownership in repository at 'C:/stable-diffusion-webui'
'C:/stable-diffusion-webui' is owned by:
'S-1-5-32-544'
but the current user is:
'S-1-5-21-4022657936-3755423042-3748107276-1001'
To add an exception for this directory, call:
git config --global --add safe.directory C:/stable-diffusion-webui
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: 1.7.0
Commit hash:
Couldn't determine Stable Diffusion's hash: cf1d67a6fd5ea1aa600c4df58e5b47da45f6bdbf, attempting autofix...
Fetching all contents for Stable Diffusion
fatal: detected dubious ownership in repository at 'C:/stable-diffusion-webui/repositories/stable-diffusion-stability-ai'
'C:/stable-diffusion-webui/repositories/stable-diffusion-stability-ai' is owned by:
'S-1-5-32-544'
but the current user is:
'S-1-5-21-4022657936-3755423042-3748107276-1001'
To add an exception for this directory, call:
git config --global --add safe.directory C:/stable-diffusion-webui/repositories/stable-diffusion-stability-ai
Traceback (most recent call last):
File "C:\stable-diffusion-webui\launch.py", line 48, in
main()
File "C:\stable-diffusion-webui\launch.py", line 39, in main
prepare_environment()
File "C:\stable-diffusion-webui\modules\launch_utils.py", line 408, in prepare_environment
git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash)
File "C:\stable-diffusion-webui\modules\launch_utils.py", line 178, in git_clone
current_hash = run_git(dir, name, 'rev-parse HEAD', None, f"Couldn't determine {name}'s hash: {commithash}", live=False).strip()
File "C:\stable-diffusion-webui\modules\launch_utils.py", line 166, in run_git
git_fix_workspace(dir, name)
File "C:\stable-diffusion-webui\modules\launch_utils.py", line 153, in git_fix_workspace
run(f'"{git}" -C "{dir}" fetch --refetch --no-auto-gc', f"Fetching all contents for {name}", f"Couldn't fetch {name}", live=True)
File "C:\stable-diffusion-webui\modules\launch_utils.py", line 116, in run
raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't fetch Stable Diffusion.
Command: "git" -C "C:\stable-diffusion-webui\repositories\stable-diffusion-stability-ai" fetch --refetch --no-auto-gc
Error code: 128
Press any key to continue . . .
Rey
2024-02-17 04:40:18 +0000 UTC
you don't launch that file, just the webui-user.bat
Aitrepreneur
2024-02-16 18:18:08 +0000 UTC
are you sure you launched the right file? You need to launch the webui-user.bat file not the webui.bat, it's not the same file, many people do this mistake. If it worked before and you could see the webui, it means everything was indeed installed correctly.
Aitrepreneur
2024-02-16 18:17:50 +0000 UTC
i also try to execute the lanch.py and i got this error:
fatal: detected dubious ownership in repository at 'C:/Windows/System32/stable-diffusion-webui'
'C:/Windows/System32/stable-diffusion-webui' is owned by:
'S-1-5-32-544'
but the current user is:
'S-1-5-21-4022657936-3755423042-3748107276-1001'
To add an exception for this directory, call:
git config --global --add safe.directory C:/Windows/System32/stable-diffusion-webui
fatal: detected dubious ownership in repository at 'C:/Windows/System32/stable-diffusion-webui'
'C:/Windows/System32/stable-diffusion-webui' is owned by:
'S-1-5-32-544'
but the current user is:
'S-1-5-21-4022657936-3755423042-3748107276-1001'
To add an exception for this directory, call:
git config --global --add safe.directory C:/Windows/System32/stable-diffusion-webui
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: 1.7.0
Commit hash:
Rey
2024-02-16 07:26:00 +0000 UTC
when i try to execute webui-user i got this error Access is denied.
Couldn't launch python
exit code: 1
Everything installed correctly and I was able to see the window http://127.0.0.1:7860/ but after I closed it I was not able to open it again
Rey
2024-02-16 07:18:57 +0000 UTC
if python and git are correctly installed then you can try this installer: https://we.tl/t-vRfiFs3LAx
make sure you don't have any antivirus or firewall running
Aitrepreneur
2024-02-16 01:11:37 +0000 UTC
im trying to install sd_auto_install + sdxl.bat file and dosnt work, the window close after star installing Git
Rey
2024-02-15 18:51:46 +0000 UTC
you can try this one:
https://we.tl/t-ARHLqSIfv6
Aitrepreneur
2024-02-13 23:49:57 +0000 UTC
i have downloaded the sd_auto_install + sdxl.bat file. The only process it installs is Phyton 3.10.6 . there is no other installations. what do i need to do
driver1998
2024-02-13 22:20:27 +0000 UTC
You need to edit the webui-user.bat file and add on the line command line args the --xformers argument
So that it looks like this:
set COMMANDLINE-ARGS=--xformers
Save the file then relaunch the webui-user.bat file
Aitrepreneur
2024-02-13 13:14:19 +0000 UTC
Thank you for this 1click solution however, I am getting the message.
Launching Web UI with arguments:
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it. Is not having xformers going to be a issue?
Eyes_Wide_Shut
2024-02-13 10:59:22 +0000 UTC
Send me a dm with some screenshots and the full error log
Aitrepreneur
2024-02-11 13:06:59 +0000 UTC
Hello, I get an error message after the install as follows:
"Failed to create model quickly; will retry using slow method.
loading stable diffusion model: JSONDecodeError
Traceback (most recent call last):" and many lines after this
I had installed (using the classic method not 1click installer) SD on my laptop (i5 7300, NVIDIA 1050ti 4GB VRAM), and had no problems, but on my PC (i7 11700k, NVIDIA 3060 12 VRAM), on windows 11 (but I installed a 10 as well, still not working) have this issue.
When I try to generate it always ends with "JSONDecodeError: Expecting value: line 1 column 1 (char 0)"
L.E. if it is useful I can send a screenshot \ entire error msg
Every time I open it the messages end with: "Stable diffusion model failed to load"
L.L.E. - 1. I installed SD_AUTO_INSTALL + SDXL in the laptop (i5 7300, NVIDIA 1050ti 4GB VRAM) and it is working, slow but working, so the error sounds like it is related to the new PC
2. Also I installed TEXT-GEN_INSTALLER-WIN-WSL on the PC (i7 11700k, NVIDIA 3060 12 VRAM) and it is working properly.
Alexandru C.
2024-02-11 06:28:26 +0000 UTC
what gpu do you have?
Aitrepreneur
2024-02-09 15:59:43 +0000 UTC
I got a error: "RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check" what do i need to do?
Boni Supermarkt
2024-02-09 13:06:08 +0000 UTC
gonna need a bit more info there, dm me the full error log
Aitrepreneur
2024-02-04 15:50:05 +0000 UTC
not working
lone wolf
2024-02-04 12:58:34 +0000 UTC
unkwon error
lone wolf
2024-02-04 12:03:20 +0000 UTC
Uninstall python completely using the installer: https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe
and reinstall it using that same python installer and don't forget to check the "Add to path" checkbox before installing it.
Aitrepreneur
2024-02-03 17:48:00 +0000 UTC
After everything installs i get the following error: "Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'
Current thread 0x00004274 (most recent call first):
". Do you know what could be causing this?
Max Robinson
2024-02-03 14:47:01 +0000 UTC
Disable your antivirus and firewall, sometimes those security systems on your pc stops the file and connection from running correctly
Aitrepreneur
2024-02-03 00:24:23 +0000 UTC
so, tried out the auto install and the one with sdxl, when it goes to download and install git.. ---->>when trying to install Git it says cannot find file then closes the installation. then it cancells out and stops working. .... (For future peoples with this issue, make sure to have python uninstalled and it should work)
Kubrows
2024-02-02 23:39:24 +0000 UTC
Just copy and paste that url into your browser or edit the webui-user.bat file and on line 6 add the following argument:
--autolaunch
Save the file then relaunch the webui-user.bat file again, it should automatically launch now
Aitrepreneur
2024-02-01 00:12:00 +0000 UTC
When I ctrl+click the local url after the installer finishes running, nothing pop up. Like I see a blue loading circle flash near my mouse but nothing happens. Help?
Justin
2024-02-01 00:08:14 +0000 UTC
It's BETTER to use Nvidia, nvidia is king for Ai applications
Aitrepreneur
2024-02-01 00:06:53 +0000 UTC
can i use nvidia?
liamisgreat22 22
2024-02-01 00:01:27 +0000 UTC
Always talking about gpu, the CPU brand doesn't matter
Aitrepreneur
2024-01-31 20:09:39 +0000 UTC
Sorry for the dumb question, but is the AMD-SD auto install for AMD CPU or GPU ? I have an AMD CPU and a NVIDIA GPU
paul robion
2024-01-31 20:07:09 +0000 UTC
depends what you mean by long while and the resolution of the images you are trying to generate + parameters
Aitrepreneur
2024-01-29 20:31:31 +0000 UTC
hi what's your GPU?
Aitrepreneur
2024-01-29 20:30:51 +0000 UTC
Is it abnormal for generation to take a long while? Or is there something I might be doing wrong, intel i9 13900k, rtx 3090, 32gb ddrr5
Extro
2024-01-29 19:13:44 +0000 UTC
Hello, after installing the .bat, (thank you for that by the way :) ), i try to generate an image and i have a picture in low resolution during the process and at the end i have a big green square as a result. Can you help me to fix it please ?
Willy Lauret
2024-01-29 18:28:32 +0000 UTC
this usually happens because you have an antivirus and/or firewall blocking the file, disable them and try again
Aitrepreneur
2024-01-27 09:11:51 +0000 UTC
Im having an issue where the batch file launch and popup for a millisecond before closing and nothing else happens. Its happened for all three of them.
St Lask
2024-01-27 05:22:33 +0000 UTC
hmm sometimes this might mean that your GPU is faulty so I hope it's the latter, just upgrade to the lastest nvidia drivers and try again
Aitrepreneur
2024-01-24 23:25:07 +0000 UTC
just select the sdxl model in the checkpoint selector, or dl any other model, put it inside the models/stable-diffusion folder and select it in the checkpoint
Aitrepreneur
2024-01-24 23:21:18 +0000 UTC
Hello! Im trying to create images but I always get the following error: RuntimeError: CUDA error: an illegal memory access was encountered
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
My Specs:
Ryzen 7 2700X
RTX 2060 6gb
16gb DDR4
What can I do to resolve this?
Lucas Ramos
2024-01-24 19:25:45 +0000 UTC
Hello Aitrepreneur! I have the following situation: At home i have a very poor internet connection. So I ran the one cklick installation on my laptop at university and downloaded everything. Are there any problems if I just copy paste the created folders onto my desktop at home. The python and git version are installed on my machine. Thank you for this easy download option! Keep up the good content - well worth my 5 bugs :D!
PuraVida
2024-01-24 14:44:56 +0000 UTC
hello, my checkpoint is showing something called "v1-5-pruned-emaonly.safetensors [6ce0161689]" and not the sdxl checkpoint you have in the video. what do I need to do? please help
wind
2024-01-24 07:15:41 +0000 UTC
hi dm me your pc specs
Aitrepreneur
2024-01-22 00:55:55 +0000 UTC
HEy, Automatic 1111/sdxl ist just using my cpu instead of my gpu. Do you know how I could fix that? Thanke you in advance!
Eric Fuchs
2024-01-21 19:03:41 +0000 UTC
dm me some screenshots I don't quite understand what you mean by crops into itself
Aitrepreneur
2024-01-16 23:16:03 +0000 UTC
Installed and reinstalled everything properly three times now, if I use any other but the standard Model everything crops into itself. First Istall it would generate something properly at all. Next try both SDXL models u recomended were installed and in the Model folder already and the generated promts kind of grew into themself. Third try I needed to manualy Install the Models Before I used them my Prompts were able to generate really slowly. When I used the refiner or base model from ur video evrything cropped into itself again. Also my Interface Looks diffrent then the one u had. Would really appreciate any advie ty!
Manuel Gaus
2024-01-16 22:17:31 +0000 UTC
In your case, you need to uninstall completely all previous python versions before launching the installer
Aitrepreneur
2024-01-15 00:13:29 +0000 UTC
Hello, I have python 3.10.11 installed and changed the environment path on windows to it, but even thought when I open the webui-user it throw me an error saying "This program is tested with 3.10.6 Python, but you have 3.9.5." In before I was using AUTO11, and it was taking the correct version, but I've tried to make a full instalation using the 1 click, and now I have this message, any idea why?
Beto Matias
2024-01-14 22:48:39 +0000 UTC
if you have python and git installed correctly then try this one: https://we.tl/t-cFCSWyshFd
Aitrepreneur
2024-01-11 23:47:12 +0000 UTC
I am unable to load it crashes right after it gets permission from git, both my firewall and antivirus are disabled :/
Chase Anderegg
2024-01-11 22:02:28 +0000 UTC
here: https://we.tl/t-BN4DplwoXn
Aitrepreneur
2024-01-11 00:51:18 +0000 UTC
First of all, don't, there is not need.
Just go to https://civitai.com/ and download any model you like from there
Aitrepreneur
2024-01-11 00:50:24 +0000 UTC
that's usually a problem with your internet connection that stopped during install.
try manually downloading torch: https://download.pytorch.org/whl/cu118/torch-2.0.1%2Bcu118-cp310-cp310-win_amd64.whl
then put that file inside the stable-diffusion-webui\venv\Scripts folder
then inside the scripts folder you're gonna click on the folder path, type
cmd then press enter, this will bring the command prompt window in that folder and inside you're gonna type
pip install downloaded_filename.whl then press enter
Aitrepreneur
2024-01-11 00:48:41 +0000 UTC
Hi can you please send the mac link whenever you get a chance :) Much appreciated!
Michael Coimbra
2024-01-10 22:26:36 +0000 UTC
I'm new to Stable Diffusion, but I'm enjoying learning more. Due to problems with my setup, I would like to test version 1.6.0. Wouldn't you have the "1 click to install" option for this version?
ab
2024-01-10 13:49:07 +0000 UTC
I keep getting an error when it gets to installing torch. Any idea how i resolve this? Thnx.
RuntimeError: Couldn't install torch.
Command: "C:\SDXL\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install torch==2.0.1 torchvision==0.15.2 --extra-index-url https://download.pytorch.org/whl/cu118
Error code:1
Duncan
2024-01-10 02:07:21 +0000 UTC
This means you don't have enough Vram to run the operation, just make sure that you have updated your Nvidia drivers to their latest version, this should already get rid of the error since it will offload some work onto your ram.
if you want more speed, disable system memory fallback: https://nvidia.custhelp.com/app/answers/detail/a_id/5490/~/system-memory-fallback-for-stable-diffusion
then edit the webui-user.bat file and on the line command line args put --xformers
so it looks like that: set COMMANDLINE_ARGS=--xformers
if it gives you the same error, then add this additional argument: --medvram so in the end it looks like this: set COMMANDLINE_ARGS=--xformers --medvram
Aitrepreneur
2024-01-09 23:43:42 +0000 UTC
Hello, I receive this, what can I do to finally generate images : OutOfMemoryError: CUDA out of memory. Tried to allocate 80.00 MiB (GPU 0; 8.00 GiB total capacity; 6.97 GiB already allocated; 0 bytes free; 7.27 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
Pauline Fannes
2024-01-09 20:04:29 +0000 UTC
this computer doesn't have a gpu so that won't really work no
Aitrepreneur
2024-01-09 10:06:23 +0000 UTC
I have a windows surface pro , im not sure if it works for this. However, when i tried the download links it would download but not give me the link
cyka
2024-01-09 08:57:18 +0000 UTC
dm me the full error log and pc specs
Aitrepreneur
2024-01-04 23:11:12 +0000 UTC
I keep getting "The system cannot find the file specified when I try running it...
Mau M
2024-01-04 17:12:43 +0000 UTC
here: https://we.tl/t-4BwKXCLySp
Aitrepreneur
2023-12-27 21:54:32 +0000 UTC
Hi, can you share the mac installer again?
Jack
2023-12-27 17:18:09 +0000 UTC
if it "crashes" that's indeed usually because the antivirus is blocking the file from running further, you can also try this one: https://we.tl/t-tNIXvmrNnv
make sure you have git and python installed correctly though
Aitrepreneur
2023-12-26 15:20:08 +0000 UTC
unable to load it crashes right after it gets permission from git, both my firewall and antivirus are disabled
CG00
2023-12-26 14:19:18 +0000 UTC
here's a new link to it: https://we.tl/t-vkQfSTlXJP
I can't make a video about that since I don't have a Mac
Aitrepreneur
2023-12-15 22:13:10 +0000 UTC
The mac instal link no longer working, any chance you can do a video about how to run SDXL 1.0 on a mac book?
Ruben
2023-12-15 21:55:04 +0000 UTC
yes as I explained in my video and as the message says you have a space in one of your folder name, remove that space or install it in another folder that doesn't have any spaces
Aitrepreneur
2023-12-13 18:57:21 +0000 UTC
Thank you for your quick response. I tried the batch file and it ended with an error. I uninstalled python & other programs that were added yesterday. This is the message I received in the black window
Cloning the oobabooga text-generation-webui repository...
Cloning into 'text-generation-webui'...
iremote: Enumerating objects: 14798, done.
remote: Counting objects: 100% ( 122/122), done.
remote: Compressing objects: 100% (78/78), done.
remote: Total 14798 (delta 84), reused 61 (delta 44), pack-reused 14676
Receiving objects: 100 % (14798/14798), 25.85 MiB | 36.92 MiB/s, done.
Resolving deltas: 100% (10233/10233), done.
This script relies on Miniconda which can not be silently installed under a path with spaces.
Press any key to continue.
Bob Praetorius
2023-12-13 01:38:52 +0000 UTC
try this one then: https://we.tl/t-bbvmPTHQ5T
Aitrepreneur
2023-12-12 01:51:24 +0000 UTC
I have an older computer but powerful one. Lenovo Ideacentre A10-Y910-27ish , Intel I7-6700 CPU,@ 3.40 GH 16 gb ram ssd drive 250 gb+ 2T hard drive. . it has NViDia GEforce GTX1070, 8 GB GDDR5.I joined your discord tried installing and it keeps failing. with your script, it installs python and git the the black windows just ends and nothing else happens. Each time it fails I remove the git and python programs. and try again I tried installing all files manually and ran the last batch file but it couldn't find python directory at times other times it was something wrong with torch. I deleted my installed AI directory and all other installed programs and tried again. I tried fixing path but nothing worked. How can I get your script to run all the way through
Bob Praetorius
2023-12-12 01:47:49 +0000 UTC
it should give you a local url
Aitrepreneur
2023-12-11 17:07:59 +0000 UTC
Hey, i choose the sdxl package to instal it how do i know if everything has been instaled well what should be the alst message of the comand instalation?
Jean Lou
2023-12-11 10:17:23 +0000 UTC
looks like you are missing some windows dependency, apparently for this you need to install (or activate depending on your OS) the Media Feature Pack.
So on Windows 10 N: Select the Start button, then select Settings > Apps > Apps and Features > Optional features > Add a feature. Find the Media Feature Pack in the list of available optional features.
You can also follow this guide: https://www.minitool.com/news/media-feature-pack-not-showing.html
Aitrepreneur
2023-12-10 17:47:15 +0000 UTC
I get this error when starting the webui-user batch file: 'importerror: dll load failed while importing cv2: the specified module can't be found'
Kinex Design
2023-12-10 08:03:10 +0000 UTC
I mean do you get any errors? Are you correctly putting this model inside the models/stable diffusion folder?
Aitrepreneur
2023-12-09 22:41:14 +0000 UTC
Help~ I'm unable to load this on SDA
https://civitai.com/models/34553/aingdiffusion
it just goes back to the sd_xl_base
KHU
2023-12-09 20:35:01 +0000 UTC
I have a separate installer for Linux, and another for AMD but not for Linux & AMD, I might make one if you really need it
Aitrepreneur
2023-12-09 17:33:33 +0000 UTC
i set up a pc with linux because amd graphics do not work under windows.
will the installer work with linux?
Aris Leou
2023-12-09 10:03:42 +0000 UTC
Send me a Dm with the full error log and pc specs
Aitrepreneur
2023-12-08 21:30:26 +0000 UTC
AttributeError: 'NoneType' object has no attribute 'cond_stage_model'
Silas
2023-12-08 19:53:45 +0000 UTC
I have a specific installer for Mac: https://we.tl/t-xr2iizrKkL
but since I don't have any apple products I can't give any tech support for it but try it out
Aitrepreneur
2023-12-07 16:22:15 +0000 UTC
Does this work on a MacBook Pro M1?
Daniel Chattman
2023-12-07 10:07:00 +0000 UTC
I tried running the bat file again but the cmd closes after gatting permission to install git
Dimitris Kaouris
2023-12-06 22:05:23 +0000 UTC
Models downloaded successfully!
Running webui-user.bat...
exit code: 1
stderr:
C:\Users\USER\AppData\Local\Programs\Python\Python310\python.exe: No module named pip
Launch unsuccessful. Exiting.
Press any key to continue . . .
what do i do??
Dimitris Kaouris
2023-12-06 21:59:39 +0000 UTC
what error do you get? Also the new img to vid is only available in comfyui as of right now
Aitrepreneur
2023-11-30 22:41:20 +0000 UTC
I installed this and it worked okay until I tried image to image to make some tweaks to the originally generated image.
So txt 2 image works for me but not img 2 img.
Also, is there any way to do an auto install for the new img to vid?
Russ Ader
2023-11-30 16:20:56 +0000 UTC
you can
Aitrepreneur
2023-11-28 00:19:31 +0000 UTC
Would have love to have it installed on somewhere else than my windows main drive, as example "E:\Stable Diffusion\"
Brunovsky
2023-11-27 16:38:48 +0000 UTC
you need to put the --xformers argument inside the webui-user.bat file after the set command line args line
Aitrepreneur
2023-11-25 16:31:56 +0000 UTC
tried it and it works though it doesn't use xformers? anyway on how to install xformers after an install like this?
Master Shredders
2023-11-25 07:21:37 +0000 UTC
Send me a Dm with the issue
Aitrepreneur
2023-11-21 16:57:06 +0000 UTC
doosent work for me too
David Leyva
2023-11-21 03:30:00 +0000 UTC
Send me a Dm with the issue
Aitrepreneur
2023-11-20 17:46:17 +0000 UTC
2nd computer same not working
Michael woods
2023-11-19 23:32:38 +0000 UTC
you can try this exe file, sometimes it works better for some people:
https://bit.ly/3SM5eRR
Aitrepreneur
2023-11-17 20:46:19 +0000 UTC
not working for me too. Disabled Avast, added exception but can't install GIT. Please note that is a new PC with nothing installed. I'll go to install SD in the old fashioned ways
Andrea
2023-11-17 20:16:13 +0000 UTC
Again that's usually the antivirus blocking the file from running any further, for some antivirus you might need to add an exception to allow the file to run
Aitrepreneur
2023-11-15 15:50:49 +0000 UTC
so I'm trying to install using the script I get to install git and it closes. my firewall and antivirus are off but it crashes at installing git every time.
Donald
2023-11-15 00:09:51 +0000 UTC
yes I might do it if people ask for it
Aitrepreneur
2023-11-09 02:10:47 +0000 UTC
Hi Altrepreneur love your vids just joined your patreon ,thanks for setting up the linux installer for llama ive been trying for ages will you be adding a one click linux installer for stable diffusion too?
Mark
2023-11-09 01:45:46 +0000 UTC
No it simply install auto111 without the sdxl model for those that just want the webui
Aitrepreneur
2023-11-08 00:52:10 +0000 UTC
I take it the non sdxl is SD 1.5?
Credence
2023-11-07 23:16:58 +0000 UTC
Also had Python 3.11 installed with pip there, had to uninstall 3.11 and install pip in 3.10.
RenderComics
2023-11-04 00:29:42 +0000 UTC
Under Windows, I had to add GIT and the GIT.exe path to my Env variables
RenderComics
2023-11-04 00:14:27 +0000 UTC
I've got most of it installed I think. It didn't install al the models (maybe there was a connection failure) but I can do that manually. Running webui.bat is installing python into that folder (even though python is already installed in another folder eg. for oobabooga). I installed git manually when it wouldn't install it.
One thing I'm a bit concerned about is in AVG it shows in "network inspector" - "list of monitored networks" and one says "network | public netowrk" and another says "network 2". Has anything to do with the installation (including of git) added anything that could have created the "network 2" and should I be concerned about it security wise?
cool1
2023-11-03 13:25:33 +0000 UTC
Thanks. I'll check that other installer.
I know python is installed mostly okay as I've tried running IDLE and also have the oobabooga web ui running, which uses python. If I commented out that bit where it installs python the install of git fails. One site says it could be because of having AVG running so maybe I could see if setting something in AVG could allow it to run as I have AVG installed.
cool1
2023-11-03 12:00:28 +0000 UTC
if you are sure that python is already correctly installed on your computer and that it's added to path correctly, you can try using this installer instead: https://go.wetransfer.com/t-fIoLvifNQH
otherwise I would suggest uninstalling python completely and relaunching the installer, it will reinstall python correctly and add it to path automatically
Aitrepreneur
2023-11-03 11:56:49 +0000 UTC
when I put the sd_auto_install + SDXL.bat file into a new empty folder and go to the command prompt and run it it says (after I commented out the echo off):
...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.
then says: Failed to download Python installer.
do you know what I need to do to fix it?
Also I already have Python installed in a different folder.
cool1
2023-11-03 11:42:14 +0000 UTC
Just got a new video card on my desktop so decided to give this a try (works on my laptop). I ran the bat and it downloaded everything but stopped with trying to start SD A1111 with this error.
Running webui-user.bat...
Couldn't launch python
exit code: 9009
stderr:
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
Launch unsuccessful. Exiting.
Press any key to continue . . .
I need to add a path dir to something.. lol looking at Python docs and they written for people that use it regulary not noobs like me. Hmm says I should delete python and then reinstall making sure path box is checked.. lets try that.
Yup that did it. :D
Robert Bersch
2023-10-29 15:49:19 +0000 UTC
what's your GPU?
Aitrepreneur
2023-10-28 20:52:19 +0000 UTC
When i use this I cant turn on xformers or select GPU it chooses CPU
Phillip Gimmi
2023-10-28 18:36:30 +0000 UTC
You need to disable your antivirus and firewall, on some machines it blocks the installer
Aitrepreneur
2023-10-28 01:07:55 +0000 UTC
I took a screenshot but I cant paste it anywhere, can you assist me?
ARAXA
2023-10-28 01:04:35 +0000 UTC
how do i fix this?
ARAXA
2023-10-28 01:03:33 +0000 UTC
After downloading this it says installing GIT then the whole cmd box just closes out, Ive done this 3x
ARAXA
2023-10-28 01:02:01 +0000 UTC
make sure that you are using the amd installer and then add all these arguments in webui-user.bat file:
--medvram --precision full --no-half --no-half-vae --opt-sdp-attention --disable-nan-check --autolaunch
so it should look something like this:
set COMMANDLINE_ARGS=--medvram --precision full --no-half --no-half-vae --opt-sdp-attention --disable-nan-check --autolaunch
Aitrepreneur
2023-10-28 00:37:29 +0000 UTC
Lenovo - Yoga AIO 7 27" Touch-Screen All-In-One - AMD Ryzen 7 - 16GB Memory - AMD Radeon RX 6600M - 512GB SSD - Cloud Grey with Moon White
Lizzy brown
2023-10-27 23:18:01 +0000 UTC
what's your GPU?
Aitrepreneur
2023-10-27 23:09:27 +0000 UTC
Hi i need help. its giving a error code saying Runtime Error: Could not allocate tensor with 19660960 bytes. There is not enough GPU video memory available. i have a lot of space lefted on the computer so im lost. also for the Stable Diffusion checkpoint v1-5-pruned-emaonly.safetensors [6ce0161689] on your video you have f34 for the last degits how do i upgrade that?
Lizzy brown
2023-10-27 22:13:05 +0000 UTC
you can't really use auto1111 for amd, you need to use another repo, I have another installer for that
Aitrepreneur
2023-10-26 22:24:58 +0000 UTC
send me a screenshot in dm
Aitrepreneur
2023-10-26 22:24:08 +0000 UTC
Do you plan on making a bat file for AMD users who want to use SHARK? The 7900 XTX gains about 400% the performance, and the 6900 XT has an even larger 1100% performance increase. Auto1111 performance is just so poor, it would be greatly appreciated if you could do that!
James
2023-10-26 04:53:14 +0000 UTC
First time worked like a charm, but affter that, everytime I open webui-user.bat, it just says:
Access is denied.
Couldn't launch python
exit code: 1
Running on win11
Jorge Octavio Álvarez Gómez
2023-10-26 01:44:56 +0000 UTC
try this one: https://we.tl/t-az0yIxjCsG
Open the terminal then navigate to the folder where you put the file, then run chmod +x MAC_SD_AUTO_INSTALL.sh to make the script executable and then run ./MAC_SD_AUTO_INSTALL.sh to execute the script.
Aitrepreneur
2023-10-24 18:41:29 +0000 UTC
Does this work for Mac?
Sivark
2023-10-24 09:15:42 +0000 UTC
if you are on edge, if you click on the 3 dots you have an option to keep the file and save it on the computer
Aitrepreneur
2023-10-22 17:32:16 +0000 UTC
i am also running into the same problem. i turned off firewall for windows but i still cant seem to download it as it says " the file isnt commonly downloaded make sure you trust the file before you open it" ill resend as a comment in case it didnt show up in relpies'
AngwySquid
2023-10-22 09:06:56 +0000 UTC
Nevermind. I missed the Windows Defender Permission alerts. Gotta click yes for the installer to continue.
David Fairweather
2023-10-18 18:31:43 +0000 UTC
Mine is hanging on "Installing Python". I've disabled Windows Defender and Malwarebytes. I get as far as "installing Python . . . " with a blinking cursor. I have a very fast computer with Nvidial 3090ti. Seems like nothing is happening.
David Fairweather
2023-10-18 18:16:15 +0000 UTC
yes it should work fine
Aitrepreneur
2023-10-18 14:00:46 +0000 UTC
Thank you, worked perfectly, but I would like to move to another location on my drive, can I just move the folder?
Steve Sawford
2023-10-18 13:59:43 +0000 UTC
disable the antivirus and firewall before launching the installer (don't run as admin) they are usually blocking the file
Aitrepreneur
2023-10-17 11:19:29 +0000 UTC
it doesnt work, console shows for a second and then vanishes
Peter Rossa
2023-10-17 11:04:50 +0000 UTC
send me a dm with more info
Aitrepreneur
2023-10-16 12:34:07 +0000 UTC
yes I added the AMD installer to the post
Aitrepreneur
2023-10-16 12:33:47 +0000 UTC
Skitarii66
2023-10-16 05:07:08 +0000 UTC
is there an auto install + SDXL for AMD GPU ?
Alexandre
2023-10-15 18:35:04 +0000 UTC
thanks for that men ! time saver !! :D
Eric TUALLE
2023-10-15 07:23:56 +0000 UTC
click on the folder path, type cmd then press enter, this will rbing the command prompt window and in the command prompt window type git pull then press enter, wait for the update to download and install and you are done :)
Aitrepreneur
2023-10-11 15:52:45 +0000 UTC
how do we update SD to the latest version from your install?
CJ
2023-10-11 14:17:11 +0000 UTC
what's your GPU?
Aitrepreneur
2023-10-08 11:35:18 +0000 UTC
I feel like if I had a fresh start this would work, but I don't know where to begin. I've used both installs, and for each one I've been getting the same error code:
raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't install torch.
Command: "C:\Users\flipy\Downloads\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install torch==2.0.1 torchvision==0.15.2 --extra-index-url https://download.pytorch.org/whl/cu118
Error code: 2
Flipytrick
2023-10-08 00:57:06 +0000 UTC
What is your GPU?
Aitrepreneur
2023-10-07 14:18:48 +0000 UTC
I run the Ui and tells me that Torch can use the GPU so it ask me to Add Text somewhre But I don't know where
Otniel Ocampo
2023-10-07 03:16:46 +0000 UTC
does only downloa pyton...wich i alredy have
Runaja
2023-10-06 23:20:16 +0000 UTC
the installation was not completed correctly, you can first try this:
go inside your stable diffusion webui folder, click on the folder path then type cmd and press enter, this will bring the command prompt window and inside paste this command:
stable-diffusion-webui\venv\Scripts\python.exe -m ensurepip --upgrade
then press enter.
once this is done downloading, try relaunching the webui-user.bat file again
Aitrepreneur
2023-10-05 22:18:11 +0000 UTC
I get this error stderr:
Error: Command '['C:\\Users\\zaid3\\Downloads\\stable-diffusion-webui\\venv\\Scripts\\python.exe', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
Italian Man978
2023-10-05 20:21:08 +0000 UTC
make sure that your firewall and antivirus are off when launching the file sometimes they are blocking the file from running
Aitrepreneur
2023-10-02 05:56:19 +0000 UTC
As stated, don't run in elevated, but if you have problems, check you haven't missed a windows elevation prompt during the script, the installers need them.
Anna
2023-10-02 02:16:58 +0000 UTC
when I click the file, my command prompt opens up for a second then immediately closes? anyone else having a similiar thing happen? no error message, just nothing happening
sommiel
2023-10-02 00:22:08 +0000 UTC
I do have one yes, here: https://we.tl/t-wJDEN2NKbr
I don't have a mac so I can't guarantee it will work but try it out.
to use it : Open the terminal then navigate to the folder where you put the file, then run chmod +x MAC_SD_AUTO_INSTALL.sh to make the script executable and then run ./MAC_SD_AUTO_INSTALL.sh to execute the script.
Aitrepreneur
2023-10-01 07:17:51 +0000 UTC
send me the error log in dm
Aitrepreneur
2023-10-01 07:07:47 +0000 UTC
do you have a Mac OS version of the one click installer?
Stephen Berry
2023-10-01 02:03:01 +0000 UTC
Hi, I just installed SDXL , I rebooted my pc and now I'm unable to launch it
Not sure how to launch it but I tried to run webui.bat and webui-user.bat and both got error message Access is denied couldn't launch Python
Clint
2023-09-30 23:34:14 +0000 UTC
yes that's where you are supposed to install stable diffusion models, by default I made it so that it only installs the newest sdxl, but if you want to install more, you can go to a site called civitai and download more from there and put them in that folder
Aitrepreneur
2023-09-27 10:39:50 +0000 UTC
disable your firewall and antivirus before launching the file, also do not launch with admin rights just double click it
Aitrepreneur
2023-09-27 10:38:08 +0000 UTC
oh I just looked in the stable diffusion directory and it only has the xl safetensors and no sd 1.5
Oggie Doggie
2023-09-27 09:59:17 +0000 UTC
mine ran until it called python and then io got an error saying python is not installed. so i assume it just didnt add python to the path. so I reinstalled python but not sure what models were supposed to be installed. it installed 5 model directories and i do not see stable diffusion xl. it installed deepbooru,karlo,stable diffusion,vae, and vae-approx. so what else do i need to install to finish. do i need any extensions or other models? thanks in advanced. I was playing with Fooocus and while it was a fast simple way to get started it did not have a lot of variety
Oggie Doggie
2023-09-27 09:58:18 +0000 UTC
whenever I run it it gets to installing git then closes
Larry Erickson
2023-09-27 00:01:40 +0000 UTC
what error you get?
Aitrepreneur
2023-09-26 21:48:56 +0000 UTC
Neither link works for me .. running windows 10
Daniel LeMunyan
2023-09-26 18:39:58 +0000 UTC
this is your cpu, I'm asking for your gpu, it's the "brand", it will be either an Nvidia or AMD
Aitrepreneur
2023-09-24 15:21:20 +0000 UTC
I have 12th Gen Intel(R) Core(TM) i5-12400 2.50 GHz but unfortunetly I don't know what AMD is.
Kamil Wołczek
2023-09-24 08:39:39 +0000 UTC
what's your gpu? If you have an AMD you need another installer let me know
Aitrepreneur
2023-09-23 16:45:40 +0000 UTC
I tried but got this :RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
Press any key to continu
Kamil Wołczek
2023-09-23 12:49:29 +0000 UTC
What's the issue?
Aitrepreneur
2023-09-19 16:53:08 +0000 UTC
RenovatioEx
2023-09-19 02:54:48 +0000 UTC
this is a bug inside the webui, I have it too, the way I solve it is each time I launch the webui, I generate a random image with a random prompt 512x512 resolution, it takes a few seconds, and then I can start generating other images, try it out
Aitrepreneur
2023-09-18 16:56:53 +0000 UTC
Hello; I keep on having the following statement. Stable Diffusion was working fine before; and now I am having this error; tried what they suggest with no luck is there a way to fix this issue?
NansException: A tensor with all NaNs was produced in Unet. This could be either because there's not enough precision to represent the picture, or because your video card does not support half type. Try setting the "Upcast cross attention layer to float32" option in Settings > Stable Diffusion or using the --no-half commandline argument to fix this. Use --disable-nan-check commandline argument to disable this check.
RenovatioEx
2023-09-18 15:41:40 +0000 UTC
this means your gpu doesn't have enough vram to do the operation, try using the --xformers --medvram arguments inside the webui-user.bat file as I showed in my stable diffusion installation video
Aitrepreneur
2023-09-18 10:34:11 +0000 UTC
Dude it says "OutOfMemoryError: CUDA out of memory. Tried to allocate 20.00 MiB (GPU 0; 8.00 GiB total capacity; 1.70 GiB already allocated; 10.21 MiB free; 1.77 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF" I don't understand what its saying
Skitarii66
2023-09-18 05:17:40 +0000 UTC
It's definitely not even downloading the exe files, meaning that again either the antivirus or firewall is blocking the connection and the download
Aitrepreneur
2023-09-15 20:03:03 +0000 UTC
Hello! Excuse me I subbed to use the bat file, but at the beginning one it gets to the "installing github" it says "Error file not found". I recorded and converted to a gif format to show my error (antivirus turned off, executed as administrator) https://s11.gifyu.com/images/S4vWU.gif
ForgotttenMemory
2023-09-15 18:18:50 +0000 UTC
around 15gb and more if you want to download other models
Aitrepreneur
2023-09-15 11:01:01 +0000 UTC
Hello! How much disk space is approximately needed for me to intstall the setup?
Exmaxlura
2023-09-15 06:03:47 +0000 UTC
The only thing to delete is simply the stable diffusion webui folder it created, you can also uninstall python and git you really want to but that's not gonna save a lot of space
Aitrepreneur
2023-09-10 18:43:11 +0000 UTC
Hi! Thank you for this, but unfortunately the files were way to big for my computer. It did not finish and completely filled my C drive haaa lol. I have uninstalled the programs but I can't for the life of me find the large files that were downloaded with them to delete and make some space again. Can you please tell me what folders / files to look for to delete? Thank you!
Mary Bee
2023-09-09 21:41:50 +0000 UTC
send me the image, can't really say without seeing it first
Aitrepreneur
2023-09-09 09:53:00 +0000 UTC
Hello, a quick question. I installed SDXL with SD_AUTO_INSTALL + SDXL.bat. I followed the YouTube video precisely, but I've noticed that the output I generate is of lower quality than the YouTube video, for example, the cat in space. I've tried to use the same settings that I see in the video and the result is far from what I have in your video. Where could the problem be coming from? Thanks.
Sébastien
2023-09-09 07:08:20 +0000 UTC
im getting the error 19:30:35-823427 WARNING Torch reports CUDA not available
ai collectiveq
2023-09-08 11:35:34 +0000 UTC
that usually means your antivirus or firewall is blocking the file, disable them and try again
Aitrepreneur
2023-09-08 09:36:15 +0000 UTC
I double-clicked the auto install + SDXL file, Windows asked I wanted to allow it to run, I clicked "yes" I saw a command box pop up for a split second, then nothing. Any suggestions?
Jose Garcia
2023-09-08 02:29:58 +0000 UTC
the batch file is just to install the webui, you launch it by clicking on the webui-user.bat file
Aitrepreneur
2023-09-06 10:36:19 +0000 UTC
Do we need to run the batch file everythime to start
Marc
2023-09-06 08:37:10 +0000 UTC
it is yes, look at the command prompt see if it gives you a particular error
Aitrepreneur
2023-09-04 12:21:55 +0000 UTC
Is img2img just working atm? Cause whenever I try it gives me 'Error
Connection errored out.' notification on the top right of the web UI and then nothing happens in the command line. I should also point out I was trying to use a 2048x2048 Photo as that's what I used to use on my other install (As I decided to to a fresh install when moving to SDXL)
john
2023-09-03 22:44:27 +0000 UTC
you can try using this installer I did, but since I don't have a mac I can't promise it will work:
https://we.tl/t-Uf3BhngPMz
Open Terminal and navigate to the folder where you put the file then run:
chmod +x install_stable_diffusion_mac.sh to make the script executable and finally run
./install_stable_diffusion_mac.sh to execute the script.
Again I haven't tested it myself but try it out and let me know if that works for you
Aitrepreneur
2023-09-03 12:58:41 +0000 UTC
Any plan of doing this for MacOS?
Daniel G
2023-09-03 00:27:45 +0000 UTC
the error is normal, for the cuda out of memory this means you don't have enough vram to do the operation but in your case with 8gb of vram you should try it with the --medvram argument, again put this on the same line as the other arguments inside the
webui.user.bat file (the file you replaced) and try again
Aitrepreneur
2023-09-02 20:13:59 +0000 UTC
Thank you for this last precision Thanks to it I could finally launch SD with 'xformers' but also in theme dark.... However, there were those following lines in the cmd window, shall I do something about it?:
[notice] A new release of pip available: 22.2.2 -> 23.2.1
[notice] To update, run: D:\Automatic1111 + SDXL\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip
Launching Web UI with arguments: --xformers --theme dark --autolaunch
Loading weights [e6bb9ea85b] from D:\Automatic1111 + SDXL\stable-diffusion-webui\models\Stable-diffusion\sd_xl_base_1.0_0.9vae.safetensors
Running on local URL: http://127.0.0.1:7860
I attempted to make a generation but once again an out of memory message was displayed:
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 128.00 MiB (GPU 0; 8.00 GiB total capacity; 6.98 GiB already allocated; 0 bytes free; 7.27 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
I know we are going back in circle despite the recent solving on my 'xformers' and you can't imagine how much I appreciate your assistance but this low memory issue (despite my 8Gb of Vram) is really puzzling me and is making the new experience pointless. Any potential last tricks coming out of hat??? ;)
Patrice.R
2023-09-02 20:07:17 +0000 UTC
are you sure you've put it correctly? It says that it's launching with no arguments, you have probably either written it incorrectly or in the wrong place. It should be in the webui-user.bat file, line 6
set COMMANDLINE_ARGS=--xformers --theme dark --autolaunch
Aitrepreneur
2023-09-01 21:35:38 +0000 UTC
yes but I still receive the following message when I launch webui.bat: venv "D:\Automatic1111 + SDXL\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.7 (tags/v3.10.7:6cc6b13, Sep 5 2022, 14:08:36) [MSC v.1933 64 bit (AMD64)]
Version: v1.5.2
Commit hash: c9c8485bc1e8720aba70f029d25cba1c4abf2b5c
Launching Web UI with arguments:
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
Loading weights [e6bb9ea85b] from D:\Automatic1111 + SDXL\stable-diffusion-webui\models\Stable-diffusion\sd_xl_base_1.0_0.9vae.safetensors
Running on local URL: http://127.0.0.1:7860
Patrice.R
2023-09-01 20:11:36 +0000 UTC
this means you don't have enough memory to run the operation, are you using --xformers argument in the webui user bat file?
Aitrepreneur
2023-09-01 18:31:33 +0000 UTC
Latest error message after attempting generation was the following:
=========================================================================================
*** Error completing request
*** Arguments: ('task(fjh8kl4padhfv7o)', 'portrait of a super hero like Witchblade, red hair, gold and black outfit, intricate, elegant, ((epic fighting pose)), highly detailed, digital painting, artstation, concept art, smooth, sharp focus, illustration, art by H.R.giger, artgerm and greg rutkowski and alphonse mucha, 8 k', '((((ugly)))), (((duplicate))), ((morbid)), ((mutilated)), [out of frame], extra fingers, mutated hands, ((poorly drawn hands)), ((poorly drawn face)), (((mutation))), (((deformed))), ((ugly)), blurry, ((bad anatomy)), (((bad proportions))), ((extra limbs)), cloned face, (((disfigured))). out of frame, ugly, extra limbs, (bad anatomy), gross proportions, (malformed limbs), ((missing arms)), ((missing legs)), (((extra arms))), (((extra legs))), mutated hands, (fused fingers), (too many fingers), (((long neck)))', [], 20, 0, False, False, 1, 1, 7, -1.0, -1.0, 0, 0, 0, False, 640, 512, False, 0.7, 2, 'Latent', 0, 0, 0, 0, '', '', [], , 0, False, False, 'positive', 'comma', 0, False, False, '', 1, '', [], 0, '', [], 0, '', [], True, False, False, False, 0) {}
Traceback (most recent call last):
File "D:\Automatic1111 + SDXL\stable-diffusion-webui\modules\processing.py", line 549, in decode_latent_batch
devices.test_for_nans(sample, "vae")
File "D:\Automatic1111 + SDXL\stable-diffusion-webui\modules\devices.py", line 155, in test_for_nans
raise NansException(message)
modules.devices.NansException: A tensor with all NaNs was produced in VAE. This could be because there's not enough precision to represent the picture. Try adding --no-half-vae commandline argument to fix this. Use --disable-nan-check commandline argument to disable this check.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Automatic1111 + SDXL\stable-diffusion-webui\modules\call_queue.py", line 58, in f
res = list(func(*args, **kwargs))
File "D:\Automatic1111 + SDXL\stable-diffusion-webui\modules\call_queue.py", line 37, in f
res = func(*args, **kwargs)
File "D:\Automatic1111 + SDXL\stable-diffusion-webui\modules\txt2img.py", line 62, in txt2img
processed = processing.process_images(p)
File "D:\Automatic1111 + SDXL\stable-diffusion-webui\modules\processing.py", line 677, in process_images
res = process_images_inner(p)
File "D:\Automatic1111 + SDXL\stable-diffusion-webui\modules\processing.py", line 796, in process_images_inner
x_samples_ddim = decode_latent_batch(p.sd_model, samples_ddim, target_device=devices.cpu, check_for_nans=True)
File "D:\Automatic1111 + SDXL\stable-diffusion-webui\modules\processing.py", line 565, in decode_latent_batch
sample = decode_first_stage(model, batch[i:i + 1])[0]
File "D:\Automatic1111 + SDXL\stable-diffusion-webui\modules\processing.py", line 576, in decode_first_stage
x = model.decode_first_stage(x.to(devices.dtype_vae))
File "D:\Automatic1111 + SDXL\stable-diffusion-webui\venv\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "D:\Automatic1111 + SDXL\stable-diffusion-webui\repositories\generative-models\sgm\models\diffusion.py", line 121, in decode_first_stage
out = self.first_stage_model.decode(z)
File "D:\Automatic1111 + SDXL\stable-diffusion-webui\repositories\generative-models\sgm\models\autoencoder.py", line 315, in decode
dec = self.decoder(z, **decoder_kwargs)
File "D:\Automatic1111 + SDXL\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "D:\Automatic1111 + SDXL\stable-diffusion-webui\repositories\generative-models\sgm\modules\diffusionmodules\model.py", line 732, in forward
h = self.up[i_level].upsample(h)
File "D:\Automatic1111 + SDXL\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "D:\Automatic1111 + SDXL\stable-diffusion-webui\repositories\generative-models\sgm\modules\diffusionmodules\model.py", line 67, in forward
x = self.conv(x)
File "D:\Automatic1111 + SDXL\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "D:\Automatic1111 + SDXL\stable-diffusion-webui\extensions-builtin\Lora\networks.py", line 376, in network_Conv2d_forward
return torch.nn.Conv2d_forward_before_network(self, input)
File "D:\Automatic1111 + SDXL\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\conv.py", line 463, in forward
return self._conv_forward(input, self.weight, self.bias)
File "D:\Automatic1111 + SDXL\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\conv.py", line 459, in _conv_forward
return F.conv2d(input, weight, bias, self.stride,
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 160.00 MiB (GPU 0; 8.00 GiB total capacity; 6.92 GiB already allocated; 0 bytes free; 7.29 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
Patrice.R
2023-09-01 18:16:37 +0000 UTC
what pc specs you got?
Aitrepreneur
2023-09-01 10:56:23 +0000 UTC
what error you get?
Aitrepreneur
2023-09-01 10:55:43 +0000 UTC
have you input --xformers in the wbui-user bat file?
also even if you get this error this should not inpact the generation, just the optimization
Aitrepreneur
2023-09-01 10:55:19 +0000 UTC
Whenever i try to create an image i get the error RuntimeError: Tensor on device cuda:0 is not on the expected device meta!
Fershio
2023-08-31 20:33:46 +0000 UTC
Trying to get the Auto SDXL to work but it isn't. Any help would be nice.
Duron K Weathington
2023-08-31 17:58:10 +0000 UTC
The xformers error message is the following: Launching Web UI with arguments:
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
Loading weights [e6bb9ea85b] from D:\Automatic1111 + SDXL\stable-diffusion-webui\models\Stable-diffusion\sd_xl_base_1.0_0.9vae.safetensors
Running on local URL: http://127.0.0.1:7860
Patrice.R
2023-08-31 13:48:28 +0000 UTC
Figured it out, i had to type python -m ensurepip, to install it
Fershio
2023-08-31 06:29:39 +0000 UTC
Its saying no module named pip Launch unsuccesful
Fershio
2023-08-30 20:46:52 +0000 UTC
xformers is not working? What's the error you get? Usually a 8gb vram card should be enough with --xformers and --medvram
Aitrepreneur
2023-08-30 18:53:18 +0000 UTC
The install worked fine but when I load the webui.bat file my GPU is cranking up to 8Gb in seconds and I haven't had the chance to generate any images yet with SDXL. Obviously when I write a prompt and generate through the automatic1111 interface I have the message that I am out of memory. I tried the option of saving the command --medvram in the webusi-user.bat file but it still runs out of memories. My GPU is an Nvidia GTX 1070 with 8Gb dedicated. Lastly, xformers is not processed when loading the webui.
Patrice.R
2023-08-30 17:44:35 +0000 UTC
the stable diffusion folder should have been created in the same location where you put the 1-click installer
Aitrepreneur
2023-08-30 13:38:59 +0000 UTC
I've run the 1-click, I did not remember to right click on the location. How do I find it on my computer? I searched 'stable' 'webui' 'automatic' to no avail.
worth bennett
2023-08-30 03:17:40 +0000 UTC
that's probably an antivirus blocking the bat file from running, disable the antivirus and firewall and try again
Aitrepreneur
2023-08-29 14:50:19 +0000 UTC
I'm clicking on the bat file and it quickly opens a window then closes and nothing happens... =/
installation is not working
Gui
2023-08-29 14:37:52 +0000 UTC
it's usually a bug inside auto111, I have it too for some reason, 1 simple fix is generating a simple image 512x512 resolution with basically no arguments and then once it's done, try again.
or you can use the dev branch, that could also fix the issue
Aitrepreneur
2023-08-28 10:56:17 +0000 UTC
Also I just got this error:
modules.devices.NansException: A tensor with all NaNs was produced in Unet. This could be either because there's not enough precision to represent the picture, or because your video card does not support half type. Try setting the "Upcast cross attention layer to float32" option in Settings > Stable Diffusion or using the --no-half commandline argument to fix this. Use --disable-nan-check commandline argument to disable this check.
---
theRCB
2023-08-28 00:03:36 +0000 UTC
I saw that you have a 4090 why even have all these arguments they don't even makes sense to use in your situation:
set COMMANDLINE_ARGS=--xformers --opt-split-attention --medvram --api --no-half
don't use --opt-split-attention --medvram and --no-half, you don't need this and it will mess use your generation.
keep the --xformers --api (if you want to) --theme dark --autolaunch
lose the rest...
Aitrepreneur
2023-08-27 23:30:55 +0000 UTC
alright I'm back seems my Image generations are not at all detailed and are not even usable.
theRCB
2023-08-27 23:27:14 +0000 UTC
I should note as well that inpainting and image2image seems to be causing issues, and inpainting doesn't seem to actually be inpainting what i want, its just making blurry spots, and depending on my settings sometimes is noise, and I am using models used for inpainting so, I don't know the issue there.
And SDXL seems to just freeze my PC when trying image2image or anything else.
Again, I have to wait to try it after your install, but I should note I have installed Stable many times before so I don't know if I got any hope in it working.
theRCB
2023-08-27 23:03:23 +0000 UTC
what errors you got? Also try disabling your antivirus and firewall before running the installer
Aitrepreneur
2023-08-27 22:21:43 +0000 UTC
hey this isn't working it just closes after installing git, also I'm using your koyha 1 click install and it doesn't seem to be moving.
theRCB
2023-08-27 22:12:21 +0000 UTC
hey what's your gpu? this error usually means your don't have an nvidia gpu meaning you might need another installer
Aitrepreneur
2023-08-27 19:00:02 +0000 UTC
Hey I encountered this problem and not sure how to fix it, i uninstalled the whole thing except git and python, downloaded it without antivirus on as well, hope to hear a reply soon as i have an urgent project that i have to finish soon QwQ
Traceback (most recent call last):
File "C:\Users\User\Documents\Adobe\stable diffusion\stable-diffusion-webui\launch.py", line 39, in
main()
File "C:\Users\User\Documents\Adobe\stable diffusion\stable-diffusion-webui\launch.py", line 30, in main
prepare_environment()
File "C:\Users\User\Documents\Adobe\stable diffusion\stable-diffusion-webui\modules\launch_utils.py", line 314, in prepare_environment
raise RuntimeError(
RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
daishukiy
2023-08-27 18:02:46 +0000 UTC
what's your gpu?
Aitrepreneur
2023-08-27 15:40:23 +0000 UTC
i have issue while install stable diffusion problem is Cancel
venv "C:\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.5.2
Commit hash: c9c8485bc1e8720aba70f029d25cba1c4abf2b5c
Traceback (most recent call last):
File "C:\stable-diffusion-webui\launch.py", line 39, in
main()
File "C:\stable-diffusion-webui\launch.py", line 30, in main
prepare_environment()
File "C:\stable-diffusion-webui\modules\launch_utils.py", line 314, in prepare_environment
raise RuntimeError(
RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
Press any key to continue . . .
Deepak
2023-08-27 14:40:12 +0000 UTC
I had to rename the file, removing the special characters worked
Sherome
2023-08-26 20:15:17 +0000 UTC
probably an antivirus blocking the bat file, disable the antivirus and firewall and try again
Aitrepreneur
2023-08-26 15:15:16 +0000 UTC
Hi, I've tried downloading and installing both, I've put the bat file in to a new folder as suggested but nothing happens, I don't get any pop ups or anything, command pronpt/powershell doesn't show up or anything
Sherome
2023-08-26 14:55:47 +0000 UTC
when does that happen?
Aitrepreneur
2023-08-26 11:18:45 +0000 UTC
I have issue "this system cannot find the file specified"
John Carton
2023-08-26 02:06:34 +0000 UTC
have you put the --xformers argument inside the webui user bat file?
Aitrepreneur
2023-08-25 20:32:11 +0000 UTC
Snick3rs
2023-08-25 19:39:49 +0000 UTC
you installed the wrong version of python (you need the 3.10.6) and you probably haven't added to path, you should uninstall it then relaunching the installer, try the newest version I uploaded
Aitrepreneur
2023-08-25 10:15:05 +0000 UTC
Glad to hear that :)
Aitrepreneur
2023-08-25 09:56:07 +0000 UTC
Thanks for your answer, i tried install git and python 3.11 manually, i still have the following error :
Running webui-user.bat...
Couldn't launch python
exit code: 9009
stderr:
Launch unsuccessful. Exiting.
Snick3rs
2023-08-25 06:40:08 +0000 UTC
Thanks for your help, but it fails to download git installer... Then it saids "Couldn't launch python
exit code: 9009"
Snick3rs
2023-08-25 05:50:55 +0000 UTC
Install python manually. Then edit the bat file and remove this part -
REM Check and install Python
python --version > NUL 2>&1
if %errorlevel% NEQ 0 (
echo Downloading Python 3.10.6...
powershell -Command "& {Invoke-WebRequest -Uri 'https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe' -OutFile 'python-3.10.6-amd64.exe'}"
if %errorlevel% NEQ 0 (
echo Failed to download Python installer.
pause
exit /b
)
echo Installing Python...
start /wait python-3.10.6-amd64.exe /quiet InstallAllUsers=1 PrependPath=1
if %errorlevel% NEQ 0 (
echo Failed to install Python.
pause
exit /b
)
del python-3.10.6-amd64.exe
) else (
echo Python already installed.
)
steve c
2023-08-25 04:17:33 +0000 UTC
Same here, noticed there was a small patch earlier today so maybe something got broken. :(
Hunter Roudebush
2023-08-24 23:22:35 +0000 UTC
It starts writing the web request, gets to about 280000 then I see this:
Checking and installing necessary software...
Downloading Python 3.10.6...
Failed to download Python installer.
Press any key to continue . . .
Hunter Roudebush
2023-08-24 23:05:05 +0000 UTC
failed to download the python installer. and then it only gives the option to press any key to continue and close. I see that it added python to the folder but doesn't do anything else.
Doggoscape
2023-08-24 22:33:36 +0000 UTC
Downloaded SD_AUTO_INSTALL + SDXL.bat added it to an empty folder, then ran it and it created a python-3.10.6-amd64.exe in the folder then said failed.. Any help much appreciated!
Hunter Roudebush
2023-08-24 22:01:53 +0000 UTC
Hey, thank You for making this, worked perfectly.
Jessica Timm
2023-08-24 17:04:34 +0000 UTC
same what?
Aitrepreneur
2023-08-24 06:52:07 +0000 UTC
João Reis
2023-08-24 06:47:08 +0000 UTC
what happens exactly?
Aitrepreneur
2023-08-24 05:40:38 +0000 UTC
You should fix this. It is the reason why I joined. The process does not continue....
Waleed
2023-08-24 01:39:02 +0000 UTC
Nvm i just did it manually and it works.
But I still couldnt find out why the BAT file doesn't work
Jazz
2023-08-23 09:28:31 +0000 UTC
When i try running both BAT files, it just installs python and nothing more. What do i do?
Jazz
2023-08-23 08:58:00 +0000 UTC
It's apparently an issue for some people : https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/12590
as of right now no real fixe has been found, so I suggest deleting the entire folder and relaunching the installer again in another folder see if that works
Aitrepreneur
2023-08-23 01:10:51 +0000 UTC
Error while deserializing header: metadataincompletebuffer
anthony trisvane
2023-08-22 23:40:05 +0000 UTC
what errors?
Aitrepreneur
2023-08-22 23:38:13 +0000 UTC
doesn;t work. gives me errors when trying to generate
anthony trisvane
2023-08-22 22:53:53 +0000 UTC
I would delete the entire folder, uninstall any existing versions of python and then relaunch the installer again in a new folder somewhere else, this is probably a conflict with a previous python install
Aitrepreneur
2023-08-22 21:00:12 +0000 UTC
Any Help? Installing Python 3.10.6...
Installing Git...
The system cannot execute the specified program.
The system cannot find the file Git-2.41.0.3-64-bit.exe.
Cloning stable-diffusion-webui repository...
Cloning into 'stable-diffusion-webui'...
remote: Enumerating objects: 26446, done.
remote: Counting objects: 100% (833/833), done.
remote: Compressing objects: 100% (386/386), done.
remote: Total 26446 (delta 539), reused 687 (delta 437), pack-reused 25613
Receiving objects: 100% (26446/26446), 31.92 MiB | 3.48 MiB/s, done.
Resolving deltas: 100% (18499/18499), done.
Listing the contents of the cloned repository...
Volume in drive C is Windows
Volume Serial Number is F85E-3189
Directory of C:\Users\levis\Downloads\stable-diffusion-webui
08/22/2023 04:46 PM .
08/22/2023 04:45 PM ..
08/22/2023 04:46 PM 51 .eslintignore
08/22/2023 04:46 PM 3,288 .eslintrc.js
08/22/2023 04:46 PM 56 .git-blame-ignore-revs
08/22/2023 04:46 PM .github
08/22/2023 04:46 PM 534 .gitignore
08/22/2023 04:46 PM 122 .pylintrc
08/22/2023 04:46 PM 17,076 CHANGELOG.md
08/22/2023 04:46 PM 657 CODEOWNERS
08/22/2023 04:46 PM configs
08/22/2023 04:46 PM embeddings
08/22/2023 04:46 PM 178 environment-wsl2.yaml
08/22/2023 04:46 PM extensions
08/22/2023 04:46 PM extensions-builtin
08/22/2023 04:46 PM html
08/22/2023 04:46 PM javascript
08/22/2023 04:46 PM 1,001 launch.py
08/22/2023 04:46 PM 35,240 LICENSE.txt
08/22/2023 04:46 PM localizations
08/22/2023 04:46 PM models
08/22/2023 04:46 PM modules
08/22/2023 04:46 PM 196 package.json
08/22/2023 04:46 PM 798 pyproject.toml
08/22/2023 04:46 PM 11,588 README.md
08/22/2023 04:46 PM 52 requirements-test.txt
08/22/2023 04:46 PM 343 requirements.txt
08/22/2023 04:46 PM 541 requirements_versions.txt
08/22/2023 04:46 PM 420,577 screenshot.png
08/22/2023 04:46 PM 4,899 script.js
08/22/2023 04:46 PM scripts
08/22/2023 04:46 PM 18,754 style.css
08/22/2023 04:46 PM test
08/22/2023 04:46 PM textual_inversion_templates
08/22/2023 04:46 PM 832 webui-macos-env.sh
08/22/2023 04:46 PM 92 webui-user.bat
08/22/2023 04:46 PM 1,380 webui-user.sh
08/22/2023 04:46 PM 2,223 webui.bat
08/22/2023 04:46 PM 17,574 webui.py
08/22/2023 04:46 PM 8,174 webui.sh
25 File(s) 546,226 bytes
15 Dir(s) 395,917,869,056 bytes free
Changing directory to the cloned repository...
Downloading models...
The system cannot execute the specified program.
The system cannot execute the specified program.
Running webui-user.bat...
Creating venv in directory C:\Users\levis\Downloads\stable-diffusion-webui\venv using python "C:\Program Files\Python310\python.exe"
Unable to create venv in directory "C:\Users\levis\Downloads\stable-diffusion-webui\venv"
exit code: 1
stderr:
Error: Command '['C:\\Users\\levis\\Downloads\\stable-diffusion-webui\\venv\\Scripts\\python.exe', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
Launch unsuccessful. Exiting.
Lev Israel
2023-08-22 20:48:01 +0000 UTC
Hello,
I'm still struggling to install SD despite the 2 files haha. I run into issues getting it set up
Anto
2023-08-22 09:48:03 +0000 UTC
you can try adding this argument in the webui-user.bat file:
--no-half in addition to --xformers
Aitrepreneur
2023-08-21 17:46:03 +0000 UTC
Hi !
When i want to generate image, i have this error :
RuntimeError: "upsample_nearest2d_channels_last" not implemented for 'Half'
Does anyone know how to solve the problem?
Thanks
kam.if
2023-08-20 20:38:57 +0000 UTC
Howdy! I'm super glad to have found your content on YouTube and have found this Patreon and Discord community! Thank you for the work you're doing!
As an AMD user, it would be awesome to get some instructions on how to use this installer with non-Nvidia hardware (if that's even possible).
I'm currently receiving the following error when running the SD_AUTO_INSTALL + SDXL.bat
"RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
Press any key to continue . . ."
Hitting a key just closes the CMD prompt window. The prior file is "launch_utils.py" in the modules folder so I think that's the file I need to add the exception to.
I'm new to Python and all of this so I'm currently researching how to solve this prompt. 😅 I've not found a handy guide or comment covering this yet, so this is a suggestion for future content. 😁
Ghost
2023-08-19 19:18:32 +0000 UTC
Hey so i got to the point where the local url pops up and ive tried alt+left clicking on it like it said in your video but it doesnt work for me, how can i use it? I'm on a 65% keyboard if that matters, thx.
Dallas
2023-08-19 07:26:17 +0000 UTC
Downloaded the file and put it in an empty folder. Double clicked the batch file and it asks me to select an app to open the crdownload file. Any help?
Brent Stevens
2023-08-17 23:05:56 +0000 UTC
This is what I'm getting...
Downloading models... Running webui-user.bat... venv "C:\Users\joels\Desktop\stable-diffusion-webui\venv\Scripts\Python.exe" Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] Version: v1.5.1 Commit hash: 68f336bd994bed5442ad95bad6b6ad5564a5409a Launching Web UI with arguments: no module 'xformers'. Processing without... no module 'xformers'. Processing without... No module 'xformers'. Proceeding without it. Calculating sha256 for C:\Users\joels\Desktop\stable-diffusion-webui\models\Stable-diffusion\sd_xl_base_1.0_0.9vae.safetensors: Running on local URL: http://127.0.0.1:7860 To create a public link, set `share=True` in `launch()`. Startup time: 35.8s (launcher: 13.2s, import torch: 8.4s, import gradio: 3.3s, setup paths: 3.8s, other imports: 3.3s, setup codeformer: 0.2s, load scripts: 2.3s, create ui: 0.9s, gradio launch: 0.3s). e6bb9ea85bbf7bf6478a7c6d18b71246f22e95d41bcdd80ed40aa212c33cfeff Loading weights [e6bb9ea85b] from C:\Users\joels\Desktop\stable-diffusion-webui\models\Stable-diffusion\sd_xl_base_1.0_0.9vae.safetensors Press any key to continue . . . Terminate batch job (Y/N)? n Done! Press any key to continue . . .
I've tried to copy and paste the link into an address bar and I get an error message. Does anyone see anything here that could tell me why it's not working?
Joel Smith
2023-08-17 19:02:33 +0000 UTC
im currently having the same issue, not sure what to do, hopefully he responds soon
Dallas
2023-08-17 13:01:35 +0000 UTC
RMB to copy\paste in terminal
s0up
2023-08-17 02:11:24 +0000 UTC
I've been trying to do this for a few days now. When I get to the end I see the URL but I can't copy and paste (not even ctrl+v). I try to type the URL into an address bar (firefox) and nothing happens. I think that if I am able to copy and paste I could share more information on here. What should I do?
Joel Smith
2023-08-16 19:46:51 +0000 UTC
that means you don't have enough vram to run the operation, with 8gb of VRAM you could maybe try running the webui with the --medvram argument with --xformers
Aitrepreneur
2023-08-16 15:57:08 +0000 UTC
I'm having the following issue,(OutOfMemoryError: CUDA out of memory. Tried to allocate 160.00 MiB (GPU 0; 8.00 GiB total capacity; 6.91 GiB already allocated; 0 bytes free; 7.31 GiB reserved in total by PyTorch) The only thing is that if I'm not mistaken in the code it says that I only have 8GB of RAM, and I have 16GB of RAM. What can I do?
manno
2023-08-15 23:24:14 +0000 UTC
yes 4gb of VRAM is wayyy too low for SDXL, even 1.5 is still gonna be pretty slow. You should definitely either use a google colab doc or rent a GPU or ...of course... buy a new GPU 🥲
Aitrepreneur
2023-08-15 09:18:10 +0000 UTC
Hello please your help, I have this issue:
I have an Nvidia Grforce RTX 3050 Laptop GPU
With Dedicated GPU Memory 3.8/4.0 GB
& Shared GPU Memory 1.1 / 15.9 GB
At the moment I have this error:
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 26.00 MiB (GPU 0; 4.00 GiB total capacity; 3.30 GiB already allocated; 0 bytes free; 3.46 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
Stable diffusion model failed to load
Applying attention optimization: Doggettx... done.
Do you think my machine's specs are not enough to run the latest DSXL?
Thank you!
Ernesto Idrovo
2023-08-15 04:02:50 +0000 UTC
yes it's most probably done, the installation should not take longer than 10-15 mins for most people, you know it's finished once you have a local url
Aitrepreneur
2023-08-14 16:52:44 +0000 UTC
Si D
2023-08-14 16:46:10 +0000 UTC
everything should have been done automatically, that means you might have an older install of python that was not added to path when it was installed, you can try following this guide for that:
https://realpython.com/add-python-to-path/
Aitrepreneur
2023-08-14 10:04:09 +0000 UTC
I am also getting the same error message as Milo. In an older thread on discord someone mentioned Python being "added to your path"... but I don't know what that means or how to do it. How do I do this? Thanks.
Homer
2023-08-13 16:28:50 +0000 UTC
this means it either did not install python correctly or you had a previous installation of python that is conflicting with the new one.
go in the command prompt window and type python then press enter
if it's installed it should say something like:
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>>
if not you need to relaunch the installer, it will install it automatically
Aitrepreneur
2023-08-13 16:09:14 +0000 UTC
what could I do to solve this?
Milo De Win
2023-08-13 15:58:47 +0000 UTC
I get this error: Couldn't launch python
exit code: 9009
stderr:
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
Launch unsuccessful. Exiting.
Press any key to continue . . .
Milo De Win
2023-08-13 15:58:10 +0000 UTC
I have this error too each time I launch it, it's a bug with the webui with sdxl, what I do is that I first generate a quick image of a random word with 512x512 resolution image, and then generate new images after that and it works
Aitrepreneur
2023-08-13 15:54:26 +0000 UTC
I keep getting errors about vae (A tensor with all NaNs was produced in VAE.
Web UI will now convert VAE into 32-bit float and retry.
To disable this behavior, disable the 'Automaticlly revert VAE to 32-bit floats' setting.
To always start with 32-bit VAE, use --no-half-vae commandline flag.) when i generate
I added--no-half-vae and they generate but does that remove using the vae for SDXL? what does this command mean?
amazingghost
2023-08-13 15:47:32 +0000 UTC
yes
amazingghost
2023-08-13 15:44:52 +0000 UTC
is 16 gigs of ram and 3060 RTX good enough?
Antonio Lua
2023-08-13 14:54:12 +0000 UTC
I got it!!! I uninstalled and reinstalled and it's working now.
JaMina
2023-08-13 01:55:23 +0000 UTC
Hello I'm getting this after trying to download: Installing Python 3.10.6...
Installing Git...
Cloning stable-diffusion-webui repository...
'git' is not recognized as an internal or external command,
operable program or batch file.
Listing the contents of the cloned repository...
The system cannot find the file specified.
Changing directory to the cloned repository...
The system cannot find the path specified.
Downloading models...
Exception calling "DownloadFile" with "2" argument(s): "An exception occurred during a WebClient request."
At line:1 char:4
+ & {(New-Object System.Net.WebClient).DownloadFile('https://huggingfac ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : WebException
Exception calling "DownloadFile" with "2" argument(s): "An exception occurred during a WebClient request."
At line:1 char:4
+ & {(New-Object System.Net.WebClient).DownloadFile('https://huggingfac ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : WebException
Running webui-user.bat...
'webui-user.bat' is not recognized as an internal or external command,
operable program or batch file.
Done!
Press any key to continue . . .
JaMina
2023-08-13 01:09:11 +0000 UTC
huh weird, 12GB is definitely enough for that... this might be a memory leak bug inside the webui..? This could be a number of things like a weird extension installed that is using too much vram for no reason... it's difficult to say
I really suggest you to write your issue here just in case:
https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues
you can also try the dev branch of the repository which sometimes works better than the main branch
Aitrepreneur
2023-08-12 19:22:41 +0000 UTC
1024 x 1024 with no upscaling and only 1 image per batch
Boxertwin
2023-08-12 16:16:01 +0000 UTC
yup that means you don't have enough VRAM do to the operation, what kind of resolution are you using when generating your images? The higher the number the more VRAM you're gonna use and SDXL uses more VRAM than SD 1.5
Aitrepreneur
2023-08-12 16:12:09 +0000 UTC
OutOfMemoryError: CUDA out of memory. Tried to allocate 1024.00 MiB (GPU 0; 12.00 GiB total capacity; 8.53 GiB already allocated; 521.06 MiB free; 9.38 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
Boxertwin
2023-08-12 16:09:43 +0000 UTC
what exactly is the error you receive?
Aitrepreneur
2023-08-12 16:00:44 +0000 UTC
what kind of errors you got?
Aitrepreneur
2023-08-12 16:00:21 +0000 UTC
This is great and super easy to install. However I keep getting 'out of memory' errors after about the 3rd successful image generated and then it won't generate any more. I've got a 12gb Nvidia card so I'm guessing this is a memory management issue for me to sort out, but any of the online discussions are waaaay over my head. Any tips? (p.s. I don't have these limitations with SD1.5)
Boxertwin
2023-08-12 10:34:50 +0000 UTC
Uses the script, ran into a lot of errors, after some restarts it worked- but I only get out of memory errors even with basic setting (3080 10gb) - what am I doing wrong? Adding --xformers and --medvram to the bat didn't helped.
hanZ
2023-08-12 02:08:33 +0000 UTC
you should see a local url, you can also copy and paste the URL in the address bar
Aitrepreneur
2023-08-11 18:42:46 +0000 UTC
when you get a local url, something like http://127.0.0.1:7860/
Aitrepreneur
2023-08-11 18:41:59 +0000 UTC
Nothing happens when I click the URL as instructed in the video. Also, I don't see a folder or an .exe file. How do you know when this is installed correctly? How do I start it up?
Joel Smith
2023-08-11 12:36:17 +0000 UTC
To everyone who is experiencing issues during installation.
1. Do NOT run as an Administrator, this will install the AI Folder in System32!
2. Do right-click on the .bat file, edit. Press CTRL + A, then return. Do paste this code in:
@echo off
echo Checking and installing necessary software...
REM Check and install Python
python --version > NUL 2>&1
if %errorlevel% NEQ 0 (
echo Installing Python 3.10.6...
powershell -Command "& {Invoke-WebRequest -Uri 'https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe' -OutFile 'python-3.10.6-amd64.exe'}"
if %errorlevel% NEQ 0 (
echo Failed to download Python installer.
exit /b
)
start /wait python-3.10.6-amd64.exe /quiet InstallAllUsers=1 PrependPath=1
del python-3.10.6-amd64.exe
) else (
echo Python already installed.
)
REM Check and install Git
git --version > NUL 2>&1
if %errorlevel% NEQ 0 (
echo Installing Git...
powershell -Command "& {Invoke-WebRequest -Uri 'https://github.com/git-for-windows/git/releases/download/v2.41.0.windows.3/Git-2.41.0.3-64-bit.exe' -OutFile 'Git-2.41.0.3-64-bit.exe'}"
if %errorlevel% NEQ 0 (
echo Failed to download Git installer.
exit /b
)
start /wait Git-2.41.0.3-64-bit.exe /VERYSILENT
del Git-2.41.0.3-64-bit.exe
) else (
echo Git already installed.
)
echo Cloning stable-diffusion-webui repository...
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
if %errorlevel% NEQ 0 (
echo Failed to clone repository.
exit /b
)
echo Listing the contents of the cloned repository...
dir .\\stable-diffusion-webui\\
echo Changing directory to the cloned repository...
cd .\\stable-diffusion-webui\\
echo Downloading models...
powershell -Command "& {(New-Object System.Net.WebClient).DownloadFile('https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/resolve/main/sd_xl_refiner_1.0_0.9vae.safetensors', '.\\models\\Stable-diffusion\\sd_xl_refiner_1.0_0.9vae.safetensors')}"
if %errorlevel% NEQ 0 (
echo Failed to download models.
exit /b
)
echo Setup completed successfully!
"""
Removed redundancy by defining a base directory and using it for all subsequent paths. Organized the commands in a clear sequence for better readability. Used SET to define the base directory and the repository path, making it easier to manage and change in the future. Implemented checks to verify if Python and Git are present on the system. If not found, the script exits with an appropriate message. Added a line to launch a Python script (launch.py) after setting up the environment.
It's crucial to have error-handling mechanisms in place, especially when dealing with operations like cloning repositories. Ensuring appropriate permissions on the folders and files is vital to avoid "Access Denied" issues. This can be set manually via the folder properties or by using tools/scripts.
Always ensure that necessary Python modules (like fastapi) are installed before executing scripts that rely on them. When dealing with Git, be cautious of file systems that don't record ownership, as this can cause "dubious ownership" errors. This was addressed by setting specific directories as safe.
Resolving "Access Denied" in Windows:
- File/Folder Permissions:
- Right-click on the affected folder or drive.
- Choose "Properties" and then the "Security" tab.
- Add the necessary user and assign the required permissions.
Or / and close the current Command Prompt. Search for "Command Prompt" in the Windows search bar. Right-click and select "Run as administrator". Navigate to your folder and copy/paste
git config --global --add safe.directory D:/AI/
Replace the path with your path.
Kilian
2023-08-11 08:05:20 +0000 UTC
Thank you so much! My only question is how do I know when it is finished?
Dustin Wayde Mills
2023-08-10 17:53:03 +0000 UTC
This error is normal and will not impact the installation or usage
Aitrepreneur
2023-08-09 21:28:38 +0000 UTC
everything loaded properly, while installing I got the following, should I do it?:
[notice] A new release of pip available: 22.2.1 -> 23.2.1
[notice] To update, run: D:\2D-3D-ML\LLM\Stable Diffusion\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip
Luis Bereciartu
2023-08-09 21:26:33 +0000 UTC
i know, but the error is in the internet, something like firewall error, but i opened the firewall and it doesnt work even
Canal Resumo de Livros
2023-08-09 20:02:58 +0000 UTC
This is your local url, it's not linked to internet issue
Aitrepreneur
2023-08-09 20:01:22 +0000 UTC
http://127.0.0.1:7860/ this link dont work more too, some internet issue idk
Canal Resumo de Livros
2023-08-09 19:55:45 +0000 UTC
It's apparently a bug some people have, there is no real current way to solve it completely, one way that has worked for some people is to change the SD mode to another one, generate an image and then change it back to the SDXL one
Aitrepreneur
2023-08-09 19:45:03 +0000 UTC
when i tried generate a image, do you can help me please?
Canal Resumo de Livros
2023-08-09 19:36:11 +0000 UTC
hey what error you got?
Aitrepreneur
2023-08-09 19:04:12 +0000 UTC
I paid this to use that thing, but i have an error already reported here, someone can help me?
Canal Resumo de Livros
2023-08-09 19:00:58 +0000 UTC
To everyone who is experiencing issues during installation.
1. Do NOT run as an Administrator, this will install the AI Folder in System32!
2. Do right-click on the .bat file, edit. Press CTRL + A, then return. Do paste this code in:
Kilian
2023-08-09 06:30:12 +0000 UTC
well done k! :) you get me with your service
Glen
2023-08-08 21:29:15 +0000 UTC
Have you perhaps deleted the folder? Check the bin maybe, the whole entire folder can't just delete itself for no reason
Aitrepreneur
2023-08-08 17:52:33 +0000 UTC
I installed with the one click method and I can't find the stable-diffusion-webui folder anywhere to install other modules. I started the software up once with the http but after restarting i can't find stable diffusion anywhere and the private URL doesnt work anymore
Tyler
2023-08-08 17:32:03 +0000 UTC
looks like it's your systems RAM, your need increase pagefile size to fix your issue.
https://www.google.com/search?q=change+windows+pagefile+size
Aitrepreneur
2023-08-07 20:39:09 +0000 UTC
Some people have this error for some reason, could be a variety of reason like the firewall blocking the download or an antivirus, try either running the bat file with admin rights with firewall and antivirus disabled for a few minutes or download the models manually
Aitrepreneur
2023-08-07 20:37:11 +0000 UTC
Hi,
My specs:
Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz 3.79 GHz
16.0 GB RAM
NVIDIA GeForce GTX 1080 8GB VRAM
I've been trying to load the model but I get this :
Creating model from config: J:\AI\stable-diffusion-webui\repositories\generative-models\configs\inference\sd_xl_base.yaml
Exception in thread Thread-19 (first_time_calculation):
Traceback (most recent call last):
File "C:\Program Files\Python310\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "C:\Program Files\Python310\lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "J:\AI\stable-diffusion-webui\modules\devices.py", line 167, in first_time_calculation
linear(x)
File "J:\AI\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "J:\AI\stable-diffusion-webui\extensions-builtin\Lora\networks.py", line 361, in network_Linear_forward
return torch.nn.Linear_forward_before_network(self, input)
File "J:\AI\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\linear.py", line 114, in forward
return F.linear(input, self.weight, self.bias)
RuntimeError: CUDA error: CUBLAS_STATUS_NOT_INITIALIZED when calling `cublasCreate(handle)`
Failed to create model quickly; will retry using slow method.
loading stable diffusion model: RuntimeError
Traceback (most recent call last):
File "C:\Program Files\Python310\lib\threading.py", line 973, in _bootstrap
self._bootstrap_inner()
File "C:\Program Files\Python310\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "C:\Program Files\Python310\lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "J:\AI\stable-diffusion-webui\webui.py", line 318, in load_model
shared.sd_model # noqa: B018
File "J:\AI\stable-diffusion-webui\modules\shared.py", line 754, in sd_model
return modules.sd_models.model_data.get_sd_model()
File "J:\AI\stable-diffusion-webui\modules\sd_models.py", line 439, in get_sd_model
load_model()
File "J:\AI\stable-diffusion-webui\modules\sd_models.py", line 504, in load_model
sd_model = instantiate_from_config(sd_config.model)
File "J:\AI\stable-diffusion-webui\repositories\stable-diffusion-stability-ai\ldm\util.py", line 89, in instantiate_from_config
return get_obj_from_str(config["target"])(**config.get("params", dict()))
File "J:\AI\stable-diffusion-webui\repositories\generative-models\sgm\models\diffusion.py", line 61, in __init__
self.conditioner = instantiate_from_config(
File "J:\AI\stable-diffusion-webui\repositories\generative-models\sgm\util.py", line 175, in instantiate_from_config
return get_obj_from_str(config["target"])(**config.get("params", dict()))
File "J:\AI\stable-diffusion-webui\repositories\generative-models\sgm\modules\encoders\modules.py", line 88, in __init__
embedder = instantiate_from_config(embconfig)
File "J:\AI\stable-diffusion-webui\repositories\generative-models\sgm\util.py", line 175, in instantiate_from_config
return get_obj_from_str(config["target"])(**config.get("params", dict()))
File "J:\AI\stable-diffusion-webui\repositories\generative-models\sgm\modules\encoders\modules.py", line 428, in __init__
model, _, _ = open_clip.create_model_and_transforms(
File "J:\AI\stable-diffusion-webui\venv\lib\site-packages\open_clip\factory.py", line 308, in create_model_and_transforms
model = create_model(
File "J:\AI\stable-diffusion-webui\venv\lib\site-packages\open_clip\factory.py", line 192, in create_model
model = CLIP(**model_cfg, cast_dtype=cast_dtype)
File "J:\AI\stable-diffusion-webui\venv\lib\site-packages\open_clip\model.py", line 201, in __init__
self.visual = _build_vision_tower(embed_dim, vision_cfg, quick_gelu, cast_dtype)
File "J:\AI\stable-diffusion-webui\venv\lib\site-packages\open_clip\model.py", line 125, in _build_vision_tower
visual = VisionTransformer(
File "J:\AI\stable-diffusion-webui\venv\lib\site-packages\open_clip\transformer.py", line 375, in __init__
self.transformer = Transformer(
File "J:\AI\stable-diffusion-webui\venv\lib\site-packages\open_clip\transformer.py", line 304, in __init__
self.resblocks = nn.ModuleList([
File "J:\AI\stable-diffusion-webui\venv\lib\site-packages\open_clip\transformer.py", line 305, in
ResidualAttentionBlock(
File "J:\AI\stable-diffusion-webui\modules\sd_hijack_utils.py", line 17, in
setattr(resolved_obj, func_path[-1], lambda *args, **kwargs: self(*args, **kwargs))
File "J:\AI\stable-diffusion-webui\modules\sd_hijack_utils.py", line 26, in __call__
return self.__sub_func(self.__orig_func, *args, **kwargs)
File "J:\AI\stable-diffusion-webui\modules\sd_hijack_unet.py", line 76, in
CondFunc('open_clip.transformer.ResidualAttentionBlock.__init__', lambda orig_func, *args, **kwargs: kwargs.update({'act_layer': GELUHijack}) and False or orig_func(*args, **kwargs), lambda _, *args, **kwargs: kwargs.get('act_layer') is None or kwargs['act_layer'] == torch.nn.GELU)
File "J:\AI\stable-diffusion-webui\venv\lib\site-packages\open_clip\transformer.py", line 211, in __init__
("c_fc", nn.Linear(d_model, mlp_width)),
File "J:\AI\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\linear.py", line 96, in __init__
self.weight = Parameter(torch.empty((out_features, in_features), **factory_kwargs))
RuntimeError: [enforce fail at ..\c10\core\impl\alloc_cpu.cpp:72] data. DefaultCPUAllocator: not enough memory: you tried to allocate 54525952 bytes.
Stable diffusion model failed to load
Applying attention optimization: xformers... done.
Jonathan Pedneault
2023-08-07 16:39:06 +0000 UTC
I get this error when i run the bat file
Exception calling "DownloadFile" with "2" argument(s): "An exception occurred during a WebClient request."
At line:1 char:4
+ & {(New-Object System.Net.WebClient).DownloadFile('https://huggingfac ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : WebException
Exception calling "DownloadFile" with "2" argument(s): "An exception occurred during a WebClient request."
At line:1 char:4
+ & {(New-Object System.Net.WebClient).DownloadFile('https://huggingfac ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : WebException
Sad Weebs
2023-08-07 16:08:20 +0000 UTC
What issues?
Aitrepreneur
2023-08-07 14:03:52 +0000 UTC
error at each step we need to run it as admin still issues in the .bat file
George Miller
2023-08-07 11:39:42 +0000 UTC
What problem?
Aitrepreneur
2023-08-07 07:24:50 +0000 UTC
I having problem with it too
Justin Wong
2023-08-07 00:35:42 +0000 UTC
I have the same issue. I tried to install SDXL manually, but I have almost one issue per steps (Python, Git, pip, xformers...) and I finally gave up for now.
Gorgriz
2023-08-06 10:19:26 +0000 UTC
the bat installed git, but since it didn't refresh its context, git doesn't work. i'm trying relaunching the install bat. maybe it will be able to run git now.
Eye Bee
2023-08-05 16:27:02 +0000 UTC
Here is my issue: Exception calling "DownloadFile" with "2" argument(s): "An exception occurred during a WebClient request."
At line:1 char:4
+ & {(New-Object System.Net.WebClient).DownloadFile('https://huggingfac ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : WebException
Exception calling "DownloadFile" with "2" argument(s): "An exception occurred during a WebClient request."
At line:1 char:4
+ & {(New-Object System.Net.WebClient).DownloadFile('https://huggingfac ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : WebException
Eye Bee
2023-08-05 16:25:07 +0000 UTC
you can try uninstalling python completely and then relaunch the installer so that you have the 3.10.6 version installed instead
Aitrepreneur
2023-08-05 10:07:19 +0000 UTC
This installer is for windows only but you can try following this:
https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Installation-on-Apple-Silicon
since I don't use apple I cannot help troubleshoot any issues related to the installation unfortunately
Aitrepreneur
2023-08-05 10:03:54 +0000 UTC
This installer is for windows only but you can try following this:
https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Installation-on-Apple-Silicon
since I don't use apple I cannot help troubleshoot any issues related to the installation unfortunately
Aitrepreneur
2023-08-05 10:03:43 +0000 UTC
Hello, here is my own issue: "venv "F:\STABLE_difussion\XL\stable-diffusion-webui\venv\Scripts\Python.exe"
==============================================================================================================
INCOMPATIBLE PYTHON VERSION
This program is tested with 3.10.6 Python, but you have 3.7.8.
If you encounter an error with "RuntimeError: Couldn't install torch." message,
or any other error regarding unsuccessful package (library) installation,
please downgrade (or upgrade) to the latest version of 3.10 Python
and delete current Python and "venv" folder in WebUI's directory.
You can download 3.10 Python from here: https://www.python.org/downloads/release/python-3106/
Alternatively, use a binary release of WebUI: https://github.com/AUTOMATIC1111/stable-diffusion-webui/releases
Use --skip-python-version-check to suppress this warning.
==============================================================================================================
Python 3.7.8rc1 (tags/v3.7.8rc1:5f3933d61d, Jun 17 2020, 16:59:29) [MSC v.1916 64 bit (AMD64)]
Version: v1.5.1
Commit hash: 68f336bd994bed5442ad95bad6b6ad5564a5409a
Installing torch and torchvision
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu118
ERROR: Could not find a version that satisfies the requirement torch==2.0.1 (from versions: 1.7.0, 1.7.1, 1.8.0, 1.8.1, 1.9.0, 1.9.1, 1.10.0, 1.10.1, 1.10.2, 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1)
ERROR: No matching distribution found for torch==2.0.1
WARNING: You are using pip version 20.1.1; however, version 23.2.1 is available.
You should consider upgrading via the 'F:\STABLE_difussion\XL\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip' command.
Traceback (most recent call last):
File "launch.py", line 39, in
main()
File "launch.py", line 30, in main
prepare_environment()
File "F:\STABLE_difussion\XL\stable-diffusion-webui\modules\launch_utils.py", line 311, in prepare_environment
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True)
File "F:\STABLE_difussion\XL\stable-diffusion-webui\modules\launch_utils.py", line 113, in run
raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't install torch.
Command: "F:\STABLE_difussion\XL\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install torch==2.0.1 torchvision==0.15.2 --extra-index-url https://download.pytorch.org/whl/cu118
Error code: 1
Press any key to continue . . ." I have another installation of SD but I wanted to do a fresh install with the new XL release (and I wanted to support you, because of your great tutorials on youtube). Some specs: CPU I9 9900k, GPU RTX 3090, RAM 64 Gb, OS W11 Pro. I didn't try any of the possible solutions that the error message suggests because I wanted to ask for your advice first. Thanks in advance.
Ruiz Lihuel Alejandro
2023-08-05 01:16:12 +0000 UTC
So can the link be sed on Mac at all?
Zo__AI
2023-08-04 22:59:56 +0000 UTC
There is no application set to open the document “SD_AUTO_INSTALL + SDXL.bat”.- Neither links for me. I use MacPro
Zo__AI
2023-08-04 22:56:36 +0000 UTC
How do I use this on a mac?
Dustin Hollywood
2023-08-04 21:34:09 +0000 UTC
what error you got?
Aitrepreneur
2023-08-04 20:16:35 +0000 UTC
The 1 click install doesn't work for me.. : /
Svenpai
2023-08-04 20:07:50 +0000 UTC
GPU memory 4.0Gb
Daniel Pineda
2023-08-03 14:37:15 +0000 UTC
what is your GPU?
Aitrepreneur
2023-08-03 13:41:08 +0000 UTC
so I'm trying to run --lowvram but it still won't load. the UI launches. but i can't generate anything and it mentions this on the cmd"venv "C:\Users\danie\Desktop\stable-diffussion\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.5.1
Commit hash: 68f336bd994bed5442ad95bad6b6ad5564a5409a
Launching Web UI with arguments: --xformers --lowvram --skip-torch-cuda-test
Warning: caught exception 'Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx', memory monitor disabled
Loading weights [e6bb9ea85b] from C:\Users\danie\Desktop\stable-diffussion\stable-diffusion-webui\models\Stable-diffusion\sd_xl_base_1.0_0.9vae.safetensors
Exception in thread Thread-17 (first_time_calculation):
Traceback (most recent call last):
File "C:\Program Files\Python310\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "C:\Program Files\Python310\lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\danie\Desktop\stable-diffussion\stable-diffusion-webui\modules\devices.py", line 167, in first_time_calculation
linear(x)
File "C:\Users\danie\Desktop\stable-diffussion\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "C:\Users\danie\Desktop\stable-diffussion\stable-diffusion-webui\extensions-builtin\Lora\networks.py", line 361, in network_Linear_forward
return torch.nn.Linear_forward_before_network(self, input)
File "C:\Users\danie\Desktop\stable-diffussion\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\linear.py", line 114, in forward
return F.linear(input, self.weight, self.bias)
RuntimeError: "addmm_impl_cpu_" not implemented for 'Half'
Running on local URL: http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.
Startup time: 25.0s (launcher: 0.8s, import torch: 5.9s, import gradio: 2.1s, setup paths: 2.4s, other imports: 3.7s, setup codeformer: 0.2s, load scripts: 6.0s, initialize extra networks: 0.4s, create ui: 2.3s, gradio launch: 1.1s).
Creating model from config: C:\Users\danie\Desktop\stable-diffussion\stable-diffusion-webui\repositories\generative-models\configs\inference\sd_xl_base.yaml
Failed to create model quickly; will retry using slow method.
Loading weights [e6bb9ea85b] from C:\Users\danie\Desktop\stable-diffussion\stable-diffusion-webui\models\Stable-diffusion\sd_xl_base_1.0_0.9vae.safetensors
Press any key to continue . . ." any ideas? or next steps?
Daniel Pineda
2023-08-03 13:14:37 +0000 UTC
try reinstalling again, it's weird that there is nothing the console if no image is generates
Aitrepreneur
2023-08-03 08:37:23 +0000 UTC
yes that means your GPU is too weak to run the operation you are trying to run, use the --medvram argument as I showed in the video or the --lowvram argument if that doesn't work
Aitrepreneur
2023-08-03 08:35:15 +0000 UTC
need more info what is your system and specs?
Aitrepreneur
2023-08-03 08:34:29 +0000 UTC
need a bit more information here, try relaunching the installation again and give me the full screen of error you can send me a dm on discord
Aitrepreneur
2023-08-03 08:33:31 +0000 UTC
Hi, nothing happens when I click "generate". There is no errors.
DDinaraa
2023-08-03 07:10:57 +0000 UTC
Any idea how to address this error? torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 20.00 MiB (GPU 0; 6.00 GiB total capacity; 5.16 GiB already allocated; 0 bytes free; 5.30 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
Michael A
2023-08-03 05:59:00 +0000 UTC
Changing directory to the cloned repository...
Downloading models...
Running webui-user.bat...
exit code: 1
stderr:
Traceback (most recent call last):
File "C:\Program Files\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Program Files\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Program Files\Python310\lib\site-packages\pip\__main__.py", line 29, in
from pip._internal.cli.main import main as _main
File "C:\Program Files\Python310\lib\site-packages\pip\_internal\cli\main.py", line 9, in
from pip._internal.cli.autocompletion import autocomplete
File "C:\Program Files\Python310\lib\site-packages\pip\_internal\cli\autocompletion.py", line 10, in
from pip._internal.cli.main_parser import create_main_parser
File "C:\Program Files\Python310\lib\site-packages\pip\_internal\cli\main_parser.py", line 8, in
from pip._internal.cli import cmdoptions
File "C:\Program Files\Python310\lib\site-packages\pip\_internal\cli\cmdoptions.py", line 24, in
from pip._internal.cli.parser import ConfigOptionParser
File "C:\Program Files\Python310\lib\site-packages\pip\_internal\cli\parser.py", line 12, in
from pip._internal.configuration import Configuration, ConfigurationError
File "C:\Program Files\Python310\lib\site-packages\pip\_internal\configuration.py", line 26, in
from pip._internal.utils.logging import getLogger
File "C:\Program Files\Python310\lib\site-packages\pip\_internal\utils\logging.py", line 29, in
from pip._internal.utils.misc import ensure_dir
File "C:\Program Files\Python310\lib\site-packages\pip\_internal\utils\misc.py", line 38, in
from pip._vendor.tenacity import retry, stop_after_delay, wait_fixed
File "C:\Program Files\Python310\lib\site-packages\pip\_vendor\tenacity\__init__.py", line 514, in
from pip._vendor.tenacity._asyncio import AsyncRetrying # noqa:E402,I100
File "C:\Program Files\Python310\lib\site-packages\pip\_vendor\tenacity\_asyncio.py", line 21, in
from asyncio import sleep
File "C:\Program Files\Python310\lib\asyncio\__init__.py", line 8, in
from .base_events import *
File "C:\Program Files\Python310\lib\asyncio\base_events.py", line 48, in
from . import trsock
ValueError: source code string cannot contain null bytes
Launch unsuccessful. Exiting.
Press any key to continue . . .
Pranav c m
2023-08-02 23:40:05 +0000 UTC
I keep getting this error:
ERROR: Exception:
Traceback (most recent call last):
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\cli\base_command.py", line 160, in exc_logging_wrapper
status = run_func(*args)
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\cli\req_command.py", line 247, in wrapper
return func(self, options, args)
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\commands\install.py", line 400, in run
requirement_set = resolver.resolve(
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\resolution\resolvelib\resolver.py", line 92, in resolve
result = self._result = resolver.resolve(
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 481, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 348, in resolve
self._add_to_criteria(self.state.criteria, r, parent=None)
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 172, in _add_to_criteria
if not criterion.candidates:
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\resolvelib\structs.py", line 151, in __bool__
return bool(self._sequence)
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 155, in __bool__
return any(self)
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 143, in
return (c for c in iterator if id(c) not in self._incompatible_ids)
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\resolution\resolvelib\found_candidates.py", line 47, in _iter_built
candidate = func()
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\resolution\resolvelib\factory.py", line 206, in _make_candidate_from_link
self._link_candidate_cache[link] = LinkCandidate(
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 297, in __init__
super().__init__(
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 162, in __init__
self.dist = self._prepare()
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 231, in _prepare
dist = self._prepare_distribution()
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\resolution\resolvelib\candidates.py", line 308, in _prepare_distribution
return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\operations\prepare.py", line 491, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\operations\prepare.py", line 536, in _prepare_linked_requirement
local_file = unpack_url(
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\operations\prepare.py", line 166, in unpack_url
file = get_http_url(
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\operations\prepare.py", line 107, in get_http_url
from_path, content_type = download(link, temp_dir.path)
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\network\download.py", line 134, in __call__
resp = _http_get_download(self._session, link)
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\network\download.py", line 117, in _http_get_download
resp = session.get(target_url, headers=HEADERS, stream=True)
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\requests\sessions.py", line 600, in get
return self.request("GET", url, **kwargs)
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_internal\network\session.py", line 518, in request
return super().request(method, url, *args, **kwargs)
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\requests\sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\requests\sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\cachecontrol\adapter.py", line 48, in send
cached_response = self.controller.cached_request(request)
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\cachecontrol\controller.py", line 155, in cached_request
resp = self.serializer.loads(request, cache_data, body_file)
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\cachecontrol\serialize.py", line 95, in loads
return getattr(self, "_loads_v{}".format(ver))(request, data, body_file)
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\cachecontrol\serialize.py", line 186, in _loads_v4
cached = msgpack.loads(data, raw=False)
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\msgpack\fallback.py", line 123, in unpackb
unpacker.feed(packed)
File "C:\Users\AKZis\Desktop\stable-diffusion-webui\venv\lib\site-packages\pip\_vendor\msgpack\fallback.py", line 381, in feed
self._buffer.extend(view)
MemoryError
The last line before it gives me this error says:
Collecting torch==2.0.1
Aaron Zajicek
2023-08-02 21:34:09 +0000 UTC
It's currently a small bug that can happen in the webui, the others are trying to find a solution to this, one way is to make sure that you are not using any Lora in the prompt since it's not compatible with the refiner or to close the webui and try again
Aitrepreneur
2023-08-02 11:44:30 +0000 UTC
OK now the refiner not working...
\---
0%| | 0/3 [00:00', '', [], , None, None, None, None, None, None, 5, 0, 4, 0, 1, False, False, 1, 1, 9.5, 1.5, 0.45, 4203575147.0, -1.0, 0, 0, 0, False, 0, 768, 1344, 1, 0, 0, 32, 0, 'D:\\Dropbox\\LL\\01-Work\\01-Projects\\072 - osher ad - ai\\04_FOOTAGE\\PNG seq\\shot-01', 'D:\\Dropbox\\LL\\01-Work\\01-Projects\\072 - osher ad - ai\\04_FOOTAGE\\PNG seq\\shot-01\\01', '', [], False, [], '', , 0, '<ul>\n<li><code>CFG Scale</code> should be 2 or lower.</li>\n</ul>\n', True, True, '', '', True, 50, True, 1, 0, False, 4, 0.5, 'Linear', 'None', '<p style="margin-bottom:0.75em;">Recommended settings: Sampling Steps: 80-100, Sampler: Euler a, Denoising strength: 0.8</p>', 128, 8, ['left', 'right', 'up', 'down'], 1, 0.05, 128, 4, 0, ['left', 'right', 'up', 'down'], False, False, 'positive', 'comma', 0, False, False, '', '<p style="margin-bottom:0.75em;">Will upscale the image by the selected scale factor; use width and height sliders to set tile size</p>', 64, 0, 2, 1, '', [], 0, '', [], 0, '', [], True, False, False, False, 0) {}
Traceback (most recent call last):
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\modules\call_queue.py", line 58, in f
res = list(func(*args, **kwargs))
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\modules\call_queue.py", line 37, in f
res = func(*args, **kwargs)
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\modules\img2img.py", line 232, in img2img
processed = process_images(p)
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\modules\processing.py", line 677, in process_images
res = process_images_inner(p)
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\modules\processing.py", line 794, in process_images_inner
samples_ddim = p.sample(conditioning=p.c, unconditional_conditioning=p.uc, seeds=p.seeds, subseeds=p.subseeds, subseed_strength=p.subseed_strength, prompts=p.prompts)
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\modules\processing.py", line 1381, in sample
samples = self.sampler.sample_img2img(self, self.init_latent, x, conditioning, unconditional_conditioning, image_conditioning=self.image_conditioning)
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\modules\sd_samplers_kdiffusion.py", line 434, in sample_img2img
samples = self.launch_sampling(t_enc + 1, lambda: self.func(self.model_wrap_cfg, xi, extra_args=extra_args, disable=False, callback=self.callback_state, **extra_params_kwargs))
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\modules\sd_samplers_kdiffusion.py", line 303, in launch_sampling
return func()
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\modules\sd_samplers_kdiffusion.py", line 434, in
samples = self.launch_sampling(t_enc + 1, lambda: self.func(self.model_wrap_cfg, xi, extra_args=extra_args, disable=False, callback=self.callback_state, **extra_params_kwargs))
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\venv\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\repositories\k-diffusion\k_diffusion\sampling.py", line 145, in sample_euler_ancestral
denoised = model(x, sigmas[i] * s_in, **extra_args)
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\modules\sd_samplers_kdiffusion.py", line 183, in forward
x_out = self.inner_model(x_in, sigma_in, cond=make_condition_dict(cond_in, image_cond_in))
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\repositories\k-diffusion\k_diffusion\external.py", line 112, in forward
eps = self.get_eps(input * c_in, self.sigma_to_t(sigma), **kwargs)
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\repositories\k-diffusion\k_diffusion\external.py", line 138, in get_eps
return self.inner_model.apply_model(*args, **kwargs)
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\modules\sd_models_xl.py", line 37, in apply_model
return self.model(x, t, cond)
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\modules\sd_hijack_utils.py", line 17, in
setattr(resolved_obj, func_path[-1], lambda *args, **kwargs: self(*args, **kwargs))
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\modules\sd_hijack_utils.py", line 28, in __call__
return self.__orig_func(*args, **kwargs)
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\repositories\generative-models\sgm\modules\diffusionmodules\wrappers.py", line 28, in forward
return self.diffusion_model(
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\repositories\generative-models\sgm\modules\diffusionmodules\openaimodel.py", line 993, in forward
h = module(h, emb, context)
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\repositories\generative-models\sgm\modules\diffusionmodules\openaimodel.py", line 98, in forward
x = layer(x, emb)
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\repositories\generative-models\sgm\modules\diffusionmodules\openaimodel.py", line 317, in forward
return checkpoint(
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\repositories\generative-models\sgm\modules\diffusionmodules\util.py", line 165, in checkpoint
return CheckpointFunction.apply(func, len(inputs), *args)
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\venv\lib\site-packages\torch\autograd\function.py", line 506, in apply
return super().apply(*args, **kwargs) # type: ignore[misc]
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\repositories\generative-models\sgm\modules\diffusionmodules\util.py", line 182, in forward
output_tensors = ctx.run_function(*ctx.input_tensors)
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\repositories\generative-models\sgm\modules\diffusionmodules\openaimodel.py", line 329, in _forward
h = self.in_layers(x)
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\container.py", line 217, in forward
input = module(input)
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\venv\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\extensions-builtin\Lora\networks.py", line 374, in network_Conv2d_forward
network_apply_weights(self)
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\extensions-builtin\Lora\networks.py", line 295, in network_apply_weights
self.weight += updown
RuntimeError: The size of tensor a (384) must match the size of tensor b (320) at non-singleton dimension 1
---
shimi biton
2023-08-02 10:48:11 +0000 UTC
Wow, I would never have figured this out on my own.
Lucky to have you to help the common people.
shimi biton
2023-08-02 10:32:25 +0000 UTC
try this:
Delete tqdm and "tqdm-4.11.2.dist-info" folders from stablediffusionfolder/venv/Lib
run pip install tqdm --ignore-installed
Go to: C:\Users\USERNAME\AppData\Local\Programs\Python\Python310\Lib\site-packages
copy tqdm and tqdm-4.65.0.dist-info folders in to stablediffusionfolder/venv/Lib
Aitrepreneur
2023-08-02 09:51:06 +0000 UTC
venv "D:\ai\Vlad-oneclick\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.10 (tags/v3.10.10:aad5f6a, Feb 7 2023, 17:20:36) [MSC v.1929 64 bit (AMD64)]
Version: v1.5.1
Commit hash: 68f336bd994bed5442ad95bad6b6ad5564a5409a
Launching Web UI with arguments:
Traceback (most recent call last):
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\launch.py", line 39, in
main()
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\launch.py", line 35, in main
start()
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\modules\launch_utils.py", line 390, in start
import webui
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\webui.py", line 39, in
import pytorch_lightning # noqa: F401 # pytorch_lightning should be imported after torch, but it re-enables warnings on import so import once to disable them
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\venv\lib\site-packages\pytorch_lightning\__init__.py", line 35, in
from pytorch_lightning.callbacks import Callback # noqa: E402
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\venv\lib\site-packages\pytorch_lightning\callbacks\__init__.py", line 14, in
from pytorch_lightning.callbacks.batch_size_finder import BatchSizeFinder
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\venv\lib\site-packages\pytorch_lightning\callbacks\batch_size_finder.py", line 24, in
from pytorch_lightning.callbacks.callback import Callback
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\venv\lib\site-packages\pytorch_lightning\callbacks\callback.py", line 25, in
from pytorch_lightning.utilities.types import STEP_OUTPUT
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\venv\lib\site-packages\pytorch_lightning\utilities\types.py", line 27, in
from torchmetrics import Metric
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\venv\lib\site-packages\torchmetrics\__init__.py", line 14, in
from torchmetrics import functional # noqa: E402
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\venv\lib\site-packages\torchmetrics\functional\__init__.py", line 121, in
from torchmetrics.functional.text._deprecated import _bleu_score as bleu_score
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\venv\lib\site-packages\torchmetrics\functional\text\__init__.py", line 31, in
from torchmetrics.functional.text.bert import bert_score
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\venv\lib\site-packages\torchmetrics\functional\text\bert.py", line 25, in
from torchmetrics.functional.text.helper_embedding_metric import (
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\venv\lib\site-packages\torchmetrics\functional\text\helper_embedding_metric.py", line 27, in
from transformers import AutoModelForMaskedLM, AutoTokenizer, PreTrainedModel, PreTrainedTokenizerBase
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\venv\lib\site-packages\transformers\__init__.py", line 30, in
from . import dependency_versions_check
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\venv\lib\site-packages\transformers\dependency_versions_check.py", line 17, in
from .utils.versions import require_version, require_version_core
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\venv\lib\site-packages\transformers\utils\__init__.py", line 34, in
from .generic import (
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\venv\lib\site-packages\transformers\utils\generic.py", line 29, in
from .import_utils import is_flax_available, is_tf_available, is_torch_available, is_torch_fx_proxy
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\venv\lib\site-packages\transformers\utils\import_utils.py", line 34, in
from . import logging
File "D:\ai\Vlad-oneclick\stable-diffusion-webui\venv\lib\site-packages\transformers\utils\logging.py", line 31, in
from tqdm import auto as tqdm_lib
ImportError: cannot import name 'auto' from 'tqdm' (D:\ai\Vlad-oneclick\stable-diffusion-webui\venv\lib\site-packages\tqdm\__init__.py)
WHY? Please Help me...
shimi biton
2023-08-02 09:27:33 +0000 UTC
Is there any solution? I got these messages when installing
Joshua
2023-08-02 05:34:02 +0000 UTC
Installing Git...
Cloning stable-diffusion-webui repository...
'git' is not recognized as an internal or external command,
operable program or batch file.
Listing the contents of the cloned repository...
The system cannot find the file specified.
Changing directory to the cloned repository...
The system cannot find the path specified.
Downloading models...
Exception calling "DownloadFile" with "2" argument(s): "An exception occurred during a WebClient request."
At line:1 char:4
+ & {(New-Object System.Net.WebClient).DownloadFile('https://huggingfac ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : WebException
Exception calling "DownloadFile" with "2" argument(s): "An exception occurred during a WebClient request."
At line:1 char:4
+ & {(New-Object System.Net.WebClient).DownloadFile('https://huggingfac ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : WebException
Running webui-user.bat...
'webui-user.bat' is not recognized as an internal or external command,
operable program or batch file.
Done!
Joshua
2023-08-02 05:28:43 +0000 UTC
@echo off
echo Installing Python 3.10.6...
powershell -Command "& {Invoke-WebRequest -Uri 'https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe' -OutFile 'python-3.10.6-amd64.exe'}"
start /wait python-3.10.6-amd64.exe /quiet InstallAllUsers=1 PrependPath=1
echo Installing Git...
powershell -Command "& {Invoke-WebRequest -Uri 'https://github.com/git-for-windows/git/releases/download/v2.41.0.windows.3/Git-2.41.0.3-64-bit.exe' -OutFile 'Git-2.41.0.3-64-bit.exe'}"
start /wait Git-2.41.0.3-64-bit.exe /VERYSILENT
echo Cloning stable-diffusion-webui repository...
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
echo Listing the contents of the cloned repository...
dir .\stable-diffusion-webui\
echo Changing directory to the cloned repository...
cd .\stable-diffusion-webui\
echo Downloading models...
powershell -Command "& {(New-Object System.Net.WebClient).DownloadFile('https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/resolve/main/sd_xl_refiner_1.0_0.9vae.safetensors', '.\models\Stable-diffusion\sd_xl_refiner_1.0_0.9vae.safetensors')}"
powershell -Command "& {(New-Object System.Net.WebClient).DownloadFile('https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0_0.9vae.safetensors', '.\models\Stable-diffusion\sd_xl_base_1.0_0.9vae.safetensors')}"
echo Running webui-user.bat...
call webui-user.bat
echo Done!
pause
Eddie Flickinger
2023-08-02 00:09:30 +0000 UTC
does this work on MacOS? I'm not seeing any sort of weblink after downloading the files
Eddie Flickinger
2023-08-01 23:58:17 +0000 UTC
yes that means you don't have enough Vram to run the operation, try running the webui with the --medvram argument as I showed in my video
Aitrepreneur
2023-08-01 21:39:14 +0000 UTC
very strange error, try running the webui-user.bat file itself
Aitrepreneur
2023-08-01 21:38:33 +0000 UTC
Hi,
could you help me please: webui installed OK, but any attempt to generate image failed with following message:
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 20.00 MiB (GPU 0; 8.00 GiB total capacity; 7.13 GiB already allocated; 0 bytes free; 7.27 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
Could you please help how can I fix it?
valdas2020
2023-08-01 21:11:32 +0000 UTC
'webui-user.bat' is not recognized as an internal or external command,
operable program or batch file.
noa
2023-08-01 19:58:02 +0000 UTC
was there a fix for this
noa
2023-08-01 19:54:00 +0000 UTC
j'ai chercher, j'ai rerereregardé la vidéo, je n'y arrive po. ça télécharge une partie de la chose, vu le temps que ça prend avant d'avoir le message d'erreur.
Valentin Marcicki
2023-08-01 12:10:27 +0000 UTC
steuplait ça fait 2h j'suis dessus, j'ai lancer le. bat sd auto + sdxl, à chaque fois que j'arrive au "Downloading models BE PATIENT IT TAKES TIME..." je reçois le message d'erreur Exception calling "DownloadFile" with "2" argument(s): "An exception occurred during a WebClient request."
At line:1 char:43
+ ... .WebClient; $wc.DownloadFile('https://huggingface.co/stabilityai/stab ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : WebException
Exception calling "DownloadFile" with "2" argument(s): "An exception occurred during a WebClient request."
At line:1 char:43
+ ... .WebClient; $wc.DownloadFile('https://huggingface.co/stabilityai/stab ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : WebException
Valentin Marcicki
2023-08-01 12:09:59 +0000 UTC
Gonna need a bit more info
Aitrepreneur
2023-08-01 12:04:21 +0000 UTC
I personally really like A1111 ever since it came out in like September, it's the most versatile and complete webui to run SD models. It's not the most optimized but it's the most compatible with all the available extensions so yes for me it's worth it
Aitrepreneur
2023-08-01 12:03:43 +0000 UTC
Sent dm
Aitrepreneur
2023-08-01 12:02:30 +0000 UTC
where to add this argument i don't code can you explain it very simple please
Valentin Marcicki
2023-08-01 11:50:46 +0000 UTC
I figured it out
Give a brother a buck
2023-08-01 06:20:48 +0000 UTC
Downloading models BE PATIENT IT TAKES TIME...
Exception calling "DownloadFile" with "2" argument(s): "An exception occurred during a WebClient request."
At line:1 char:43
+ ... .WebClient; $wc.DownloadFile('https://huggingface.co/stabilityai/stab ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : WebException
Exception calling "DownloadFile" with "2" argument(s): "An exception occurred during a WebClient request."
At line:1 char:43
+ ... .WebClient; $wc.DownloadFile('https://huggingface.co/stabilityai/stab ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : WebException
Give a brother a buck
2023-08-01 06:13:01 +0000 UTC
Your autoinstall was great, except for one thing. I had to manually add the argument --autolauch i nthe bat file in order to get the webui to launch
Mike D
2023-08-01 00:02:31 +0000 UTC
31/07/2023 05:43 p. m. .
31/07/2023 05:43 p. m. ..
0 archivos 0 bytes
2 dirs 1,297,023,942,656 bytes libres
Changing directory to the cloned repository...
Downloading models BE PATIENT IT TAKES TIME...
Excepción al llamar a "DownloadFile" con los argumentos "2": "Excepción durante una solicitud WebClient."
En línea: 1 Carácter: 43
+ ... .WebClient; $wc.DownloadFile('https://huggingface.co/stabilityai/stab ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : WebException
Excepción al llamar a "DownloadFile" con los argumentos "2": "Excepción durante una solicitud WebClient."
En línea: 1 Carácter: 43
+ ... .WebClient; $wc.DownloadFile('https://huggingface.co/stabilityai/stab ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : WebException
Running webui-user.bat...
"webui-user.bat" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
Done!
Presione una tecla para continuar . . .
Sergio Floresollivier
2023-08-01 00:01:22 +0000 UTC
This is Amazing! I am currently running easy diffusion on my computer. Would it be worth it to switch to A1111? Is there a big difference? I see quite a few people online using A1111 and am considering switching, just wondering if it is worth the effort.
CGI Nerd
2023-07-31 22:58:23 +0000 UTC
hello, I'm getting error while installing your .bat file. I can send you a screenshot with message. can you please help? there is something like : unable to create venv in directory
Stas Mataitis
2023-07-31 22:12:15 +0000 UTC
;)
Aitrepreneur
2023-07-31 19:28:41 +0000 UTC
u r the best bro thx for that
Danilo Ramscheid
2023-07-31 18:38:31 +0000 UTC
Yeah I got that xD, altough lucky you your comments will be featured in today's video so I guess it was worth it? :D
Aitrepreneur
2023-07-31 15:34:27 +0000 UTC
I think I wrote what I meant here in the post above XD
Rai T00n
2023-07-31 14:38:57 +0000 UTC