Closed ToniDuque closed 1 year ago
well, it says it right there in the log - you've modified webui.bat
which is NOT allowed. if you want to modify params, its covered in at least 10+ posts and in faq.
you can do git stash
to stash your local changes and allow upgrade to proceed, but your changes will be overwritten.
yes, but I only modified it to add set COMMANDLINE_ARGS= --autolaunch git pull and I made this modification after installing sdnext more than a month ago. It's now when I get this error but before I didn't get it and it updated automatically without problems. In any case, will it be solved by doing git stash? and where do I have to do git stash? in the webui.bat itself? As for autolaunch and git pull, where do I put it if I'm not supposed to modify webui.bat?
edit: I didn't have the webui-user.bat file so I created it this way:
@echo off
REM set PYTHON= REM set GIT= REM set VENV_DIR= REM set COMMANDLINE_ARGS=--opt-sdp-no-mem-attention --no-half-vae --opt-channelslast --disable-nan-check REM set COMMANDLINE_ARGS=--xformers --no-half-vae --no-half --disable-nan-check set COMMANDLINE_ARGS=--autolaunch git stash git pull call webui.bat --backend diffusers --debug
It seems that it has now been updated but as of 20 September. Is this correct?
16:30:47-175929 INFO Starting SD.Next 16:30:47-175929 INFO Python 3.10.11 on Windows 16:30:47-270352 INFO Version: app=sd.next updated=2023-09-20 hash=89ba8e3c url=https://github.com/vladmandic/automatic.git/tree/master 16:30:47-696236 INFO Platform: arch=AMD64 cpu=AMD64 Family 25 Model 80 Stepping 0, AuthenticAMD system=Windows release=Windows-10-10.0.22621-SP0 python=3.10.11 16:30:47-696236 DEBUG Setting environment tuning 16:30:47-696236 DEBUG Torch overrides: cuda=False rocm=False ipex=False diml=False openvino=False 16:30:47-696236 DEBUG Torch allowed: cuda=True rocm=True ipex=True diml=True openvino=True 16:30:47-696236 INFO nVidia CUDA toolkit detected 16:30:47-837425 DEBUG Repository update time: Wed Sep 20 14:39:56 2023 16:30:47-837425 DEBUG Previous setup time: Mon Sep 25 16:23:31 2023
that works, few comments:
git stash
was only needed once to get you out of your current state, it doesn't need to be run every time. but no harm.webui --upgrade
flag. but if you want to use git pull
, that's ok, it just doesn't automatically update all submodules, only the core.ok, thank you very much. One last question: Will there be controlnet for sdxl?
yes. its in progress. code is working, but existing extension is not compatible with it, so need to basically write front-end.
Issue Description
I've had this error for two weeks and I can't update sdnext:
error: Your local changes to the following files would be overwritten by merge: webui.bat Please commit your changes or stash them before you merge. Aborting
Version Platform Description
No response
Relevant log output
Backend
Diffusers
Model
SD-XL
Acknowledgements