Comments (7)
- Create&activate virtual environment:
cd automatic
python -m venv venv
.\venv\Scripts\activate
- Install Torch into that venv:
pip install torch torchaudio torchvision triton --force --extra-index-url https://download.pytorch.org/whl/cu118
- Exit venv:
.\venv\Scripts\deactivate
- Run UI via webui.bat. I'm using own runner instead (like start.bat):
@echo off
call git pull --recurse-submodules
set TF_CPP_MIN_LOG_LEVEL=2
set FORCE_CUDA="1"
set ATTN_PRECISION=fp16
set PYTORCH_CUDA_ALLOC_CONF=garbage_collection_threshold:0.9,max_split_size_mb:512
set CUDA_LAUNCH_BLOCKING=0
set CUDA_CACHE_DISABLE=0
set CUDA_AUTO_BOOST=1
set CUDA_DEVICE_DEFAULT_PERSISTING_L2_CACHE_PERCENTAGE_LIMIT=0
set CUDA_MODULE_LOADING="LAZY"
set GRADIO_ANALYTICS_ENABLED="False"
set SAFETENSORS_FAST_GPU=1
set COMMANDLINE_ARGS=--ckpt-dir="D:\AI\models" --vae-dir="D:\AI\vaes" --autolaunch --opt-channelslast --upcast-sampling --api --gradio-queue --theme dark --cors-allow-origins="http://127.0.0.1:7860" --update-all-extensions
call webui.bat
from automatic.
i've just re-added original webui.bat
from automatic.
The readme is missing documentation on how to install in windows.
Edit: If I understand correctly it's to just run webui.bat
? But that gives me:
venv "…\automatic\venv\Scripts\Python.exe"
Traceback (most recent call last):
File "…\automatic\launch.py", line 12, in <module>
from rich import print
ModuleNotFoundError: No module named 'rich'
Which sounds a bit like python dependencies are not installed. Am I missing an instruction step?
from automatic.
That seemed to almost do it, but get error that it's unable to find the required version:
pip install torch torchaudio torchvision triton --force --extra-index-url https://download.pytorch.org/whl/cu118
Collecting torch
Downloading torch-2.0.0-cp310-cp310-win_amd64.whl (172.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 172.3/172.3 MB 12.8 MB/s eta 0:00:00
Collecting torchaudio
Downloading torchaudio-2.0.1-cp310-cp310-win_amd64.whl (2.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 16.9 MB/s eta 0:00:00
Collecting torchvision
Downloading torchvision-0.15.1-cp310-cp310-win_amd64.whl (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 9.5 MB/s eta 0:00:00
ERROR: Could not find a version that satisfies the requirement triton (from versions: none)
ERROR: No matching distribution found for triton
If this works, should really add it to the readme.md
from automatic.
That seemed to almost do it, but get error that it's unable to find the required version:
Oh, simply remove the triton
from the pip install
line. There is no triton lib available on Windows.
from automatic.
Thank you, that got things to progress a bit!
But now encountering another error, but that's tracked here:
#100
from automatic.
@ecker00 It looks like we have to be patient a couple of days, there are multiple changes happening with the project, and many possible issues too. But it's great anyway.
from automatic.
Related Issues (20)
- [Issue]: BuildIn AnimateDiff v3 not working HOT 1
- [Issue]: dev branch: after rendering Stable Video Diffusion in Image tab, you're stuck with SVD pipeline HOT 4
- [Issue]: Upgrade scripts for python 3.12 HOT 3
- [Feature]: Styles search bar on the networks -> styles tab HOT 1
- Error HOT 1
- [Issue]: USING CPU INSTEAD OF GPU , I RUN IT THRICE SAME ISSUE , USING RX6600 HOT 3
- [Issue]: Control + ControlNet raises exception on starting generation (regression from c42fded960e188be5aab35d6754eac876e599e44) HOT 1
- [Issue]: Python 3.12 unsupported error on initial installation ? HOT 6
- [Issue]: [Issue]: Can't Generate anything (or infinitly slow) HOT 1
- [Issue]: PAG failure while Face Restore enabled HOT 1
- [Issue] Stable Video Diffusion not working
- [Issue]: webui --upgrade turns dev into master HOT 1
- [Issue] Errors with RealESRGAN 4x+ Anime6B on OpenVINO backend HOT 2
- [Feature]: SD Forge Attention Couple better alternative to regional prompter with gui HOT 6
- [Issue]: Modern UI bug - All Icons not showing up HOT 1
- [Issue] Instant ID cuda Cannot copy out of meta tensor HOT 2
- [Feature] sd-forge-layerdiffuse
- [Issue]: dev: "Same as primary" for Secondary Sampler in new UI is not working -> "NullType" error HOT 1
- [Issue]: dev/new ui: sampler options not recognized for UI / Set new defaults, so the toggle states get lost HOT 1
- [Issue]: dev: timestamp AYS SD15 prefills Timesteps override, which must be empty for this selection HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from automatic.