Code Monkey home page Code Monkey logo

Comments (19)

Centurion-Rome avatar Centurion-Rome commented on May 28, 2024 1

I have used xformers on Windows 11 -starting webui.bat without problems.
Read readme. --xformers is moved to config tab ;)
but you don't need xformers, just use "sdp".

ps my "webui-user.bat":

@echo off
set COMMANDLINE_ARGS=--autolaunch --no-half-vae --medvram --no-download-sd-model --upgrade
call webui.bat

from automatic.

githubUser01946 avatar githubUser01946 commented on May 28, 2024 1

why are you double-clicking launch.py??? what does it say in the readme? webui.bat: If you're unsure which launcher to use, this is the one you want there is a good reason for that.

now you have tons of python libs installed in as system, user and venv and its a mess. cleaning that up is non-trivial - and cleanup is clearly needed.

easiest is to uninstall python and start from scratch and follow install procedure. and when complete, post console output here.

Maybe you should look at how you wrote the instructions instead of being rude to people who have to follow them.

Rudeness isnt the way to go.

from automatic.

vladmandic avatar vladmandic commented on May 28, 2024

xformers need to be installed to exactly match version of torch - did you try reinstalling them?

from automatic.

githubUser01946 avatar githubUser01946 commented on May 28, 2024

from automatic.

vladmandic avatar vladmandic commented on May 28, 2024

try this:

venv\Scripts\activate
pip show torch
pip uninstall xformers
pip install -U xformers --no-deps

from automatic.

githubUser01946 avatar githubUser01946 commented on May 28, 2024

from automatic.

vladmandic avatar vladmandic commented on May 28, 2024

CMD

yes.

from automatic.

githubUser01946 avatar githubUser01946 commented on May 28, 2024

from automatic.

mykeehu avatar mykeehu commented on May 28, 2024

I have xformers installed in venv, but according to the System info it is not loaded, the --xformers option is not usable. Do I need to load it separately or does it use it automatically in the background?

from automatic.

githubUser01946 avatar githubUser01946 commented on May 28, 2024
venv\Scripts\activate

When I open CMD in D:\automatic it says The system cannot findthe path specified
Also when I run the pip show torch it returns with:

D:\automatic>pip show torch WARNING: Ignoring invalid distribution -ransformers (c:\users\cpgsa\appdata\local\programs\python\python310\lib\site-packages) Name: torch Version: 1.12.1+cu113 Summary: Tensors and Dynamic neural networks in Python with strong GPU acceleration Home-page: https://pytorch.org/ Author: PyTorch Team Author-email: [email protected] License: BSD-3 Location: c:\users\githubUser01946\appdata\local\programs\python\python310\lib\site-packages Requires: typing-extensions Required-by: accelerate, basicsr, clean-fid, clip, clip-interrogator, facexlib, fairscale, gfpgan, invisible-watermark, kornia, lpips, open-clip-torch, pytorch-lightning, realesrgan, timm, torchdiffeq, torchmetrics, torchsde, torchvision, xformers

I didn't type anything incorrectly in that code block, it really says -ransformers.

from automatic.

githubUser01946 avatar githubUser01946 commented on May 28, 2024

image

from automatic.

vladmandic avatar vladmandic commented on May 28, 2024

your torch is obsolete. you need to uninstall it and have webui.bat install requirements correctly - see #107

and did you get git outputs as previously asked? that must work in order for anything to be ok.

and DO NOT copy files from a1111 blindly - you're just causing conflicts.

from automatic.

githubUser01946 avatar githubUser01946 commented on May 28, 2024

Ok so i have an update. I have moved webui-user.bat from the original automatic1111 install in the folder of yours and now it says this in cmd when I run it:

image

from automatic.

githubUser01946 avatar githubUser01946 commented on May 28, 2024

your torch is obsolete. you need to uninstall it and have webui.bat install requirements correctly - see #107

and did you get git outputs as previously asked? that must work in order for anything to be ok.

and DO NOT copy files from a1111 blindly - you're just causing conflicts.

I am currently doing what #107 states. As for the last thing, I thought I read somewhere that you stated webui-user.bat was fine to use. Obviously not. I have removed that 1 file as thats the only file from A1111 I had moved across.

What git things are you referring to?

from automatic.

githubUser01946 avatar githubUser01946 commented on May 28, 2024

Double clicked launch.py which has started py.exe that has a loads of errors but it is continuing to do things....

Said how many models were there a few more lines I didnt see then crashed out.

from automatic.

githubUser01946 avatar githubUser01946 commented on May 28, 2024

It is now loaded but the model doesnt seem to want to load.
image

from automatic.

vladmandic avatar vladmandic commented on May 28, 2024

why are you double-clicking launch.py??? what does it say in the readme?
webui.bat: If you're unsure which launcher to use, this is the one you want
there is a good reason for that.

now you have tons of python libs installed in as system, user and venv and its a mess.
cleaning that up is non-trivial - and cleanup is clearly needed.

easiest is to uninstall python and start from scratch and follow install procedure.
and when complete, post console output here.

from automatic.

vladmandic avatar vladmandic commented on May 28, 2024

@Centurion-Rome i agree with what you've said, but note that he has obsolete torch 1.12 and did several different installs with and without venv, clean install is required.

from automatic.

Centurion-Rome avatar Centurion-Rome commented on May 28, 2024

"clean install is required"
yes you are right.

from automatic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.